mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
253 B
Solidity
8 lines
253 B
Solidity
contract C {
|
|
function f() view public {
|
|
this.balance;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (52-64): Member "balance" not found or not visible after argument-dependent lookup in contract C. Use "address(this).balance" to access this address member.
|