Skip to content

chore: remove superassignment operator and nolint#758

Merged
aronatkins merged 2 commits into
mainfrom
aron-no-nolint
Jul 17, 2026
Merged

chore: remove superassignment operator and nolint#758
aronatkins merged 2 commits into
mainfrom
aron-no-nolint

Conversation

@aronatkins

Copy link
Copy Markdown
Contributor

Added direct test coverage to prove compatibility.

Additionally, fix an origLibPaths lookup.

Discovered while auditing .packrat_mutables references.
As of 3c87034, the state lived directly on the .packrat environment.
With 5108287, the state moved into a new_defaults() object, .packrat_mutables, which requires $get("field").
With cd77393, the .packrat_mutables$origLibPaths reference was added, mixing the old and NEW styles.

The .packrat_mutables$origLibPaths has always resolved to NULL and was likely not noticed because origLibPaths frequently contains overlapping entries.

Add direct test coverage to prove compatibility.
@aronatkins
aronatkins requested review from karawoo and kevinushey July 17, 2026 18:57
Discovered while auditing .packrat_mutables references.
As of 3c87034, the state lived directly on the `.packrat` environment.
With 5108287, the state moved into a `new_defaults()` object, `.packrat_mutables`, which requires `$get("field")`.
With cd77393, the `.packrat_mutables$origLibPaths` reference was added, mixing the old and NEW styles.

The `.packrat_mutables$origLibPaths` has always resolved to `NULL` and was likely not noticed because `origLibPaths` frequently contains overlapping entries.

Includes a test confirming the use of origLibPaths.
@aronatkins
aronatkins merged commit e979f22 into main Jul 17, 2026
10 checks passed
@aronatkins
aronatkins deleted the aron-no-nolint branch July 17, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants