Do not stop after the first error in reference resolution.

This commit is contained in:
chriseth 2018-08-07 19:12:27 +02:00 committed by Daniel Kirchner
parent d7756322c0
commit 43d6a9d763

View File

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