Merge pull request #4745 from ethereum/nameResolverNoEarlyExit

Do not stop after the first error in reference resolution.
This commit is contained in:
chriseth 2018-08-08 12:49:46 +02:00 committed by GitHub
commit fd12c718f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,10 +295,7 @@ bool NameAndTypeResolver::resolveNamesAndTypesInternal(ASTNode& _node, bool _res
{
setScope(contract);
if (!resolveNamesAndTypes(*node, false))
{
success = false;
break;
}
}
if (!success)