diff options
author | LianaHus <liana@ethdev.com> | 2015-11-04 18:49:26 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-11-07 01:45:06 +0800 |
commit | ff421a9d653bfe6afdf290b56f36e0818d69a543 (patch) | |
tree | db809fc0409c1a016cca2582ae4d3ce3654d4fc9 /libsolidity/analysis/ReferencesResolver.h | |
parent | 02d060ea5cc72ff9e9c4b5384073cc4103209cdb (diff) | |
download | dexon-solidity-ff421a9d653bfe6afdf290b56f36e0818d69a543.tar.gz dexon-solidity-ff421a9d653bfe6afdf290b56f36e0818d69a543.tar.zst dexon-solidity-ff421a9d653bfe6afdf290b56f36e0818d69a543.zip |
passed SourceLocations instead of nodes to the error reporting function
Diffstat (limited to 'libsolidity/analysis/ReferencesResolver.h')
-rw-r--r-- | libsolidity/analysis/ReferencesResolver.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |