051 explicit then auto discharge

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

both held
unlock outer
unlock inner

Expected output

both held
unlock outer
unlock inner

Flows

subflow ~unlock click a branch to expand · @labels scroll to their anchor
print.ln (expr: "unlock {{ name:s }}")
flow ~lock click a branch to expand · @labels scroll to their anchor
lock (name: "outer")

Test Configuration

MUST_RUN