mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2978 from ethereum/infer-location
Report correct location for inferred types in packed encoding
This commit is contained in:
commit
9c62647f19
@ -1497,7 +1497,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall)
|
|||||||
/* If no mobile type is available an error will be raised elsewhere. */
|
/* If no mobile type is available an error will be raised elsewhere. */
|
||||||
if (literal->mobileType())
|
if (literal->mobileType())
|
||||||
m_errorReporter.warning(
|
m_errorReporter.warning(
|
||||||
_functionCall.location(),
|
arguments[i]->location(),
|
||||||
"The type of \"" +
|
"The type of \"" +
|
||||||
argType->toString() +
|
argType->toString() +
|
||||||
"\" was inferred as " +
|
"\" was inferred as " +
|
||||||
|
Loading…
Reference in New Issue
Block a user