Report correct location for inferred types in packed encoding

This commit is contained in:
Alex Beregszaszi 2017-09-27 10:21:24 +01:00
parent 6db13311dd
commit dcb61352f6

View File

@ -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 " +