✓
Passing This code compiles and runs correctly.
Code
// Phase 2: a directory's source file lives at `index.kjs` instead of
// `index.kz`. The directory-import path should probe all Koru extensions
// for the index file, not just `.kz`.
const std = @import("std");
~import std/io
~import app/mylib
~app/mylib:greet(name: "kjs index")
| greeted g |> std/io:print.ln("{{ g:s }}")
Actual
hello from index.kjs
Must succeed:
Compile and run without errors.
Expected output
hello from index.kjs
Flows
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "kjs index")
Test Configuration
MUST_RUN