blob: 75f7a953c22c1c8c1c3233bed2adbd5ad8e2823f (
plain) (
tree)
|
|
contract C {
function h() external {
}
function f() view external returns (bytes4) {
function () payable external g = this.h;
return g.selector;
}
}
// ----
// TypeError: (105-144): Type function () external is not implicitly convertible to expected type function () payable external.
|