011 invalid module qualifier

✓ Passing This code compiles and runs correctly.

Code

// Test 618b: Invalid Module Qualifier (MUST FAIL)
// Validates that short-form module qualifiers like "io:println" are rejected
// Koru does NOT support import aliases - must always use full path

~import "$std/io"

~event test {}
| done

~proc test {
    return .{ .done = .{} };
}

// This should FAIL - "io" is not a valid module qualifier
// Correct form is: std.io:println
~test()
| done |> io:println(text: "WRONG - should be std.io:println")
input.kz

Error Verification

Expected Error Pattern

VALIDATION TEST: Invalid Module Qualifier

This test MUST FAIL to verify that Koru correctly rejects invalid module qualifiers.

Expected error:
  error[PARSE001]: Event 'io:println' not found in registry

Koru does NOT support import aliases. You must ALWAYS use the full module path:
- ✅ Correct: ~import "$std/io" then use std.io:println
- ❌ Wrong:   ~import "$std/io" then use io:println

This test uses the incorrect short form "io:println" and should fail during parsing.
If this test PASSES, our module qualifier validation is BROKEN.

Actual Compiler Output

🎯 Compiler coordination: Passes: 13 (flow-based: frontend, analysis, emission)

Test Configuration

MUST_FAIL