label fold arm exit without produce panics

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

5

Expected output

5

Flows

subflow ~tick click a branch to expand · @labels scroll to their anchor
if (passes < 2)
subflow ~boom click a branch to expand · @labels scroll to their anchor
if (x < 0)
subflow ~run click a branch to expand · @labels scroll to their anchor
#L tick (deadline, passes: 0)
flow ~run click a branch to expand · @labels scroll to their anchor
run (deadline: 0)

Test Configuration

MUST_RUN