080 reject consume outside obligation in loop

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at runtime with:

CONTAINS error[KORU030]
CONTAINS Use-after-discharge

Flows

subflow ~spin click a branch to expand · @labels scroll to their anchor
#loop step (h)
flow ~make click a branch to expand · @labels scroll to their anchor
make