GitNexus/gitnexus/test
Mick Cooney 6db01f4fb6 refactor(scope-resolution): let a qualified hit outrank a lexical name claim
emitFreeCallFallback applied the lexical name-claim block before it asked the
language's resolveQualifiedFreeCall hook, so a call written with an explicit
path (`pkg::fn()`) lost its edge whenever a parameter, `for` variable or local
binding of the same bare name was in scope, although the path names the module
and a local binding of the tail cannot be what it means. The hook is now
evaluated before the block and a defined hit for a site with rawQualifiedName
bypasses it; the same result is reused at the old call site. An undefined hit,
a site without a written path and a language without the hook keep the block.

This is the declared shared-pass exception of the R review fixes: the edit is
in scope-resolution/passes/free-call-fallback.ts, language-neutral, and names
no language. The resolveQualifiedFreeCall docstring in
scope-resolution/contract/scope-resolver.ts is clarified to say the hook
outranks the name-claim block (the contract left that order open).

Besides R, only PHP and Rust implement the hook; no existing pin in any
language moved. New pins: a unit test with a fake hook for the ordering,
Rust and PHP fixtures for the shape, and the R cells (`pkga::helper(x)` beside
a local `helper`, and beside a same-named parameter or `for` variable) that
the R provider documented as a known loss.
2026-10-24 12:53:19 +01:00
..
fixtures refactor(scope-resolution): let a qualified hit outrank a lexical name claim 2026-10-24 12:53:19 +01:00
helpers docs(r): state the exportPattern remembered-name cap and fastestWithin's minimum 2026-10-19 12:31:12 +01:00
integration refactor(scope-resolution): let a qualified hit outrank a lexical name claim 2026-10-24 12:53:19 +01:00
unit refactor(scope-resolution): let a qualified hit outrank a lexical name claim 2026-10-24 12:53:19 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00