aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ReferencesResolver.h
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-11-04 18:49:26 +0800
committerLianaHus <liana@ethdev.com>2015-11-07 01:45:06 +0800
commitff421a9d653bfe6afdf290b56f36e0818d69a543 (patch)
treedb809fc0409c1a016cca2582ae4d3ce3654d4fc9 /libsolidity/analysis/ReferencesResolver.h
parent02d060ea5cc72ff9e9c4b5384073cc4103209cdb (diff)
downloaddexon-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.h4
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);