mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-11-23 22:06:04 +00:00
The local-definition guard now also reads the braces of block scopes (local, test_that, describe, it, with, within; bare or pkg::). A call of the name before a block-local function literal, or a literal assigned only under if, refuses the rename: R calls the outer function there, but the index binds the call to the block-local literal, so the rename left that call behind. A nested function or block is judged by its own body, so a stub defined first inside it() under describe() is still accepted. A x$methods(...) call whose arguments mention the name refuses the rename too: methods added to a RefClass generator that way are not modelled, so a bare call inside one was rewritten although R reaches the class method. Also pin that a function-local rebinding shadows a module-level constructor type in a file that no <<- rebinds (r-receiver-agreement m10). Four rename fixtures (57 per test file); gaps rows R-43 and R-44. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||