ww: keep generated test support file-scoped

This commit is contained in:
2026-08-14 04:20:29 +09:00
parent 9b015e764c
commit 695983f7c3
5 changed files with 85 additions and 34 deletions

View File

@@ -4581,7 +4581,10 @@ tested target through
`--test-target-package <canonical-path>` so a command variant declared `main`
does not collide with the dispatcher's own synthesized `main`; this is
compiler-generated wiring, not source alias syntax. Zero-test dispatchers mark
their compiler-owned target/support metadata imports consumed.
their compiler-owned target/support metadata imports consumed. That private
binding is installed or marked consumed only in the generated dispatcher's
source section; an import from an earlier test-file section neither supplies
nor satisfies it.
Vendor expansion changes only canonical identity and physical selection. A
source spelling such as `lib.codec` can resolve to