solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
contract B {
    function g() public {}
}
contract C is B {
    bytes4 constant s2 = B.g.selector;
    function f() external pure returns (bytes4) { return s2; }
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> 0xe2179b8e00000000000000000000000000000000000000000000000000000000