multiple errors

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

Code

input.kz

Actual compiler output

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but this event requires state '<closed>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/920_multiple_errors/input.kz:23:0

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but this event requires state '<closed>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/920_multiple_errors/input.kz:24:0

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but this event requires state '<closed>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/920_multiple_errors/input.kz:25:0

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

Must contain:

Phantom state mismatch

Flows

flow ~open-file click a branch to expand · @labels scroll to their anchor
open-file (path: "test1.txt")
flow ~open-file click a branch to expand · @labels scroll to their anchor
open-file (path: "test2.txt")
flow ~open-file click a branch to expand · @labels scroll to their anchor
open-file (path: "test3.txt")

Test Configuration

MUST_ERROR