mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11009 from ethereum/properlyParseAddressMember
Properly parse address member.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user