blob: eafc82687a85c525e188939d9df270550e1c89c9 (
plain) (
blame)
1
2
3
4
5
6
|
contract C {
function f() public returns (C) { return this; }
function g() public returns (uint) { return f().balance(); }
}
// ----
// TypeError: (114-125): Member "balance" not found or not visible after argument-dependent lookup in contract C. Use "address(...).balance" to access this address member.
|