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;