✓
Passing This code compiles and runs correctly.
Code
// Two homes mint one bare name: alpha's Health and beta's Health coexist as
// distinct identities keyed by (module, name). The two-registrant wall fires
// only within one home.
import app/alpha
import app/beta
import std/io
std/io:print.ln("coexist")
Supporting Files
// One home's Health — a distinct concept from beta's Health despite the
// shared bare name. Sameness by (module, name), never by spelling.
import std/proto
std/proto:f64(Health)
// The other home's Health. Coexists with alpha's Health as a distinct
// concept; unqualified refs stay unambiguous while one home declares the name.
import std/proto
std/proto:f64(Health)
Actual
coexist
Expected output
coexist
Flows
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "coexist")
Test Configuration
MUST_RUN