Files
scriptc/packages/runtime/src
Chris Tate 8537c41171 Keep the receiver bracket around stream completion calls
The stream completion closures carried SCR_CLOSURE_KIND_RECEIVER_FREE, so
compiled callers skipped the receiver bracket around cb(). A completion
runs user code synchronously (the write(chunk, callback) callback, the
next queued _write), and that code reads the ambient receiver, so the
flag is removed and the completions bind `this` as any unbound call
does. Corpus programs 8531 and 8532 call a saved completion from inside
another object's method, from JavaScript and from a TypeScript class
method that JavaScript calls, and check `this` in the callbacks it runs
against Node.
2026-10-29 02:05:14 -05:00
..
2026-10-22 18:05:53 -05:00
2026-10-27 18:53:59 -05:00
2026-10-28 20:50:23 -05:00
2026-10-23 19:31:34 -05:00
2026-10-24 16:49:25 -05:00
2026-10-07 19:07:02 -05:00
2026-10-24 16:49:25 -05:00
2026-10-26 01:05:40 -05:00
2026-10-25 02:28:32 -05:00
2026-10-26 23:13:34 -05:00
2026-10-19 07:55:06 -05:00
2026-10-26 06:45:43 -05:00
2026-10-20 21:52:19 -05:00
2026-10-14 17:27:02 -05:00
2026-10-26 06:45:43 -05:00
2026-10-22 06:59:47 -05:00
2026-10-22 03:33:29 -05:00