mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fail if parsing failed in AnalysisFramework
Otherwise Compilerstack::analyze will throw an exception.
This commit is contained in:
parent
c2ec6d71b4
commit
ba15bc0a23
@ -52,7 +52,7 @@ AnalysisFramework::parseAnalyseAndReturnError(
|
||||
m_compiler.setEVMVersion(dev::test::Options::get().evmVersion());
|
||||
if (!m_compiler.parse())
|
||||
{
|
||||
BOOST_ERROR("Parsing contract failed in analysis test suite:" + formatErrors());
|
||||
BOOST_FAIL("Parsing contract failed in analysis test suite:" + formatErrors());
|
||||
}
|
||||
|
||||
m_compiler.analyze();
|
||||
|
Loading…
Reference in New Issue
Block a user