diff options
Diffstat (limited to 'libsolidity/analysis/ReferencesResolver.h')
-rw-r--r-- | libsolidity/analysis/ReferencesResolver.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h index bde4bbc5..21cb1d35 100644 --- a/libsolidity/analysis/ReferencesResolver.h +++ b/libsolidity/analysis/ReferencesResolver.h @@ -57,18 +57,7 @@ public: {} /// @returns true if no errors during resolving - bool resolve(ASTNode& _root) - { - try - { - _root.accept(*this); - } - catch (FatalError const& e) - { - solAssert(m_errorOccurred, ""); - } - return !m_errorOccurred; - } + bool resolve(ASTNode& _root); private: virtual bool visit(Block const&) override { return m_resolveInsideCode; } |