solang-parser 0.2.1

Solang Solidity Parser
Documentation
contract c {
    function set() public returns (bool) {
        data = msg.data;
        return true;
    }

    function getLength() public returns (uint256) {
        return data.length;
    }

    bytes data;
}
// ====
// compileViaYul: also
// ----
// getLength() -> 0
// set(): 1, 2 -> true
// gas irOptimized: 110435
// gas legacy: 110723
// gas legacyOptimized: 110564
// getLength() -> 68