Add attached_packages_anywhere() for lazy view - #1343
Merged
Conversation
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
July 17, 2026 08:56
772463a to
d43a67a
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
July 17, 2026 11:26
d43a67a to
4dd85c0
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
July 17, 2026 13:55
4dd85c0 to
3a2d3a6
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
July 22, 2026 12:46
3a2d3a6 to
070500e
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
2 times, most recently
from
July 28, 2026 12:27
3c7a109 to
e9f0241
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
6 times, most recently
from
August 3, 2026 13:16
f0feb65 to
dfaaa88
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
August 3, 2026 13:17
dfaaa88 to
91fbfb3
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
August 3, 2026 16:18
91fbfb3 to
8727490
Compare
lionel-
force-pushed
the
oak-nse/5-eager-attach
branch
from
August 3, 2026 16:22
8727490 to
24816a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Progress towards #1338
Branched from #1342
Splits the file's attach output into two views:
attached_packages()now returns only packages attached at the file's own top level (eager context). Alibrary()in a function body, a lazy NSE argument doesn't count, because reaching it depends on that lazy body running. This reflects the EOF view of attached packages, uncontradicted by lazy effects.A new variant
attached_packages_anywhere()returns everylibrary()/require()regardless of context.used_packages()now uses this view.