1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
contract C { uint256 immutable x; uint256 immutable y; constructor() { x = 42; y = 23; } function f() public view returns (uint256, uint256) { return (x+x,y); } } // ==== // compileViaYul: also // ---- // f() -> 84, 23