solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
error E(uint);
library L {
    function f(uint) internal {}
}
contract C {
    using L for E;
    function f() public pure {
        E.f();
    }
}
// ----
// TypeError 5172: (91-92): Name has to refer to a struct, enum or contract.