summaryrefslogtreecommitdiff
path: root/cli/tests/compiler_js_error.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-07-15 14:23:17 +0200
committerGitHub <noreply@github.com>2020-07-15 14:23:17 +0200
commit73a90360894267c69365d97f535a3573861e4ace (patch)
treed0bde1bc70c53bed27bf920fc25c889b205dabd7 /cli/tests/compiler_js_error.ts
parentcde4dbb35132848ffece59ef9cfaccff32347124 (diff)
fix: panic for runtime error in TS compiler (#6758)
Diffstat (limited to 'cli/tests/compiler_js_error.ts')
-rw-r--r--cli/tests/compiler_js_error.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/compiler_js_error.ts b/cli/tests/compiler_js_error.ts
new file mode 100644
index 000000000..0b981ae3a
--- /dev/null
+++ b/cli/tests/compiler_js_error.ts
@@ -0,0 +1 @@
+Deno.compile("main.js", { "main.js": "console.log(foo);" });