GitNexus/gitnexus/test
Mick Cooney a693013950 fix(r): keep self typed through field writes and off private members
An R6 method that wrote through self (`self$count <- 1`, `self$x[[i]] <- v`,
`self[["x"]] <- v`, `names(self$x) <- v`) made `self` a lexical name of the
method, so later `self$m()` calls lost the receiver type: an own method fell
to 0.51 and an inherited or missing one bound a free function of that name at
0.49. A write through self no longer binds the name; only a plain
`self <- v` (or a formal or loop variable called `self`) does, and a function
that rebinds self that way now owns it, so `self$m()` there is unresolved
unless the new binding is typed.

`self$m()` also reached methods of the `private` list. self is the public
interface, so private members are now skipped: a private-only name is
unresolved and a parent's public method wins over a private one of the
class. The definitions carry no section, so the capture pass records the
private members per file and hands them to the main thread through the
capture side channel (worker and parse-cache safe).

exportPattern() now refuses any backslash inside a bracket expression, which
TRE reads as a literal member (`[a\-z]` is a range from `\` to `z`), instead
of reading it as a JavaScript escape. The common `^[^\\.]` is dropped too.

Also removes the dead rOwnAssignedNames helper and restores prettier 3.8.1
formatting (the lockfile version) on files reformatted by a newer local
prettier, including the unrelated union in the shared scope-resolver.ts.
2026-10-24 23:12:18 +01:00
..
fixtures fix(r): keep self typed through field writes and off private members 2026-10-24 23:12:18 +01:00
helpers docs(r): state the exportPattern remembered-name cap and fastestWithin's minimum 2026-10-19 12:31:12 +01:00
integration fix(r): keep self typed through field writes and off private members 2026-10-24 23:12:18 +01:00
unit fix(r): keep self typed through field writes and off private members 2026-10-24 23:12:18 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00