075 back edge drops obligation

✓ Passing This code compiles and runs correctly.

Code

input.kz

Backend must reject with:

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

Error Verification

Actual Compiler Output

error[KORU030]: Label jump '@loop' drops cleanup obligation for '_auto_0' - pass it as an argument or discharge it before jumping
  --> phantom_semantic_check:63:0

❌ Compiler coordination error: Phantom semantic validation failed
error: CompilerCoordinationFailed
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_075_back_edge_drops_obligation/backend.zig:94:13: 0x102cdf20b in emit (backend)
            return error.CompilerCoordinationFailed;
            ^
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_075_back_edge_drops_obligation/backend.zig:190:28: 0x102cdfef7 in main (backend)
    const generated_code = try RuntimeEmitter.emit(compile_allocator, final_ast);
                           ^

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_FAIL