mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-23 22:06:04 +00:00
pkg::name() whose package does not define name no longer falls back to a same-file or other-package definition: a re-export (export plus importFrom of a local origin that defines the name once) binds the origin, anything else is dropped, and so is every qualified site of unknown locality. pkg::name() to a private name from outside the package tree gets no edge; pkg:::name still binds. library()/require() attach only the exported names of a package that has a NAMESPACE (unreadable or cut-short NAMESPACEs are not proven exports), and the unique-name guess skips a candidate its package's readable, complete NAMESPACE does not export unless the caller is inside that package's tree (tests/ and inst/ included; a root-level package covers every file outside nested packages). Visibility (public/private/unknown) is decided once per pass in sorted order with completeness read after the batch, so an exportPattern work-budget cutoff gives the same verdicts whatever the file or site order. Reverses the load_all() reading of library() and the "Permanent" re-export pin. Verdict changes: r-qualified-calls reexport_user (global-name-fallback 0.5 -> import-resolved 0.85 to the origin), truncated-discovery qualifier sites (kept -> no edge), r.test.ts run_all -> hidden_helper (0.5 -> no edge), r-dotted-s3-collision use_odd via library (0.85 -> no edge). No rename verdict changes. |
||
|---|---|---|
| .. | ||
| languages | ||
| plans | ||
| cli-reference.md | ||
| deployment.md | ||
| editor-setup.md | ||
| mcp-reference.md | ||
| wiki-generation.md | ||