Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tests/promise_await_all.ts
Original file line number Diff line number Diff line change
@@ -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<int> {
return n * 2;
Expand Down