Skip to content

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
Shinrai merged 15 commits into
nextfrom
fix/live-context-after-async-timer-call
Oct 25, 2026
Merged

Shinrai merged 15 commits into
nextfrom
fix/live-context-after-async-timer-call

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

👥 Contributors

@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure labels Oct 25, 2026
…r, function or call does not act as the kept node's reader (#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)
…listing traps and to serialization, and to a node kept before it became callable (#661)
@Shinrai
Shinrai merged commit 0df0020 into next Oct 25, 2026
47 of 54 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/live-context-after-async-timer-call branch October 25, 2026 21:54
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! fix → next v4 flow: fix contributor PR targeting the next integration branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant