Provide nicer error message when referencing overloaded references

This commit is contained in:
Alex Beregszaszi
2018-08-08 15:59:24 +01:00
parent 863778fe36
commit 3c791d637d
3 changed files with 15 additions and 0 deletions
@@ -0,0 +1,11 @@
contract C {
function f() pure public {}
function f(address) pure public {}
function g() pure public {
assembly {
let x := f
}
}
}
// ----
// DeclarationError: (155-156): Multiple matching identifiers. Resolving overloaded identifiers is not supported.