mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
093b9ced97
Before, the hint would be shown for any "value" member, even a user-specified one.
9 lines
204 B
Solidity
9 lines
204 B
Solidity
contract C {
|
|
function (uint) external returns (uint) x;
|
|
function f() public {
|
|
x.value(2)();
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (94-101): Member "value" is only available for payable functions.
|