Changes in ExpressionCompiler

This commit is contained in:
Leonardo Alt
2018-07-18 19:51:24 +02:00
parent 25fa1142bc
commit faa9c221d4
4 changed files with 50 additions and 54 deletions
@@ -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.