We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36aa865 commit cf8ed7cCopy full SHA for cf8ed7c
test/libsolidity/SemanticTest.cpp
@@ -113,6 +113,10 @@ SemanticTest::SemanticTest(
113
eofEnabled ? toString(CompileViaYul::True) : toString(CompileViaYul::Also)
114
);
115
116
+ std::string bytecodeFormatString = m_reader.stringSetting("bytecodeFormat", "unset");
117
+ if (bytecodeFormatString == ">=EOFv1" && compileViaYul == CompileViaYul::False)
118
+ BOOST_THROW_EXCEPTION(std::runtime_error("Compilation to EOF requires using Yul IR"));
119
+
120
if (compileViaYul == CompileViaYul::False && eofEnabled)
121
m_shouldRun = false;
122
0 commit comments