blob: 9ed864f14918150db7b9b24244621a15933758c1 (
plain) (
blame)
1
2
3
4
5
6
7
|
contract test {
function f() public returns (uint) { return 1; }
function f(uint a) public returns (uint) { return 2 * a; }
function g() public returns (uint) { function (uint) returns (uint) x = f; return x(7); }
}
// ----
// TypeError: (208-209): No matching declaration found after variable lookup.
|