aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-08 18:49:46 +0800
committerGitHub <noreply@github.com>2018-08-08 18:49:46 +0800
commitfd12c718f6fdbac2dbee77738a6ee193b613c84a (patch)
tree008ac549f6c9325d121d10c2898e4f41e0de73ee /libsolidity
parent3b2bd2c1df5ae7cfa51371399f842cc04fdf32ae (diff)
parent43d6a9d76397c9e0088eb0d734845e61ad813af0 (diff)
downloaddexon-solidity-fd12c718f6fdbac2dbee77738a6ee193b613c84a.tar.gz
dexon-solidity-fd12c718f6fdbac2dbee77738a6ee193b613c84a.tar.zst
dexon-solidity-fd12c718f6fdbac2dbee77738a6ee193b613c84a.zip
Merge pull request #4745 from ethereum/nameResolverNoEarlyExit
Do not stop after the first error in reference resolution.
Diffstat (limited to 'libsolidity')
-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)