050 auto discharge lifo order

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

both held
release child
release parent

Expected output

both held
release child
release parent

Flows

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

Test Configuration

MUST_RUN