diff options
Diffstat (limited to 'tests/testdata/run/error_020_stack_constructor.ts')
-rw-r--r-- | tests/testdata/run/error_020_stack_constructor.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/testdata/run/error_020_stack_constructor.ts b/tests/testdata/run/error_020_stack_constructor.ts deleted file mode 100644 index 526d1a661..000000000 --- a/tests/testdata/run/error_020_stack_constructor.ts +++ /dev/null @@ -1,14 +0,0 @@ -class A { - constructor() { - throw new Error("constructor"); - } -} - -try { - new A(); -} catch (error) { - if (error instanceof Error) { - console.log(error.stack); - } - throw error; -} |