diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-23 21:10:28 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-06 22:59:27 +0800 |
commit | 0f572159ec42a5d073985b4646916050bf646f2b (patch) | |
tree | 31bd6a71bccdca958e169128e91d5d73dc72e081 /libsolidity | |
parent | 59b35fa5b21c444bce5d28b2388ef8b4f7bae929 (diff) | |
download | dexon-solidity-0f572159ec42a5d073985b4646916050bf646f2b.tar.gz dexon-solidity-0f572159ec42a5d073985b4646916050bf646f2b.tar.zst dexon-solidity-0f572159ec42a5d073985b4646916050bf646f2b.zip |
Show named argument name in error
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 60cde33c..521e8bd9 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1918,7 +1918,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall) if (!found) m_errorReporter.typeError( _functionCall.location(), - "Named argument does not match function declaration." + "Named argument \"" + *argumentNames[i] + "\" does not match function declaration." ); } } |