solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/065_super_excludes_current_contract.sol

12 lines
234 B
Solidity

contract A {
function b() public {}
}
contract B is A {
function f() public {
super.f();
}
}
// ----
// TypeError: (95-102): Member "f" not found or not visible after argument-dependent lookup in contract super B