From ff421a9d653bfe6afdf290b56f36e0818d69a543 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Wed, 4 Nov 2015 11:49:26 +0100 Subject: passed SourceLocations instead of nodes to the error reporting function --- libsolidity/analysis/ReferencesResolver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsolidity/analysis/ReferencesResolver.h') diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h index 13d5a47a..8d03dae1 100644 --- a/libsolidity/analysis/ReferencesResolver.h +++ b/libsolidity/analysis/ReferencesResolver.h @@ -60,7 +60,7 @@ public: bool resolve(ASTNode& _root) { _root.accept(*this); - return m_errors.empty(); + return true;//m_errors.empty(); } private: @@ -73,7 +73,7 @@ private: TypePointer typeFor(TypeName const& _typeName); /// Adds a new error to the list of errors. - void typeError(std::string const& _description); + void typeError(std::string const& _description, SourceLocation const& _location); /// Adds a new error to the list of errors and throws to abort type checking. void fatalTypeError(std::string const& _description); -- cgit v1.2.3