You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Interpreter: async generator rejection exposes an unbranded strict-delete error #3559
An interpreted async generator rejects when a built-in operation throws a TypeError, but its rejection handler gets an unbranded value rather than the guest error object.
Node v22.23.2 prints rejected true TypeError TypeError: Cannot delete property 'length' of [object String]. Interpreted SharpTS on clean main a3683d903 and PR #3552332e50d07 prints rejected false undefined TypeError: Cannot delete non-configurable string property 'length'. Run as a classic JS file with --no-tsconfig --noLib.
Control: an async generator that explicitly executes throw token for const token = new TypeError("token") keeps both the guest error brand and identity in the rejection callback on clean main. The above test uses an explicit script directive, so it is separate from implicit ESM strictness (#3504).
Activity