mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
251 B
Solidity
13 lines
251 B
Solidity
contract A {
|
|
function f() external {}
|
|
function f(uint256) external {}
|
|
}
|
|
|
|
contract B {
|
|
function g() external {
|
|
A.f;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (130-133): Member "f" not unique after argument-dependent lookup in type(contract A).
|