aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-08 01:12:27 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-08-08 04:04:59 +0800
commit43d6a9d76397c9e0088eb0d734845e61ad813af0 (patch)
treea084e3abcf8296073cdba5243bd1c929babeef13
parentd7756322c07634fa2ca0649a33585fc167079786 (diff)
downloaddexon-solidity-43d6a9d76397c9e0088eb0d734845e61ad813af0.tar.gz
dexon-solidity-43d6a9d76397c9e0088eb0d734845e61ad813af0.tar.zst
dexon-solidity-43d6a9d76397c9e0088eb0d734845e61ad813af0.zip
Do not stop after the first error in reference resolution.
-rw-r--r--libsolidity/analysis/NameAndTypeResolver.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libsolidity/analysis/NameAndTypeResolver.cpp b/libsolidity/analysis/NameAndTypeResolver.cpp
index c5ed079d..c5c429ce 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)