solidity/test/libsolidity/syntaxTests/types/contractTypeType/members/function_via_contract_name_overloaded.sol

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).