The cross-module dotted value-global read (`aa.v`) and addr-of (`&aa.v`) still mangled their symbol via the non-preferring leaf lookup (cstage masym / wwstage emitsymname), so they emitted `LEAQ main.v(SB)` — the WRONG module's same-leaf global — returning 99 instead of 7. #1 fixed the DATA def-site and the bare-ident load; these four dotted LOAD/addr sites were the residual. Thread the dotted module name (the `m` in `m.x`) — n->lhs->str / opnd->lhs->str / lhs.str / basenm — into the existing value mangle (cstage mahint, wwstage emitsymnamehint), the same polarity the TY_FN branch beside each site already uses via mafn/emitfnname. The addr-of spine-walk for a bare-root `&global.field` is a different shape and is left untouched. Byte-id-blind (the bootstrap has no colliding leaves), so a committed runtime + cs==ww test (796) is the net.
5.5 KiB
5.5 KiB