From 8ab8d5b1b0e2f15213cefb9035dc2261b7cda4d8 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 2 Jun 2020 19:55:33 +0200 Subject: [PATCH] Do not try compiling via yul if explicitly forbidden. --- test/libsolidity/SemanticTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/libsolidity/SemanticTest.cpp b/test/libsolidity/SemanticTest.cpp index 33d40c899..39744fa59 100644 --- a/test/libsolidity/SemanticTest.cpp +++ b/test/libsolidity/SemanticTest.cpp @@ -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 + "."));