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.
SyntaxTest
1 parent 96c8f38 commit c5db7bdCopy full SHA for c5db7bd
test/libsolidity/SyntaxTest.cpp
@@ -48,7 +48,9 @@ SyntaxTest::SyntaxTest(
48
{
49
static std::set<std::string> const compileViaYulAllowedValues{"true", "false"};
50
51
- m_compileViaYul = m_reader.stringSetting("compileViaYul", "false");
+ auto const eofEnabled = solidity::test::CommonOptions::get().eofVersion().has_value();
52
+
53
+ m_compileViaYul = m_reader.stringSetting("compileViaYul", eofEnabled ? "true" : "false");
54
if (!util::contains(compileViaYulAllowedValues, m_compileViaYul))
55
BOOST_THROW_EXCEPTION(std::runtime_error("Invalid compileViaYul value: " + m_compileViaYul + "."));
56
m_optimiseYul = m_reader.boolSetting("optimize-yul", true);
0 commit comments