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