diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-27 17:21:24 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-27 17:21:24 +0800 |
commit | dcb61352f6cadac4f036fa39927729781db303c5 (patch) | |
tree | 754c1467b235c8d0227314e8bdc41d59fba457db /libsolidity/analysis/TypeChecker.cpp | |
parent | 6db13311dd6d9e9ebb10f6f5b34c5b326f69b390 (diff) | |
download | dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.tar dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.tar.gz dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.tar.bz2 dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.tar.lz dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.tar.xz dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.tar.zst dexon-solidity-dcb61352f6cadac4f036fa39927729781db303c5.zip |
Report correct location for inferred types in packed encoding
Diffstat (limited to 'libsolidity/analysis/TypeChecker.cpp')
-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 4b2ec8d6..66ece478 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 " + |