blob: 3bf4bac2a1e7f264971730d5d23470d8bca0bf57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
contract C {
function h() view external {
}
function f() view external returns (bytes4) {
function () payable external g = this.h;
return g.selector;
}
}
// ----
// TypeError: (110-149): Type function () view external is not implicitly convertible to expected type function () payable external.
|