mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix the using directive implicit conversion error message.
This commit is contained in:
@@ -3910,7 +3910,7 @@ void TypeChecker::endVisit(UsingForDirective const& _usingFor)
|
||||
3100_error,
|
||||
path->location(),
|
||||
"The function \"" + joinHumanReadable(path->path(), ".") + "\" "+
|
||||
"cannot be bound to the type \"" + _usingFor.typeName()->annotation().type->humanReadableName() +
|
||||
"cannot be bound to the type \"" + _usingFor.typeName()->annotation().type->canonicalName() +
|
||||
"\" because the type cannot be implicitly converted to the first argument" +
|
||||
" of the function (\"" + functionType->selfType()->humanReadableName() + "\")" +
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user