Merge pull request #11009 from ethereum/properlyParseAddressMember

Properly parse address member.
This commit is contained in:
chriseth
2021-02-24 17:12:00 +01:00
committed by GitHub
4 changed files with 43 additions and 11 deletions
@@ -0,0 +1,12 @@
contract C {
function f() public view returns (address a1, address a2) {
a1 = this.f.address;
this.f.address;
[this.f.address][0];
a2 = [this.f.address][0];
}
}
// ====
// compileViaYul: also
// ----
// f() -> 90572315268751552425567948436632610904688605307, 90572315268751552425567948436632610904688605307