mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-23 22:06:04 +00:00
After an edit of NAMESPACE alone, the unchanged R/ files are not re-processed, so the persisted isExported of a newly exported function stays false and rename read that as proof of privacy. The rename guard now also uses the NAMESPACE the planner has just loaded from disk (recorded by the R workspace hook against each parsed file): it refuses when NAMESPACE exports the name by export(), exportPattern() or S3method(), and fails closed (incomplete_semantics) when NAMESPACE is gone or unreadable, when an exportPattern() was dropped or ran out of budget, or when no config was recorded. The persisted flag remains a second, additive check. The incremental test now asserts the refusal on the stale index and after --force; unit cases cover each way NAMESPACE can change. Docs updated. |
||
|---|---|---|
| .. | ||
| languages | ||
| plans | ||