diff options
Diffstat (limited to 'cli/tests/error_021_stack_method.ts')
-rw-r--r-- | cli/tests/error_021_stack_method.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/tests/error_021_stack_method.ts b/cli/tests/error_021_stack_method.ts deleted file mode 100644 index a52d00deb..000000000 --- a/cli/tests/error_021_stack_method.ts +++ /dev/null @@ -1,12 +0,0 @@ -class A { - m(): never { - throw new Error("method"); - } -} - -try { - new A().m(); -} catch (error) { - console.log(error.stack); - throw error; -} |