mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Provide nicer error message when referencing overloaded references
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user