From 1894a95884188af231f6c8214ca5ce103ef615da Mon Sep 17 00:00:00 2001 From: ASDAlexander77 Date: Thu, 5 Nov 2026 21:50:45 +0000 Subject: [PATCH] promise_await_all.ts runs under -mm=own It has no typed catch, so the Linux failure (a move beside a typed catch, fixed in TypeScriptCompiler #771) never applied to it: it builds under own for the Linux and Windows triples with the current release compiler, and runs under own on Windows. Co-Authored-By: Claude Opus 5.5 --- tests/promise_await_all.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/promise_await_all.ts b/tests/promise_await_all.ts index 38bd61d..3d7ac85 100644 --- a/tests/promise_await_all.ts +++ b/tests/promise_await_all.ts @@ -1,7 +1,6 @@ -// not own -// An awaited Promise.all. Under -mm=own on Linux, tslang reports the array literal's temporary as -// "moved here on some paths only" at the await; it builds under own on Windows. Kept apart from -// promise.ts so the rest of that test still runs under own everywhere. +// An awaited Promise.all, in a function of its own. Beside a typed `catch` (on Linux, where such a +// function body is wrapped for its cleanup) it failed under -mm=own until the compiler emptied a +// moved-from slot (TypeScriptCompiler #771); this file has no catch and builds under own as it is. async function twice(n: int): Promise { return n * 2;