mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 11:16:38 -05:00
0ea6eb83a9
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers.
13 lines
217 B
TypeScript
13 lines
217 B
TypeScript
const p = Promise.all([
|
|
(async (): Promise<never> => {
|
|
await Promise.resolve();
|
|
throw new Error("Promise.all()");
|
|
})(),
|
|
]);
|
|
|
|
try {
|
|
await p;
|
|
} catch (error) {
|
|
console.log(error.stack);
|
|
throw error;
|
|
}
|