GitNexus/gitnexus/test
Mick Cooney f80cfa09f2 fix(r): limit library() wildcard expansion to top-level definitions
expandRWildcardNames walked the flat localDefs of the target file and filtered
only dotted names, so a function nested inside another function
(`outer <- function() { helper <- function() 1 }`) was offered as a
package-level name to every file that calls library()/require() on the package.

Reproduction: two new cases in r-dotted-s3-hooks.test.ts failed on the
unfixed code (['outer', 'helper', 'top'] instead of ['outer', 'top'];
['a', 'b', 'c', 'd'] instead of ['a']). The expansion now keeps only names bound
at module scope (rFileTopLevel().names, which already feeds the dotted-tail
guard); top-level functions and bare-call S4/R6 classes are still listed
(controls added; test/integration/resolvers/r.test.ts unchanged and green).
2026-10-15 20:42:56 +01:00
..
fixtures fix(r): decode string literals in the rename dynamic-lookup guard 2026-10-15 20:42:05 +01:00
helpers Merge upstream/main into feat/r-language-support 2026-10-15 14:13:14 +01:00
integration Merge upstream/main into feat/r-language-support 2026-10-15 20:15:16 +01:00
unit fix(r): limit library() wildcard expansion to top-level definitions 2026-10-15 20:42:56 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00