✓
Passing This code compiles and runs correctly.
Code
// Test 406: Import with explicit .kz extension
//
// Tests that imports work with explicit .kz extensions:
// - ~import "std/io.kz" should work the same as ~import "std/io"
// - This allows disambiguation when both a file and directory exist
// (e.g., foo.kz and foo/ directory)
import std/io.kz
std/io:print.ln("Explicit .kz extension works!")
Actual
Explicit .kz extension works!
Expected output
Explicit .kz extension works!
Flows
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "Explicit .kz extension works!")
Test Configuration
MUST_RUN