mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6088 from ethereum/yulrun-evmversion-fix
Fix wrong EVMVersion namespace in yulrun
This commit is contained in:
commit
33199458af
@ -63,7 +63,7 @@ void printErrors(ErrorList const& _errors)
|
|||||||
|
|
||||||
pair<shared_ptr<Block>, shared_ptr<AsmAnalysisInfo>> parse(string const& _source)
|
pair<shared_ptr<Block>, shared_ptr<AsmAnalysisInfo>> parse(string const& _source)
|
||||||
{
|
{
|
||||||
AssemblyStack stack(dev::solidity::EVMVersion(), AssemblyStack::Language::StrictAssembly);
|
AssemblyStack stack(langutil::EVMVersion(), AssemblyStack::Language::StrictAssembly);
|
||||||
if (stack.parseAndAnalyze("--INPUT--", _source))
|
if (stack.parseAndAnalyze("--INPUT--", _source))
|
||||||
{
|
{
|
||||||
yulAssert(stack.errors().empty(), "Parsed successfully but had errors.");
|
yulAssert(stack.errors().empty(), "Parsed successfully but had errors.");
|
||||||
|
Loading…
Reference in New Issue
Block a user