Repository navigation
refactor(sv): carry the imports of a scope in its analysis context - #2673
Merged
Conversation
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The symbols a scope imports and the package being analyzed were installed into the shared analysis state behind RefCells, swapped by guards on the way in and out of each scope, with a revision that told memoized elaborations the state had changed. They are now values of the analysis context: entering a scope or a package derives a context for it, a generate item keeps the imports of the scope that elaborated it, and the elaboration memo keys entries by the context's imports and package. Functions that read the imports take the context instead of the state. Change-Id: I082a6f20410bbcaea1391f510c56832fae20f57a
tignear
force-pushed
the
stack/tignear/refactor/analyzer-explicit-state/carry-imports-scope-analysis-context--082a6f20
branch
from
October 30, 2026 18:24
89c31dc to
9e38238
Compare
Contributor
Author
Revision history
|
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Contributor
✅ Merged into
|
This was referenced Oct 31, 2026
Closed
mergify
Bot
deleted the
stack/tignear/refactor/analyzer-explicit-state/carry-imports-scope-analysis-context--082a6f20
branch
October 31, 2026 05:02
Closed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The symbols a scope imports and the package being analyzed were installed
into the shared analysis state behind RefCells, swapped by guards on the
way in and out of each scope, with a revision that told memoized
elaborations the state had changed. They are now values of the analysis
context: entering a scope or a package derives a context for it, a
generate item keeps the imports of the scope that elaborated it, and the
elaboration memo keys entries by the context's imports and package.
Functions that read the imports take the context instead of the state.