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:1

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:1

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:1

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