From 43d6a9d76397c9e0088eb0d734845e61ad813af0 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 7 Aug 2018 19:12:27 +0200 Subject: [PATCH] Do not stop after the first error in reference resolution. --- libsolidity/analysis/NameAndTypeResolver.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libsolidity/analysis/NameAndTypeResolver.cpp b/libsolidity/analysis/NameAndTypeResolver.cpp index c5ed079d7..c5c429ce1 100644 --- a/libsolidity/analysis/NameAndTypeResolver.cpp +++ b/libsolidity/analysis/NameAndTypeResolver.cpp @@ -295,10 +295,7 @@ bool NameAndTypeResolver::resolveNamesAndTypesInternal(ASTNode& _node, bool _res { setScope(contract); if (!resolveNamesAndTypes(*node, false)) - { success = false; - break; - } } if (!success)