solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
contract C {
    uint immutable x = f();

    function f() public pure returns (uint) { return 3 + x; }
}
// ----
// TypeError 7733: (99-100): Immutable variables cannot be read before they are initialized.