mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Changes in ExpressionCompiler
This commit is contained in:
@@ -0,0 +1,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.
|
||||
Reference in New Issue
Block a user