Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/tools/yulrun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ std::pair<std::shared_ptr<AST const>, std::shared_ptr<AsmAnalysisInfo>> parse(st
solidity::frontend::OptimiserSettings::none(),
DebugInfoSelection::Default()
);
auto const* evmDialect = dynamic_cast<EVMDialect const*>(&stack.dialect());
// TODO: Add EOF support
solUnimplementedAssert(evmDialect && !evmDialect->eofVersion(), "No EOF support for yulrun yet.");
if (stack.parseAndAnalyze("--INPUT--", _source))
{
auto const* evmDialect = dynamic_cast<EVMDialect const*>(&stack.dialect());
// TODO: Add EOF support
solUnimplementedAssert(evmDialect && !evmDialect->eofVersion(), "No EOF support for yulrun yet.");
yulAssert(!Error::hasErrorsWarningsOrInfos(stack.errors()), "Parsed successfully but had errors.");
return make_pair(stack.parserResult()->code(), stack.parserResult()->analysisInfo);
}
Expand Down