solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
contract A {
    address public immutable user = address(0x0);
}

contract Test {
    function test() public pure returns(bytes memory) {
        return type(A).runtimeCode;
    }
}
// ----
// TypeError 9274: (153-172): "runtimeCode" is not available for contracts containing immutable variables.