Repository navigation
fix(context): let a kept node answer only for code no suspended call accounts for, and keep a tie between calls refused (#661) - #666
Merged
Conversation
…not read as the kept node's reader (#661)
…offer it only to that read's own gate (#661)
…r, function or call does not act as the kept node's reader (#661)
…ts, and hand it to that trap's own gate (#661)
… before its module loaded, does not read as the kept node's reader (#661)
…drop it at a stand-in for a node not loaded yet (#661)
…ive runtime as in the async one (#661)
…listing traps and to serialization, and to a node kept before it became callable (#661)
…the kept node's reader (#661)
…ccess at the node's has trap (#661)
…in the async runtime (#661)
Shinrai
approved these changes
Oct 25, 2026
Shinrai
added a commit
that referenced
this pull request
Oct 26, 2026
Brings in #656 (#655) and #666 (#661). Two adjustments where the merged code meets: - runtime_isConstructor asks through a proxy whose construct trap answers, so a class (whose prototype is fixed) is a constructor again and nothing of the function is read; #625's own copy of the function is dropped. - A self view over a module's captured view stands over that view's shadow and forwards every trap to it, so the engine's invariant checks never ask the captured view for a fixed member its reader may not read.
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.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
inof a kept node as it is, and drop an offered access at the node's has trap (Live runtime: a module's reads fail after it calls a kept async function from a timer #661) (96ea312)📦 Dependencies
No dependency updates
🔧 Other Changes
indoes not read as the kept node's reader (Live runtime: a module's reads fail after it calls a kept async function from a timer #661) (68a6df1)👥 Contributors