GitNexus/gitnexus/test
Mick Cooney 2a342d1619 fix(r): skip the body of an else if in NAMESPACE as conditional
skipConditionalBody returned just after the `if` of `else if (cond) body`, so
the main scan then read `(cond)` as stray text and emitted the body's
importFrom, S3method, export, exportClasses, exportMethods and exportPattern
directives as unconditional (the same for `if (a) if (b) body`).

Reproduction: 12 new cases in r-namespace-parser.test.ts failed on the
unfixed scanner (e.g. `if (a) {} else if (b) importFrom(x, y)` returned x::y;
`else if (b) export(hidden)` exported `hidden`). The nested `if (cond)` is now
stepped over iteratively (no recursion, tested with 50,000 nested ifs) and the
body that follows it is skipped.
2026-10-15 20:36:03 +01:00
..
fixtures Merge upstream/main into feat/r-language-support 2026-10-15 20:15:16 +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): skip the body of an else if in NAMESPACE as conditional 2026-10-15 20:36:03 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00