solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
struct S { uint a; }
contract C {
    struct S { address x; }
    function f() public view {
        S memory s = S(address(this));
        s;
    }
}
// ----
// Warning 2519: (38-61): This declaration shadows an existing declaration.