Do not try compiling via yul if explicitly forbidden.

This commit is contained in:
chriseth 2020-06-02 19:55:33 +02:00
parent 17e2040997
commit 8ab8d5b1b0

View File

@ -62,6 +62,8 @@ SemanticTest::SemanticTest(string const& _filename, langutil::EVMVersion _evmVer
{
m_runWithYul = false;
m_runWithoutYul = true;
// Do not try to run via yul if explicitly denied.
m_enforceViaYul = false;
}
else
BOOST_THROW_EXCEPTION(runtime_error("Invalid compileViaYul value: " + choice + "."));