From 99de9eb4c2a78bf0efdcb5407bec76833dc459cd Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 17 Sep 2021 16:54:52 +1000 Subject: fix(cli): don't ignore diagnostics about for await (#12116) Fixes #12115 --- cli/tsc/99_main_compiler.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'cli/tsc/99_main_compiler.js') diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index c87d091ad..ddc9f3c78 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -148,9 +148,6 @@ delete Object.prototype.__proto__; // when that file is a module, but this file has no imports or exports. // Consider adding an empty 'export {}' to make this file a module. 1375, - // TS1103: 'for-await-of' statement is only allowed within an async function - // or async generator. - 1103, // TS2306: File 'file:///Users/rld/src/deno/cli/tests/testdata/subdir/amd_like.js' is // not a module. 2306, -- cgit v1.2.3