multiple errors

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[KORU118]: 'File' is call-site syntax — it produces no runtime value and cannot appear in a return or resume type
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/920_multiple_errors/input.kz:3:1
    |
  3 | };
    | ^
  hint: capture kinds (Expression, Source, File, EmbedFile, InvocationMeta) exist only as tor parameters; produce a runtime type instead

Code

input.kz

Actual compiler output

error[KORU118]: 'File' is call-site syntax — it produces no runtime value and cannot appear in a return or resume type
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/920_multiple_errors/input.kz:3:1
    |
  3 | };
    | ^
  hint: capture kinds (Expression, Source, File, EmbedFile, InvocationMeta) exist only as tor parameters; produce a runtime type instead

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