011 invalid module qualifier

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

Code

input.kz

Actual compiler output

error[KORU040]: call to `io:print.ln` cannot be resolved — module `io` declares nothing in this program
  --> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_011_invalid_module_qualifier/input.kz:25:1
    |
 25 | ~test() |> io:print.ln("WRONG - should be std/io:println")
    | ^
  hint: if `io` is a module, it needs `import io` at file scope (`~import io` in a .kz)

Frontend must reject with:

CONTAINS KORU040
CONTAINS io:print

Flows

flow ~test click a branch to expand · @labels scroll to their anchor
test

Test Configuration

MUST_ERROR