diff options
author | chriseth <chris@ethereum.org> | 2017-09-27 18:13:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 18:13:01 +0800 |
commit | 9c62647f19541f875590ff61bca9042e1139f9da (patch) | |
tree | 16fa77fb3b3de8baa6f8a1cc52bc5bdd294775dd /libsolidity | |
parent | 445e20a35be03878d2e74bc526526607bc65794a (diff) | |
parent | dcb61352f6cadac4f036fa39927729781db303c5 (diff) | |
download | dexon-solidity-9c62647f19541f875590ff61bca9042e1139f9da.tar.gz dexon-solidity-9c62647f19541f875590ff61bca9042e1139f9da.tar.zst dexon-solidity-9c62647f19541f875590ff61bca9042e1139f9da.zip |
Merge pull request #2978 from ethereum/infer-location
Report correct location for inferred types in packed encoding
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 21d3dda6..43930125 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1497,7 +1497,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall) /* If no mobile type is available an error will be raised elsewhere. */ if (literal->mobileType()) m_errorReporter.warning( - _functionCall.location(), + arguments[i]->location(), "The type of \"" + argType->toString() + "\" was inferred as " + |