fixed return valu for resolver

This commit is contained in:
LianaHus committed 2015-11-06 18:45:06 +01:00
1 parent 3f726825fb
commit 79177de80b
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -140,13 +140,13 @@ bool NameAndTypeResolver::resolveNamesAndTypes(ContractDefinition& _contract)
if (!resolver.resolve(*function))
success = false;
}
// if (!result)
// return false;
if (!success)
return false;
}
catch (FatalError const& _e)
{
// if (m_errors.empty())
// throw; // Something is weird here, rather throw again.
if (m_errors.empty())
throw; // Something is weird here, rather throw again.
return false;
}
return true;