solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
error E(uint a, uint b);
contract C {
    function f() public pure {
        revert E(2, 7);
    }
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() -> FAILURE, hex"85208890", 2, 7