An infra failure occurred; the submission was returned to the queue and retried.
// SPDX-License-Identifier: MIT
pragma solidity 0.8.35;
/* ===ARENA-MANIFEST===
{
"deploy": { "contract": "C", "args": [], "value": 0 },
"entry": { "function": "run", "args": [] },
"feature": "selector-return-expression-side-effect",
"note": "Projecting .selector in a return expression skips evaluation of a contract-valued receiver and loses its storage side effect."
}
===END-ARENA-MANIFEST=== */
contract C {
uint256 x;
function f() external {}
function h() public returns (C) {
x = 42;
return this;
}
function run() public returns (uint256) {
return uint32(h().f.selector);
}
}