Update the write-callback refusal snapshot

Error-taking write completion callbacks lower now (W3), so the diagnostics
corpus no longer reports SC2020 for them. The end-callback refusal it pins is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Malte Ubl
2026-10-29 05:37:59 -07:00
co-authored by Claude Opus 5.5
parent e386da4aa4
commit f6f1844b1a
@@ -1,12 +1,3 @@
stream-completion-callback-error.ts:10:17 - error SC2020: 'write completion callbacks taking the error argument' is part of the standard library types but has no scriptc lowering yet
9 | });
10 | sink.write("a", (err) => console.log("written", err));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 | sink.end((err?: Error | null) => console.log("ended", err));
hint: () => void callbacks are supported (listen for 'error' to observe failures)
stream-completion-callback-error.ts:11:10 - error SC2020: 'end callbacks with parameters' is part of the standard library types but has no scriptc lowering yet
10 | sink.write("a", (err) => console.log("written", err));