1 2 3 4 5 6 7 8 9
contract C { function g() pure internal { } function f() public view returns (bytes4) { return g.selector; } } // ---- // TypeError: (115-125): Member "selector" not found or not visible after argument-dependent lookup in function () pure.