mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Report correct location for inferred types in packed encoding
This commit is contained in:
parent
6db13311dd
commit
dcb61352f6
@ -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 " +
|
||||
|
Loading…
Reference in New Issue
Block a user