aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ReferencesResolver.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-02-16 19:36:43 +0800
committerchriseth <c@ethdev.com>2017-02-16 21:57:00 +0800
commitc3c3cccbec058f7f220994da7d272ce41d49d3e8 (patch)
tree70dae0e10851730c9cb1c447d69c6df82d99be4a /libsolidity/analysis/ReferencesResolver.cpp
parente629cf5bc3dc093a302b461273d89c8dd5999cb6 (diff)
downloaddexon-solidity-c3c3cccbec058f7f220994da7d272ce41d49d3e8.tar.gz
dexon-solidity-c3c3cccbec058f7f220994da7d272ce41d49d3e8.tar.zst
dexon-solidity-c3c3cccbec058f7f220994da7d272ce41d49d3e8.zip
Fix early exist for fatal errors.
Diffstat (limited to 'libsolidity/analysis/ReferencesResolver.cpp')
-rw-r--r--libsolidity/analysis/ReferencesResolver.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp
index c06181d8..37bcb2d9 100644
--- a/libsolidity/analysis/ReferencesResolver.cpp
+++ b/libsolidity/analysis/ReferencesResolver.cpp
@@ -35,14 +35,7 @@ using namespace dev::solidity;
bool ReferencesResolver::resolve(ASTNode const& _root)
{
- try
- {
- _root.accept(*this);
- }
- catch (FatalError const&)
- {
- solAssert(m_errorOccurred, "");
- }
+ _root.accept(*this);
return !m_errorOccurred;
}