mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Show named argument name in error
This commit is contained in:
@@ -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."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user