mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-23 22:06:04 +00:00
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. |
||
|---|---|---|
| .. | ||
| languages | ||
| plans | ||
| cli-reference.md | ||
| deployment.md | ||
| editor-setup.md | ||
| mcp-reference.md | ||
| wiki-generation.md | ||