078 reject dropped carried obligation

✓ Passing This code compiles and runs correctly.

Code

input.kz

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS was not discharged

Error Verification

Actual Compiler Output

error[KORU030]: Resource 'v' <owned!> was not discharged. Call: spin
  --> auto_discharge:44:0

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
error: CompilerCoordinationFailed
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_078_reject_dropped_carried_obligation/backend.zig:94:13: 0x102e2720b in emit (backend)
            return error.CompilerCoordinationFailed;
            ^
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_078_reject_dropped_carried_obligation/backend.zig:190:28: 0x102e27ef7 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
#loop step (h)
flow ~make click a branch to expand · @labels scroll to their anchor
make

Test Configuration

MUST_FAIL