075 back edge drops obligation

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.kz

Actual compiler output

error[KORU030]: Label jump '@loop' drops cleanup obligation for 'input:*Handle' - pass it as an argument or discharge it before jumping
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_075_back_edge_drops_obligation/input.kz:57:4

❌ Compiler coordination error: Phantom semantic validation failed
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS drops cleanup obligation
CONTAINS @loop

Flows

subflow ~spin click a branch to expand · @labels scroll to their anchor
make
flow ~spin click a branch to expand · @labels scroll to their anchor
spin

Test Configuration

MUST_ERROR