You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Campaign: canonical module-qualified identity for every declaration (name-resolution B) #751
Filed per D29 (docs/decisions.md) — record, don't start. Sequenced after the #747 str flip unless Eric re-orders.
Scope (from the ruling, verbatim)
canonical module-qualified identity for every declaration, carried through impl attachment, trait resolution/coherence, generic instantiation, MIR, comptime, all backends, and the migrator — no short-name re-resolution after initial lookup, anywhere.
Why
The flat merged namespace resolves names by short spelling, so a user declaration that shares a name with a type std itself uses cannot be given a second meaning (#750: string.w's StringBuilder is used by traits.w's Display impls — dropping/rebinding the name is usage-emergent breakage). D29's destination design (implicit std availability as a lowest-priority exact-match fallback tier, spec §18.2) requires that every declaration carry its canonical module identity from initial lookup onward; this campaign is that foundation.
Definition of done
Every declaration has one canonical module-qualified identity assigned at initial lookup.
That identity is what flows through impl attachment, trait resolution/coherence, generic instantiation, MIR, comptime, every backend, and the migrator.
No compiler phase re-resolves a short name after initial lookup — grep-provable absence, plus an analyze audit if one fits.
Triage 2026-10-25, with v0.15.3.0 (main a261b65): still open. Short-name resolution still crosses module identity: a user type Option = i32 changes what <embedded-std>/std/regex.w resolves (see #750's repro).
Activity
docs: D29 — implicit std availability ruled; spec states the destinat…
sema/codegen: scaffolding — enforce the §18.2 prelude; tier-aware sha…
sema/c-migrate/tools: scaffolding — battery-1 fixes for the §18.2 gat…
sema/mir/frontend: scaffolding — battery-1 fix batch 2 for the §18.2 …
Sema: engine corpora are never ambient, a facade import does not expo…
Sema: engine corpora are never ambient, a facade import does not expo…
Sema: engine corpora are never ambient, a facade import does not expo…
Sema: engine corpora are never ambient, a facade import does not expo…
Sema: engine corpora are never ambient, a facade import does not expo…
Sema/Frontend: engine corpora never ambient (§18.2); bundle interface…
g.pull(): a generic instance names its own declaration; a pulled elem…
g.pull(): a generic instance names its own declaration; a pulled elem…
g.pull(): a generic instance names its own declaration; a pulled elem…
g.pull(): a generic instance names its own declaration; a pulled elem…
D70 namespaced types reachable when shadowed (#1757); generator stage…
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): still open. Short-name resolution still crosses module identity: a usertype Option = i32changes what<embedded-std>/std/regex.wresolves (see #750's repro).post-release: the D29 campaign itself.
fix 750 (#2763)