solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/065_super_excludes_current_contract.sol
2018-07-16 16:11:39 +01:00

12 lines
235 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.