076 obligation seed via consuming param

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must contain:

carries no obligation here

Error Verification

Actual Compiler Output

error[KORU030]: Phantom state mismatch: argument 'h' carries no obligation here, but this event consumes '<!owned>'. Pass a value that still holds its '<owned!>' obligation.
  --> phantom_semantic_check:42:0

❌ Compiler coordination error: Phantom semantic validation failed
error: CompilerCoordinationFailed
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_076_obligation_seed_via_consuming_param/backend.zig:94:13: 0x10316720b in emit (backend)
            return error.CompilerCoordinationFailed;
            ^
/Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_076_obligation_seed_via_consuming_param/backend.zig:190:28: 0x103167ef7 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