mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
88c99a7538
And also making the type of address(literal) as non-payable address.
8 lines
209 B
Solidity
8 lines
209 B
Solidity
contract C {
|
|
function f() public {
|
|
(msg.sender).send(10);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 9862: (47-64): "send" and "transfer" are only available for objects of type "address payable", not "address".
|