mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed test framework
This commit is contained in:
@@ -59,7 +59,14 @@ public:
|
||||
/// @returns true if no errors during resolving
|
||||
bool resolve(ASTNode& _root)
|
||||
{
|
||||
_root.accept(*this);
|
||||
try
|
||||
{
|
||||
_root.accept(*this);
|
||||
}
|
||||
catch (FatalError const& e)
|
||||
{
|
||||
solAssert(m_errorOccurred, "");
|
||||
}
|
||||
return !m_errorOccurred;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user