solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/543_warn_about_address_members_on_contract_send.sol
2018-07-17 16:38:36 +01:00

8 lines
244 B
Solidity

contract C {
function f() view public {
this.send;
}
}
// ----
// TypeError: (52-61): Member "send" not found or not visible after argument-dependent lookup in contract C. Use "address(this).send" to access this address member.