aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/ReferencesResolver.h
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-11-04 19:30:58 +0800
committerLianaHus <liana@ethdev.com>2015-11-07 01:45:06 +0800
commit3f726825fbb943f4e3a6390fd2cafc11eb127beb (patch)
treead93b246c003efe01b7ee7a614242b7c7a4a7541 /libsolidity/analysis/ReferencesResolver.h
parentff421a9d653bfe6afdf290b56f36e0818d69a543 (diff)
downloaddexon-solidity-3f726825fbb943f4e3a6390fd2cafc11eb127beb.tar.gz
dexon-solidity-3f726825fbb943f4e3a6390fd2cafc11eb127beb.tar.zst
dexon-solidity-3f726825fbb943f4e3a6390fd2cafc11eb127beb.zip
added SourceLocations to error reporting for ReferenceResolver
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 8d03dae1..54b34a36 100644
--- a/libsolidity/analysis/ReferencesResolver.h
+++ b/libsolidity/analysis/ReferencesResolver.h
@@ -73,10 +73,10 @@ private:
TypePointer typeFor(TypeName const& _typeName);
/// Adds a new error to the list of errors.
- void typeError(std::string const& _description, SourceLocation const& _location);
+ void typeError(SourceLocation const& _location, std::string const& _description);
/// Adds a new error to the list of errors and throws to abort type checking.
- void fatalTypeError(std::string const& _description);
+ void fatalTypeError(SourceLocation const& _location, std::string const& _description);
ErrorList& m_errors;
NameAndTypeResolver& m_resolver;