037 qualified host type must resolve

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

Code

input.kz

Supporting Files

holder.kz

Actual compiler output

error[KORU117]: unknown host type 'Tokn' — no module declares it
  --> tests/regression/200_COMPILER_FEATURES/220_COMPILATION/220_037_qualified_host_type_must_resolve/input.kz:6:0
    |
  6 | // the emitted artifact name (output_emitted.koru_app.koru_holder.Tokn).
    | ^
  hint: check the spelling; a qualified host reference must name a type its module declares

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Error output must contain

unknown host type 'Tokn'

Flows

flow ~mint click a branch to expand · @labels scroll to their anchor
mint (id: 7)

Test Configuration

MUST_ERROR