diff options
author | chriseth <chris@ethereum.org> | 2018-08-08 01:12:27 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-08 04:04:59 +0800 |
commit | 43d6a9d76397c9e0088eb0d734845e61ad813af0 (patch) | |
tree | a084e3abcf8296073cdba5243bd1c929babeef13 | |
parent | d7756322c07634fa2ca0649a33585fc167079786 (diff) | |
download | dexon-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.cpp | 3 |
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) |