multiple errors

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must contain:

Phantom state mismatch

Error Verification

Expected Error Pattern

This test must fail with phantom state mismatch errors.
All three errors should be reported in a single compilation pass.

Actual Compiler Output

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but event requires '<closed>'. The value must be in state 'input:closed'.
  --> phantom_semantic_check:25:0

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but event requires '<closed>'. The value must be in state 'input:closed'.
  --> phantom_semantic_check:27:0

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but event requires '<closed>'. The value must be in state 'input:closed'.
  --> phantom_semantic_check:29:0

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

Test Configuration

MUST_FAIL