diff options
author | chriseth <c@ethdev.com> | 2017-02-16 19:36:43 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-02-16 21:57:00 +0800 |
commit | c3c3cccbec058f7f220994da7d272ce41d49d3e8 (patch) | |
tree | 70dae0e10851730c9cb1c447d69c6df82d99be4a /libsolidity/analysis/ReferencesResolver.cpp | |
parent | e629cf5bc3dc093a302b461273d89c8dd5999cb6 (diff) | |
download | dexon-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.cpp | 9 |
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; } |