GitNexus/docs
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
..
languages fix(r): keep self typed through field writes and off private members 2026-10-24 23:12:18 +01:00
plans fix(scope): preserve lexical bindings in HTTP wrapper detection (#3632) 2026-10-20 11:36:06 +01:00
cli-reference.md docs: simplify guides and verify receiver gaps (#3694) 2026-10-23 09:06:03 +01:00
deployment.md feat(web): resolve a root-relative GITNEXUS_BACKEND_URL against the page origin (#3640) 2026-10-24 08:45:24 +01:00
editor-setup.md docs: simplify guides and verify receiver gaps (#3694) 2026-10-23 09:06:03 +01:00
mcp-reference.md docs: simplify guides and verify receiver gaps (#3694) 2026-10-23 09:06:03 +01:00
wiki-generation.md docs: simplify guides and verify receiver gaps (#3694) 2026-10-23 09:06:03 +01:00