blob: 87c3b05b1aaec58714242679446bf119512a023c (
plain) (
blame)
1
2
3
4
5
6
7
8
|
contract C {
function (uint) external returns (uint) x;
function f() public {
x.value(2)();
}
}
// ----
// TypeError: (94-101): Member "value" not found or not visible after argument-dependent lookup in function (uint256) external returns (uint256) - did you forget the "payable" modifier?
|