diff --git a/tasks/coverage/babel b/tasks/coverage/babel
index b5d6c3c820af3..d062d47d57a67 160000
--- a/tasks/coverage/babel
+++ b/tasks/coverage/babel
@@ -1 +1 @@
-Subproject commit b5d6c3c820af3c049b476df6e885fef33fa953f1
+Subproject commit d062d47d57a679953144ccf1e60b3efc297e5b43
diff --git a/tasks/coverage/formatter_babel.snap b/tasks/coverage/formatter_babel.snap
index 517c0e933b025..d0fe180100f32 100644
--- a/tasks/coverage/formatter_babel.snap
+++ b/tasks/coverage/formatter_babel.snap
@@ -1,6 +1,6 @@
formatter_babel Summary:
-AST Parsed : 2096/2096 (100.00%)
-Positive Passed: 2073/2096 (98.90%)
+AST Parsed : 2078/2078 (100.00%)
+Positive Passed: 2055/2078 (98.89%)
Expect to Parse: "typescript/cast/nested-parenthesized-assert-and-assign/input.ts"
Expect to Parse: "typescript/class/abstract/input.ts"
Expect to Parse: "typescript/class/declare/input.ts"
diff --git a/tasks/coverage/formatter_test262.snap b/tasks/coverage/formatter_test262.snap
index 69413fed88727..1372f618fb740 100644
--- a/tasks/coverage/formatter_test262.snap
+++ b/tasks/coverage/formatter_test262.snap
@@ -1,3 +1,3 @@
formatter_test262 Summary:
-AST Parsed : 45488/45488 (100.00%)
-Positive Passed: 45488/45488 (100.00%)
+AST Parsed : 44738/44738 (100.00%)
+Positive Passed: 44738/44738 (100.00%)
diff --git a/tasks/coverage/parser_babel.snap b/tasks/coverage/parser_babel.snap
index a84e44f82ed29..b69ec2c9407c9 100644
--- a/tasks/coverage/parser_babel.snap
+++ b/tasks/coverage/parser_babel.snap
@@ -1,7 +1,7 @@
parser_babel Summary:
-AST Parsed : 2090/2096 (99.71%)
-Positive Passed: 2087/2096 (99.57%)
-Negative Passed: 1349/1499 (89.99%)
+AST Parsed : 2072/2078 (99.71%)
+Positive Passed: 2069/2078 (99.57%)
+Negative Passed: 1342/1507 (89.05%)
Expect Syntax Error: "annex-b/disabled/1.1-html-comments-close/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions-if-body/input.js"
@@ -21,9 +21,11 @@ Expect Syntax Error: "es2015/class-methods/direct-super-in-object-method/input.j
Expect Syntax Error: "es2015/destructuring/error-operator-for-default/input.js"
Expect Syntax Error: "es2015/for-of/invalid-let-as-identifier/input.js"
Expect Syntax Error: "es2015/object/disallow-duplicate-method-params/input.js"
+Expect Syntax Error: "es2015/uncategorised/.191/input.js"
+Expect Syntax Error: "es2015/uncategorised/.335/input.js"
+Expect Syntax Error: "es2015/uncategorised/.343/input.js"
Expect Syntax Error: "es2015/uncategorised/220/input.js"
Expect Syntax Error: "es2015/uncategorised/297/input.js"
-Expect Syntax Error: "es2015/uncategorised/335/input.js"
Expect Syntax Error: "es2017/async-functions/await-binding-inside-arrow-params-inside-async-arrow-params/input.js"
Expect Syntax Error: "es2017/trailing-function-commas/7/input.js"
Expect Syntax Error: "es2018/object-rest-spread/24/input.js"
@@ -33,11 +35,20 @@ Expect Syntax Error: "es2018/object-rest-spread/comma-after-spread-nested/input.
Expect Syntax Error: "es2018/object-rest-spread/no-pattern-in-rest/input.js"
Expect Syntax Error: "es2018/object-rest-spread/no-pattern-in-rest-with-ts/input.js"
Expect Syntax Error: "es2020/dynamic-import/invalid-trailing-comma/input.js"
-Expect Syntax Error: "es2020/dynamic-import-createImportExpression-false/invalid-trailing-comma/input.js"
Expect Syntax Error: "esprima/es2015-arrow-function/invalid-param-strict-mode/input.js"
-Expect Syntax Error: "esprima/es2015-generator/generator-parameter-binding-property-reserved/input.js"
+Expect Syntax Error: "esprima/es2015-generator/.generator-parameter-binding-property-reserved/input.js"
+Expect Syntax Error: "esprima/es2015-identifier/.invalid_function_wait/input.js"
+Expect Syntax Error: "esprima/expression-primary-literal-regular-expression/.migrated_0005/input.js"
+Expect Syntax Error: "esprima/expression-primary-literal-regular-expression/.migrated_0006/input.js"
+Expect Syntax Error: "esprima/expression-primary-literal-regular-expression/.u-flag-invalid-range-4-hex/input.js"
+Expect Syntax Error: "esprima/expression-primary-literal-regular-expression/.u-flag-invalid-range-var-hex/input.js"
+Expect Syntax Error: "esprima/invalid-syntax/.GH-1106-09/input.js"
+Expect Syntax Error: "esprima/invalid-syntax/.migrated_0035/input.js"
Expect Syntax Error: "esprima/invalid-syntax/migrated_0101/input.js"
Expect Syntax Error: "esprima/rest-parameter/invalid-setter-rest/input.js"
+Expect Syntax Error: "esprima/statement-if/.migrated_0003/input.js"
+Expect Syntax Error: "esprima/statement-iteration/.migrated_0021/input.js"
+Expect Syntax Error: "esprima/statement-iteration/.pattern-in-for-in/input.js"
Expect Syntax Error: "typescript/arrow-function/async-rest-optional-parameter/input.ts"
Expect Syntax Error: "typescript/cast/satisfies-const-error/input.ts"
Expect Syntax Error: "typescript/cast/unparenthesized-assert-and-assign/input.ts"
@@ -150,8 +161,12 @@ Expect Syntax Error: "typescript/types/read-only-1/input.ts"
Expect Syntax Error: "typescript/types/read-only-2/input.ts"
Expect Syntax Error: "typescript/types/read-only-3/input.ts"
Expect Syntax Error: "typescript/types/read-only-4/input.ts"
+Expect Syntax Error: "typescript/types/tuple-labeled-after-unlabeled/input.ts"
+Expect Syntax Error: "typescript/types/tuple-labeled-before-unlabeled/input.ts"
Expect Syntax Error: "typescript/types/tuple-optional-invalid/input.ts"
Expect Syntax Error: "typescript/types/tuple-required-after-labeled-optional/input.ts"
+Expect Syntax Error: "typescript/types/tuple-unlabeled-spread-after-labeled/input.ts"
+Expect Syntax Error: "typescript/types/tuple-unlabeled-spread-before-labeled/input.ts"
Expect to Parse: "core/opts/allowNewTargetOutsideFunction-true/input.js"
× Unexpected new.target expression
╭─[core/opts/allowNewTargetOutsideFunction-true/input.js:1:1]
@@ -584,24 +599,12 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ────────
╰────
- × A 'get' accessor must not have any formal parameters.
- ╭─[core/object/invalid-getter-param/input.js:1:1]
- 1 │ ({ get prop(x) {} })
- · ───
- ╰────
-
× A 'set' accessor must have exactly one parameter.
- ╭─[core/object/invalid-setter-no-param/input.js:1:1]
+ ╭─[core/object/invalid-setter/input.js:1:1]
1 │ ({ set x(){} })
· ──
╰────
- × A 'set' accessor must have exactly one parameter.
- ╭─[core/object/invalid-setter-two-params/input.js:1:1]
- 1 │ ({ set prop(x, y) {} })
- · ──────
- ╰────
-
× Expected `(` but found `await`
╭─[core/opts/allowAwaitOutsideFunction-false/input.js:1:1]
1 │ for await (const i of imports) {}
@@ -928,6 +931,24 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
╰────
help: In strict mode code, functions can only be declared at top level or inside a block
+ × A 'get' accessor must not have any formal parameters.
+ ╭─[core/uncategorised/.542/input.js:1:1]
+ 1 │ ({ get prop(x) {} })
+ · ───
+ ╰────
+
+ × A 'set' accessor must have exactly one parameter.
+ ╭─[core/uncategorised/.543/input.js:1:1]
+ 1 │ ({ set prop() {} })
+ · ──
+ ╰────
+
+ × A 'set' accessor must have exactly one parameter.
+ ╭─[core/uncategorised/.544/input.js:1:1]
+ 1 │ ({ set prop(x, y) {} })
+ · ──────
+ ╰────
+
× Expected a semicolon or an implicit semicolon after a statement, but found none
╭─[core/uncategorised/108/input.js:1:1]
1 │ var x = /[P QR]/\u0067
@@ -3344,6 +3365,24 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
3 │ `;
╰────
+ × A 'yield' expression is only allowed in a generator body.
+ ╭─[es2015/uncategorised/.260/input.js:1:1]
+ 1 │ (function() { "use strict"; f(yield v) })
+ · ─────
+ ╰────
+
+ × A 'get' accessor must not have any formal parameters.
+ ╭─[es2015/uncategorised/.345/input.js:1:1]
+ 1 │ class A { get prop(x) {} }
+ · ───
+ ╰────
+
+ × A 'set' accessor must have exactly one parameter.
+ ╭─[es2015/uncategorised/.346/input.js:1:1]
+ 1 │ class A { set prop() {} }
+ · ──
+ ╰────
+
× for-of loop variable declaration may not have an initializer
╭─[es2015/uncategorised/109/input.js:1:1]
1 │ for (var x = 42 of list) process(x);
@@ -3717,12 +3756,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ╰── `]` expected
╰────
- × A 'yield' expression is only allowed in a generator body.
- ╭─[es2015/uncategorised/260/input.js:1:1]
- 1 │ (function() { "use strict"; f(yield v) })
- · ─────
- ╰────
-
× Expected `(` but found `**`
╭─[es2015/uncategorised/261/input.js:1:1]
1 │ var obj = { *test** }
@@ -3987,18 +4020,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ─────
╰────
- × A 'get' accessor must not have any formal parameters.
- ╭─[es2015/uncategorised/345/input.js:1:1]
- 1 │ class A { get prop(x) {} }
- · ───
- ╰────
-
- × A 'set' accessor must have exactly one parameter.
- ╭─[es2015/uncategorised/346/input.js:1:1]
- 1 │ class A { set prop() {} }
- · ──
- ╰────
-
× A 'set' accessor must have exactly one parameter.
╭─[es2015/uncategorised/347/input.js:1:1]
1 │ class A { set prop(x, y) {} }
@@ -5307,12 +5328,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ───
╰────
- × Unexpected token
- ╭─[es2020/dynamic-import/invalid-lone-import/input.js:1:1]
- 1 │ (import)
- · ─
- ╰────
-
× Cannot use new with dynamic import
╭─[es2020/dynamic-import/invalid-new/input.js:1:1]
1 │ new import("foo");
@@ -5332,45 +5347,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ─
╰────
- × The only valid meta property for import is import.meta
- ╭─[es2020/dynamic-import-createImportExpression-false/direct-calls-only/input.js:1:1]
- 1 │ function failsParse() {
- 2 │ return import.then();
- · ───────────
- 3 │ }
- ╰────
-
- × Unexpected token
- ╭─[es2020/dynamic-import-createImportExpression-false/invalid-arguments-spread/input.js:1:1]
- 1 │ import(...[1])
- · ───
- ╰────
-
- × Unexpected token
- ╭─[es2020/dynamic-import-createImportExpression-false/invalid-lone-import/input.js:1:1]
- 1 │ (import)
- · ─
- ╰────
-
- × Cannot use new with dynamic import
- ╭─[es2020/dynamic-import-createImportExpression-false/invalid-new/input.js:1:1]
- 1 │ new import("foo");
- · ─────────────
- ╰────
-
- × Expected `)` but found `string`
- ╭─[es2020/dynamic-import-createImportExpression-false/multiple-args/input.js:1:1]
- 1 │ import('hello', 'world', '!');
- · ─┬─
- · ╰── `)` expected
- ╰────
-
- × Unexpected token
- ╭─[es2020/dynamic-import-createImportExpression-false/no-args/input.js:1:1]
- 1 │ import();
- · ─
- ╰────
-
× Unexpected import.meta expression
╭─[es2020/import-meta/error-in-script/input.js:1:1]
1 │ const x = import.meta;
@@ -6761,6 +6737,12 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ╰── `x` has already been declared here
╰────
+ × Unexpected trailing comma after rest element
+ ╭─[esprima/es2015-array-binding-pattern/.invalid-elision-after-rest/input.js:1:1]
+ 1 │ ([a,...b,])=>0;
+ · ─
+ ╰────
+
× Identifier `b` has already been declared
╭─[esprima/es2015-array-binding-pattern/invalid-dup-param/input.js:1:1]
1 │ ([a,[b],...b])=>0;
@@ -6769,12 +6751,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ╰── `b` has already been declared here
╰────
- × Unexpected trailing comma after rest element
- ╭─[esprima/es2015-array-binding-pattern/invalid-elision-after-rest/input.js:1:1]
- 1 │ ([a,...b,])=>0;
- · ─
- ╰────
-
× Identifier `a` has already been declared
╭─[esprima/es2015-array-pattern/dupe-param-1/input.js:1:1]
1 │ "use strict";
@@ -6905,7 +6881,7 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
╰────
× Cannot assign to 'eval' in strict mode
- ╭─[esprima/es2015-class/invalid-eval-in-class-method-params/input.js:1:1]
+ ╭─[esprima/es2015-class/.migrated_0026/input.js:1:1]
1 │ class A {a(eval){}}
· ────
╰────
@@ -7112,6 +7088,19 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ─
╰────
+ × Invalid Unicode escape sequence
+ ╭─[esprima/es2015-identifier/.invalid_lone_surrogate/input.js:1:1]
+ 1 │ \uD800!
+ · ─────
+ ╰────
+
+ × Expected a semicolon or an implicit semicolon after a statement, but found none
+ ╭─[esprima/es2015-identifier/.invalid_lone_surrogate/input.js:1:1]
+ 1 │ \uD800!
+ · ▲
+ ╰────
+ help: Try insert a semicolon here
+
× Invalid Unicode escape sequence
╭─[esprima/es2015-identifier/invalid_escaped_surrogate_pairs/input.js:1:1]
1 │ var \uD83B\uDE00
@@ -7130,19 +7119,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ─
╰────
- × Invalid Unicode escape sequence
- ╭─[esprima/es2015-identifier/invalid_lone_surrogate/input.js:1:1]
- 1 │ \uD800!
- · ─────
- ╰────
-
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[esprima/es2015-identifier/invalid_lone_surrogate/input.js:1:1]
- 1 │ \uD800!
- · ▲
- ╰────
- help: Try insert a semicolon here
-
× Cannot use export statement outside a module
╭─[esprima/es2015-identifier/invalid_var_await/input.js:1:1]
1 │ export var await;
@@ -7361,7 +7337,7 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
╰────
× 'super' can only be used with function calls or in property accesses
- ╭─[esprima/es2015-super-property/invalid_super_access/input.js:2:1]
+ ╭─[esprima/es2015-super-property/.invalid_super_access/input.js:2:1]
2 │ constructor() {
3 │ (super)();
· ─────
@@ -7370,7 +7346,7 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
help: replace with `super()` or `super.prop` or `super[prop]`
× 'super' can only be used with function calls or in property accesses
- ╭─[esprima/es2015-super-property/invalid_super_id/input.js:1:1]
+ ╭─[esprima/es2015-super-property/.invalid_super_id/input.js:1:1]
1 │ class A {
2 │ foo() { new super + 3 }
· ─────
@@ -7380,7 +7356,7 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
× Super calls are not permitted outside constructors or in nested functions inside constructors.
│
- ╭─[esprima/es2015-super-property/invalid_super_id/input.js:1:1]
+ ╭─[esprima/es2015-super-property/.invalid_super_id/input.js:1:1]
1 │ class A {
2 │ foo() { new super + 3 }
· ─────────
@@ -7394,6 +7370,18 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ───────
╰────
+ × Bad escape sequence in untagged template literal
+ ╭─[esprima/es2015-template-literals/.octal-literal/input.js:1:1]
+ 1 │ `\00`;
+ · ───
+ ╰────
+
+ × Bad escape sequence in untagged template literal
+ ╭─[esprima/es2015-template-literals/.strict-octal-literal/input.js:1:1]
+ 1 │ 'use strict'; `\00`;
+ · ───
+ ╰────
+
× Expected `(` but found `${}`
╭─[esprima/es2015-template-literals/after-switch/input.js:1:1]
1 │ switch `test`
@@ -7407,18 +7395,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ──
╰────
- × Bad escape sequence in untagged template literal
- ╭─[esprima/es2015-template-literals/invalid-octal-literal/input.js:1:1]
- 1 │ `\00`;
- · ───
- ╰────
-
- × Bad escape sequence in untagged template literal
- ╭─[esprima/es2015-template-literals/invalid-strict-octal-literal/input.js:1:1]
- 1 │ 'use strict'; `\00`;
- · ───
- ╰────
-
× Unterminated string
╭─[esprima/es2015-template-literals/unclosed/input.js:1:1]
1 │ `test
@@ -7684,13 +7660,6 @@ Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
· ─────
╰────
- × Invalid escape sequence
- ╭─[esprima/invalid-syntax/GH-1106-09/input.js:1:1]
- 1 │ "\9";
- · ────
- ╰────
- help: \8 and \9 are not allowed in strict mode
-
× Expected `}` but found `EOF`
╭─[esprima/invalid-syntax/migrated_0000/input.js:1:1]
1 │ {
diff --git a/tasks/coverage/parser_test262.snap b/tasks/coverage/parser_test262.snap
index 121f7c7761371..1d85424ac232a 100644
--- a/tasks/coverage/parser_test262.snap
+++ b/tasks/coverage/parser_test262.snap
@@ -1,6 +1,6 @@
parser_test262 Summary:
-AST Parsed : 44964/44964 (100.00%)
-Positive Passed: 44964/44964 (100.00%)
+AST Parsed : 44219/44219 (100.00%)
+Positive Passed: 44219/44219 (100.00%)
Negative Passed: 3919/3947 (99.29%)
Expect Syntax Error: "built-ins/RegExp/prototype/unicodeSets/breaking-change-from-u-to-v-01.js"
Expect Syntax Error: "built-ins/RegExp/prototype/unicodeSets/breaking-change-from-u-to-v-02.js"
@@ -13006,6 +13006,13 @@ Expect Syntax Error: "built-ins/RegExp/prototype/unicodeSets/breaking-change-fro
· ─────────────────
╰────
+ × The keyword 'yield' is reserved
+ ╭─[language/expressions/dynamic-import/2nd-param-yield-ident-invalid.js:18:1]
+ 18 │
+ 19 │ import('./empty_FIXTURE.js', yield);
+ · ─────
+ ╰────
+
× Keywords cannot contain escape characters
╭─[language/expressions/dynamic-import/escape-sequence-import.js:34:1]
34 │
@@ -13013,13 +13020,6 @@ Expect Syntax Error: "built-ins/RegExp/prototype/unicodeSets/breaking-change-fro
· ───────────
╰────
- × The keyword 'yield' is reserved
- ╭─[language/expressions/dynamic-import/import-assertions/2nd-param-yield-ident-invalid.js:18:1]
- 18 │
- 19 │ import('./empty_FIXTURE.js', yield);
- · ─────
- ╰────
-
× Cannot assign to this expression
╭─[language/expressions/dynamic-import/syntax/invalid/invalid-assignmenttargettype-syntax-error-1-update-expression.js:45:1]
45 │
@@ -19355,6 +19355,45 @@ Expect Syntax Error: "built-ins/RegExp/prototype/unicodeSets/breaking-change-fro
· ─
╰────
+ × Identifier `test262_a` has already been declared
+ ╭─[language/module-code/early-dup-assert-key-export.js:20:1]
+ 20 │ export * from './import-assertion-3_FIXTURE.js' assert {
+ 21 │ test262_a: '',
+ · ────┬────
+ · ╰── `test262_a` has already been declared here
+ 22 │ test262_b: '',
+ 23 │ 'test262_\u0061': ''
+ · ────────┬───────
+ · ╰── It can not be redeclared here
+ 24 │ };
+ ╰────
+
+ × Identifier `test262_a` has already been declared
+ ╭─[language/module-code/early-dup-assert-key-import-nobinding.js:21:1]
+ 21 │ import './import-assertion-2_FIXTURE.js' assert {
+ 22 │ test262_a: '',
+ · ────┬────
+ · ╰── `test262_a` has already been declared here
+ 23 │ test262_b: '',
+ 24 │ 'test262_\u0061': ''
+ · ────────┬───────
+ · ╰── It can not be redeclared here
+ 25 │ };
+ ╰────
+
+ × Identifier `test262_a` has already been declared
+ ╭─[language/module-code/early-dup-assert-key-import-withbinding.js:21:1]
+ 21 │ import x from './import-assertion-1_FIXTURE.js' assert {
+ 22 │ test262_a: '',
+ · ────┬────
+ · ╰── `test262_a` has already been declared here
+ 23 │ test262_b: '',
+ 24 │ 'test262_\u0061': ''
+ · ────────┬───────
+ · ╰── It can not be redeclared here
+ 25 │ };
+ ╰────
+
× Duplicated export 'z'
╭─[language/module-code/early-dup-export-as-star-as.js:17:1]
17 │ var x;
@@ -19735,42 +19774,6 @@ Expect Syntax Error: "built-ins/RegExp/prototype/unicodeSets/breaking-change-fro
22 │
╰────
- × Identifier `type` has already been declared
- ╭─[language/module-code/import-assertions/early-dup-assert-key-export.js:20:1]
- 20 │ export * from './import-assertion-3_FIXTURE.js' assert {
- 21 │ type: 'json',
- · ──┬─
- · ╰── `type` has already been declared here
- 22 │ 'typ\u0065': ''
- · ─────┬─────
- · ╰── It can not be redeclared here
- 23 │ };
- ╰────
-
- × Identifier `type` has already been declared
- ╭─[language/module-code/import-assertions/early-dup-assert-key-import-nobinding.js:21:1]
- 21 │ import './import-assertion-2_FIXTURE.js' assert {
- 22 │ type: 'json',
- · ──┬─
- · ╰── `type` has already been declared here
- 23 │ 'typ\u0065': ''
- · ─────┬─────
- · ╰── It can not be redeclared here
- 24 │ };
- ╰────
-
- × Identifier `type` has already been declared
- ╭─[language/module-code/import-assertions/early-dup-assert-key-import-withbinding.js:21:1]
- 21 │ import x from './import-assertion-1_FIXTURE.js' assert {
- 22 │ type: 'json',
- · ──┬─
- · ╰── `type` has already been declared here
- 23 │ 'typ\u0065': ''
- · ─────┬─────
- · ╰── It can not be redeclared here
- 24 │ };
- ╰────
-
× Private identifier '#x' is not allowed outside class bodies
╭─[language/module-code/invalid-private-names-call-expression-bad-reference.js:39:1]
39 │
diff --git a/tasks/coverage/parser_typescript.snap b/tasks/coverage/parser_typescript.snap
index cf222048505f6..2380d173bbbf0 100644
--- a/tasks/coverage/parser_typescript.snap
+++ b/tasks/coverage/parser_typescript.snap
@@ -1,7 +1,7 @@
parser_typescript Summary:
-AST Parsed : 5167/5171 (99.92%)
-Positive Passed: 5159/5171 (99.77%)
-Negative Passed: 1023/4841 (21.13%)
+AST Parsed : 5060/5063 (99.94%)
+Positive Passed: 5051/5063 (99.76%)
+Negative Passed: 994/4761 (20.88%)
Expect Syntax Error: "compiler/ClassDeclaration10.ts"
Expect Syntax Error: "compiler/ClassDeclaration11.ts"
Expect Syntax Error: "compiler/ClassDeclaration13.ts"
@@ -79,7 +79,6 @@ Expect Syntax Error: "compiler/argumentsObjectIterator02_ES5.ts"
Expect Syntax Error: "compiler/argumentsObjectIterator03_ES5.ts"
Expect Syntax Error: "compiler/argumentsPropertyNameInJsMode1.ts"
Expect Syntax Error: "compiler/argumentsReferenceInConstructor4_Js.ts"
-Expect Syntax Error: "compiler/argumentsReferenceInFunction1_Js.ts"
Expect Syntax Error: "compiler/argumentsReferenceInMethod4_Js.ts"
Expect Syntax Error: "compiler/argumentsReferenceInObjectLiteral_Js.ts"
Expect Syntax Error: "compiler/argumentsSpreadRestIterables.tsx"
@@ -254,7 +253,6 @@ Expect Syntax Error: "compiler/checkSuperCallBeforeThisAccessing5.ts"
Expect Syntax Error: "compiler/checkSuperCallBeforeThisAccessing8.ts"
Expect Syntax Error: "compiler/checkTypePredicateForRedundantProperties.ts"
Expect Syntax Error: "compiler/circularAccessorAnnotations.ts"
-Expect Syntax Error: "compiler/circularBaseConstraint.ts"
Expect Syntax Error: "compiler/circularBaseTypes.ts"
Expect Syntax Error: "compiler/circularConstraintYieldsAppropriateError.ts"
Expect Syntax Error: "compiler/circularModuleImports.ts"
@@ -276,11 +274,6 @@ Expect Syntax Error: "compiler/classExtendsInterfaceThatExtendsClassWithPrivates
Expect Syntax Error: "compiler/classExtendsInterface_not.ts"
Expect Syntax Error: "compiler/classExtendsMultipleBaseClasses.ts"
Expect Syntax Error: "compiler/classExtendsNull.ts"
-Expect Syntax Error: "compiler/classExtendsNull2.ts"
-Expect Syntax Error: "compiler/classExtendsNull3.ts"
-Expect Syntax Error: "compiler/classFieldSuperAccessibleJs1.ts"
-Expect Syntax Error: "compiler/classFieldSuperNotAccessible.ts"
-Expect Syntax Error: "compiler/classFieldSuperNotAccessibleJs.ts"
Expect Syntax Error: "compiler/classImplementsClass2.ts"
Expect Syntax Error: "compiler/classImplementsClass4.ts"
Expect Syntax Error: "compiler/classImplementsClass5.ts"
@@ -412,9 +405,7 @@ Expect Syntax Error: "compiler/contextualTypingOfGenericFunctionTypedArguments1.
Expect Syntax Error: "compiler/contextualTypingOfLambdaReturnExpression.ts"
Expect Syntax Error: "compiler/contextualTypingOfObjectLiterals2.ts"
Expect Syntax Error: "compiler/contextualTypingWithFixedTypeParameters1.ts"
-Expect Syntax Error: "compiler/contextuallyTypedParametersOptionalInJSDoc.ts"
Expect Syntax Error: "compiler/contextuallyTypedParametersWithInitializers.ts"
-Expect Syntax Error: "compiler/contextuallyTypedParametersWithQuestionToken.ts"
Expect Syntax Error: "compiler/contextuallyTypingRestParameters.ts"
Expect Syntax Error: "compiler/continueInIterationStatement4.ts"
Expect Syntax Error: "compiler/continueNotInIterationStatement4.ts"
@@ -476,7 +467,6 @@ Expect Syntax Error: "compiler/deepKeysIndexing.ts"
Expect Syntax Error: "compiler/deeplyNestedAssignabilityErrorsCombined.ts"
Expect Syntax Error: "compiler/deeplyNestedAssignabilityIssue.ts"
Expect Syntax Error: "compiler/deeplyNestedCheck.ts"
-Expect Syntax Error: "compiler/deeplyNestedMappedTypes.ts"
Expect Syntax Error: "compiler/defaultArgsInFunctionExpressions.ts"
Expect Syntax Error: "compiler/defaultArgsInOverloads.ts"
Expect Syntax Error: "compiler/defaultBestCommonTypesHaveDecls.ts"
@@ -486,7 +476,6 @@ Expect Syntax Error: "compiler/defaultValueInFunctionTypes.ts"
Expect Syntax Error: "compiler/definiteAssignmentWithErrorStillStripped.ts"
Expect Syntax Error: "compiler/deleteOperator1.ts"
Expect Syntax Error: "compiler/deleteReadonly.ts"
-Expect Syntax Error: "compiler/deleteReadonlyInStrictNullChecks.ts"
Expect Syntax Error: "compiler/derivedClassOverridesPrivateFunction1.ts"
Expect Syntax Error: "compiler/derivedClasses.ts"
Expect Syntax Error: "compiler/derivedInterfaceCallSignature.ts"
@@ -506,14 +495,12 @@ Expect Syntax Error: "compiler/didYouMeanElaborationsForExpressionsWhichCouldBeC
Expect Syntax Error: "compiler/didYouMeanStringLiteral.ts"
Expect Syntax Error: "compiler/didYouMeanSuggestionErrors.ts"
Expect Syntax Error: "compiler/differentTypesWithSameName.ts"
-Expect Syntax Error: "compiler/discriminateWithMissingProperty.ts"
Expect Syntax Error: "compiler/discriminatedUnionErrorMessage.ts"
Expect Syntax Error: "compiler/dissallowSymbolAsWeakType.ts"
Expect Syntax Error: "compiler/divergentAccessorsTypes2.ts"
Expect Syntax Error: "compiler/divergentAccessorsTypes4.ts"
Expect Syntax Error: "compiler/divergentAccessorsTypes5.ts"
Expect Syntax Error: "compiler/divergentAccessorsTypes6.ts"
-Expect Syntax Error: "compiler/divergentAccessorsTypes8.ts"
Expect Syntax Error: "compiler/divergentAccessorsVisibility1.ts"
Expect Syntax Error: "compiler/doNotElaborateAssignabilityToTypeParameters.ts"
Expect Syntax Error: "compiler/doYouNeedToChangeYourTargetLibraryES2015.ts"
@@ -635,7 +622,6 @@ Expect Syntax Error: "compiler/esModuleInteropUsesExportStarWhenDefaultPlusNames
Expect Syntax Error: "compiler/evalAfter0.ts"
Expect Syntax Error: "compiler/evolvingArrayResolvedAssert.ts"
Expect Syntax Error: "compiler/exactSpellingSuggestion.ts"
-Expect Syntax Error: "compiler/excessPropertiesInOverloads.ts"
Expect Syntax Error: "compiler/excessPropertyCheckIntersectionWithIndexSignature.ts"
Expect Syntax Error: "compiler/excessPropertyCheckIntersectionWithRecursiveType.ts"
Expect Syntax Error: "compiler/excessPropertyCheckWithEmptyObject.ts"
@@ -803,7 +789,6 @@ Expect Syntax Error: "compiler/genericGetter2.ts"
Expect Syntax Error: "compiler/genericGetter3.ts"
Expect Syntax Error: "compiler/genericImplements.ts"
Expect Syntax Error: "compiler/genericIndexTypeHasSensibleErrorMessage.ts"
-Expect Syntax Error: "compiler/genericIndexedAccessVarianceComparisonResultCorrect.ts"
Expect Syntax Error: "compiler/genericInterfacesWithoutTypeArguments.ts"
Expect Syntax Error: "compiler/genericLambaArgWithoutTypeArguments.ts"
Expect Syntax Error: "compiler/genericMappedTypeAsClause.ts"
@@ -917,15 +902,12 @@ Expect Syntax Error: "compiler/indexSignatureWithInitializer.ts"
Expect Syntax Error: "compiler/indexWithUndefinedAndNull.ts"
Expect Syntax Error: "compiler/indexWithUndefinedAndNullStrictNullChecks.ts"
Expect Syntax Error: "compiler/indexWithoutParamType2.ts"
-Expect Syntax Error: "compiler/indexedAccessConstraints.ts"
Expect Syntax Error: "compiler/indexedAccessImplicitlyAny.ts"
Expect Syntax Error: "compiler/indexedAccessPrivateMemberOfGenericConstraint.ts"
Expect Syntax Error: "compiler/indexedAccessRelation.ts"
Expect Syntax Error: "compiler/indexedAccessWithFreshObjectLiteral.ts"
-Expect Syntax Error: "compiler/indexedAccessWithVariableElement.ts"
Expect Syntax Error: "compiler/indexer2A.ts"
Expect Syntax Error: "compiler/indexerConstraints.ts"
-Expect Syntax Error: "compiler/indirectDiscriminantAndExcessProperty.ts"
Expect Syntax Error: "compiler/indirectSelfReference.ts"
Expect Syntax Error: "compiler/indirectSelfReferenceGeneric.ts"
Expect Syntax Error: "compiler/inexistentPropertyInsideToStringType.ts"
@@ -1037,15 +1019,12 @@ Expect Syntax Error: "compiler/jsFileCompilationAmbientVarDeclarationSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationBindDeepExportsAssignment.ts"
Expect Syntax Error: "compiler/jsFileCompilationBindReachabilityErrors.ts"
Expect Syntax Error: "compiler/jsFileCompilationClassMethodContainingArrowFunction.ts"
-Expect Syntax Error: "compiler/jsFileCompilationConstructorOverloadSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationEnumSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationExportAssignmentSyntax.ts"
-Expect Syntax Error: "compiler/jsFileCompilationFunctionOverloadSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationHeritageClauseSyntaxOfClass.ts"
Expect Syntax Error: "compiler/jsFileCompilationImportEqualsSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationInterfaceSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationLetBeingRenamed.ts"
-Expect Syntax Error: "compiler/jsFileCompilationMethodOverloadSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationModuleSyntax.ts"
Expect Syntax Error: "compiler/jsFileCompilationNonNullAssertion.ts"
Expect Syntax Error: "compiler/jsFileCompilationOptionalClassElementSyntaxOfClass.ts"
@@ -1100,11 +1079,9 @@ Expect Syntax Error: "compiler/jsxFactoryIdentifierWithAbsentParameter.ts"
Expect Syntax Error: "compiler/jsxFactoryMissingErrorInsideAClass.ts"
Expect Syntax Error: "compiler/jsxFactoryQualifiedNameResolutionError.ts"
Expect Syntax Error: "compiler/jsxImportSourceNonPragmaComment.tsx"
-Expect Syntax Error: "compiler/jsxIntrinsicDeclaredUsingTemplateLiteralTypeSignatures.tsx"
Expect Syntax Error: "compiler/jsxIntrinsicElementsTypeArgumentErrors.tsx"
Expect Syntax Error: "compiler/jsxIssuesErrorWhenTagExpectsTooManyArguments.tsx"
Expect Syntax Error: "compiler/jsxNamespacePrefixIntrinsics.tsx"
-Expect Syntax Error: "compiler/jsxSpreadTag.ts"
Expect Syntax Error: "compiler/keyofDoesntContainSymbols.ts"
Expect Syntax Error: "compiler/keyofIsLiteralContexualType.ts"
Expect Syntax Error: "compiler/knockout.ts"
@@ -1212,7 +1189,6 @@ Expect Syntax Error: "compiler/multivar.ts"
Expect Syntax Error: "compiler/mutuallyRecursiveCallbacks.ts"
Expect Syntax Error: "compiler/namedFunctionExpressionCallErrors.ts"
Expect Syntax Error: "compiler/namespaceDisambiguationInUnion.ts"
-Expect Syntax Error: "compiler/namespaceNotMergedWithFunctionDefaultExport.ts"
Expect Syntax Error: "compiler/namespacesDeclaration2.ts"
Expect Syntax Error: "compiler/nanEquality.ts"
Expect Syntax Error: "compiler/narrowByEquality.ts"
@@ -1491,7 +1467,6 @@ Expect Syntax Error: "compiler/recursiveTypeParameterConstraintReferenceLacksTyp
Expect Syntax Error: "compiler/recursiveTypeRelations.ts"
Expect Syntax Error: "compiler/recursivelyExpandingUnionNoStackoverflow.ts"
Expect Syntax Error: "compiler/redefineArray.ts"
-Expect Syntax Error: "compiler/relationComplexityError.ts"
Expect Syntax Error: "compiler/relationalOperatorComparable.ts"
Expect Syntax Error: "compiler/renamingDestructuredPropertyInFunctionType.ts"
Expect Syntax Error: "compiler/renamingDestructuredPropertyInFunctionType3.ts"
@@ -2166,7 +2141,6 @@ Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignat
Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignature3.ts"
Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignature7.ts"
Expect Syntax Error: "conformance/constEnums/constEnum2.ts"
-Expect Syntax Error: "conformance/constEnums/constEnumNoObjectPrototypePropertyAccess.ts"
Expect Syntax Error: "conformance/constEnums/constEnumPropertyAccess1.ts"
Expect Syntax Error: "conformance/constEnums/constEnumPropertyAccess2.ts"
Expect Syntax Error: "conformance/controlFlow/controlFlowAliasing.ts"
@@ -2219,9 +2193,7 @@ Expect Syntax Error: "conformance/dynamicImport/importCallExpressionSpecifierNot
Expect Syntax Error: "conformance/enums/enumConstantMemberWithString.ts"
Expect Syntax Error: "conformance/enums/enumConstantMemberWithTemplateLiterals.ts"
Expect Syntax Error: "conformance/enums/enumConstantMembers.ts"
-Expect Syntax Error: "conformance/enums/enumErrorOnConstantBindingWithInitializer.ts"
Expect Syntax Error: "conformance/enums/enumMergingErrors.ts"
-Expect Syntax Error: "conformance/enums/enumShadowedInfinityNaN.ts"
Expect Syntax Error: "conformance/es2017/useObjectValuesAndEntries2.ts"
Expect Syntax Error: "conformance/es2017/useObjectValuesAndEntries3.ts"
Expect Syntax Error: "conformance/es2017/useSharedArrayBuffer2.ts"
@@ -2257,7 +2229,6 @@ Expect Syntax Error: "conformance/es6/Symbols/symbolProperty32.ts"
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty33.ts"
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty34.ts"
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty35.ts"
-Expect Syntax Error: "conformance/es6/Symbols/symbolProperty36.ts"
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty39.ts"
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty42.ts"
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty43.ts"
@@ -2619,7 +2590,6 @@ Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithTypeParameter.ts"
Expect Syntax Error: "conformance/expressions/binaryOperators/inOperator/inOperatorWithInvalidOperands.ts"
Expect Syntax Error: "conformance/expressions/binaryOperators/inOperator/inOperatorWithValidOperands.ts"
-Expect Syntax Error: "conformance/expressions/binaryOperators/instanceofOperator/instanceofOperatorWithInvalidOperands.es2015.ts"
Expect Syntax Error: "conformance/expressions/binaryOperators/instanceofOperator/instanceofOperatorWithInvalidOperands.ts"
Expect Syntax Error: "conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts"
Expect Syntax Error: "conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorWithEveryType.ts"
@@ -2694,7 +2664,6 @@ Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsInIfStatement
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithAny.ts"
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithInstanceOf.ts"
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithInstanceOfByConstructorSignature.ts"
-Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithInstanceOfBySymbolHasInstance.ts"
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction.ts"
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_contextualTyping2.ts"
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_js.ts"
@@ -3004,7 +2973,6 @@ Expect Syntax Error: "conformance/jsx/tsxUnionElementType3.tsx"
Expect Syntax Error: "conformance/jsx/tsxUnionElementType4.tsx"
Expect Syntax Error: "conformance/jsx/tsxUnionElementType6.tsx"
Expect Syntax Error: "conformance/jsx/tsxUnionTypeComponent2.tsx"
-Expect Syntax Error: "conformance/jsx/unicodeEscapesInJsxtags.tsx"
Expect Syntax Error: "conformance/override/override1.ts"
Expect Syntax Error: "conformance/override/override11.ts"
Expect Syntax Error: "conformance/override/override13.ts"
@@ -3227,7 +3195,6 @@ Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserExpression
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement1.d.ts"
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement4.ts"
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement5.ts"
-Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement8.ts"
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement1.d.ts"
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement2.ts"
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement3.ts"
@@ -3334,7 +3301,6 @@ Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatem
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement15.ts"
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement16.ts"
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement20.ts"
-Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement25.ts"
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement5.ts"
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement8.ts"
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement9.ts"
@@ -3352,7 +3318,6 @@ Expect Syntax Error: "conformance/salsa/moduleExportAliasUnknown.ts"
Expect Syntax Error: "conformance/salsa/moduleExportsAliasLoop1.ts"
Expect Syntax Error: "conformance/salsa/moduleExportsAliasLoop2.ts"
Expect Syntax Error: "conformance/salsa/multipleDeclarations.ts"
-Expect Syntax Error: "conformance/salsa/plainJSTypeErrors.ts"
Expect Syntax Error: "conformance/salsa/propertyAssignmentOnUnresolvedImportedSymbol.ts"
Expect Syntax Error: "conformance/salsa/propertyAssignmentUseParentType2.ts"
Expect Syntax Error: "conformance/salsa/thisPropertyAssignment.ts"
@@ -3384,21 +3349,6 @@ Expect Syntax Error: "conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts"
Expect Syntax Error: "conformance/scanner/ecmascript5/scannertest1.ts"
Expect Syntax Error: "conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.ts"
Expect Syntax Error: "conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.1.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.10.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.12.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.13.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.14.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.2.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.3.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.9.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsInForOf.2.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsWithImportHelpers.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/usingDeclarations.10.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/usingDeclarations.14.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/usingDeclarations.4.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/usingDeclarations.9.ts"
-Expect Syntax Error: "conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithImportHelpers.ts"
Expect Syntax Error: "conformance/statements/breakStatements/invalidSwitchBreakStatement.ts"
Expect Syntax Error: "conformance/statements/breakStatements/switchBreakStatements.ts"
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatements.ts"
@@ -3815,7 +3765,6 @@ Expect Syntax Error: "conformance/types/union/unionTypeWithIndexSignature.ts"
Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsDeclarationsInJs.ts"
Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsDeclarationsInJsErrors.ts"
Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts"
-Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsPropertyNames.ts"
Expect Syntax Error: "conformance/types/unknown/unknownControlFlow.ts"
Expect Syntax Error: "conformance/types/unknown/unknownType1.ts"
Expect Syntax Error: "conformance/types/unknown/unknownType2.ts"
@@ -3877,53 +3826,66 @@ Expect to Parse: "conformance/async/es6/asyncWithVarShadowing_es6.ts"
Expect to Parse: "conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts"
× Classes may not have a static property named prototype
- ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:55:1]
- 55 │ class StaticPrototype {
- 56 │ static prototype: number; // always an error
+ ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:27:1]
+ 27 │ class StaticPrototype {
+ 28 │ static prototype: number; // always an error
· ─────────
- 57 │ prototype: string; // ok
+ 29 │ prototype: string; // ok
╰────
× Classes may not have a static property named prototype
- ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:65:1]
- 65 │ class StaticPrototypeFn {
- 66 │ static prototype() {} // always an error
+ ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:32:1]
+ 32 │ class StaticPrototypeFn {
+ 33 │ static prototype() {} // always an error
· ─────────
- 67 │ prototype() {} // ok
+ 34 │ prototype() {} // ok
╰────
× Classes may not have a static property named prototype
- ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:163:1]
- 163 │ var StaticPrototype_Anonymous = class {
- 164 │ static prototype: number; // always an error
- · ─────────
- 165 │ prototype: string; // ok
- ╰────
+ ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:86:1]
+ 86 │ var StaticPrototype_Anonymous = class {
+ 87 │ static prototype: number; // always an error
+ · ─────────
+ 88 │ prototype: string; // ok
+ ╰────
× Classes may not have a static property named prototype
- ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:173:1]
- 173 │ var StaticPrototypeFn_Anonymous = class {
- 174 │ static prototype() {} // always an error
- · ─────────
- 175 │ prototype() {} // ok
- ╰────
+ ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:91:1]
+ 91 │ var StaticPrototypeFn_Anonymous = class {
+ 92 │ static prototype() {} // always an error
+ · ─────────
+ 93 │ prototype() {} // ok
+ ╰────
× Classes may not have a static property named prototype
- ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:280:1]
- 280 │ export default class StaticPrototype {
- 281 │ static prototype: number; // always an error
+ ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:153:1]
+ 153 │ export default class StaticPrototype {
+ 154 │ static prototype: number; // always an error
· ─────────
- 282 │ prototype: string; // ok
+ 155 │ prototype: string; // ok
╰────
× Classes may not have a static property named prototype
- ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:292:1]
- 292 │ export default class StaticPrototypeFn {
- 293 │ static prototype() {} // always an error
+ ╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:160:1]
+ 160 │ export default class StaticPrototypeFn {
+ 161 │ static prototype() {} // always an error
· ─────────
- 294 │ prototype() {} // ok
+ 162 │ prototype() {} // ok
╰────
+Expect to Parse: "conformance/es6/for-ofStatements/for-of53.ts"
+ × Identifier `v` has already been declared
+ ╭─[conformance/es6/for-ofStatements/for-of53.ts:1:1]
+ 1 │ //@target: ES6
+ 2 │ for (let v of []) {
+ · ┬
+ · ╰── `v` has already been declared here
+ 3 │ var v;
+ · ┬
+ · ╰── It can not be redeclared here
+ 4 │ }
+ ╰────
+
Expect to Parse: "conformance/es6/moduleExportsSystem/topLevelVarHoistingCommonJS.ts"
× 'with' statements are not allowed
╭─[conformance/es6/moduleExportsSystem/topLevelVarHoistingCommonJS.ts:67:1]
@@ -3933,15 +3895,6 @@ Expect to Parse: "conformance/es6/moduleExportsSystem/topLevelVarHoistingCommonJ
69 │ var y = _;
╰────
-Expect to Parse: "conformance/esDecorators/esDecorators-preservesThis.ts"
- × Unexpected token
- ╭─[conformance/esDecorators/esDecorators-preservesThis.ts:26:1]
- 26 │ class C {
- 27 │ @super.decorate
- · ─────
- 28 │ method1() { }
- ╰────
-
Expect to Parse: "conformance/externalModules/topLevelAwait.2.ts"
× Cannot use `await` as an identifier in an async context
╭─[conformance/externalModules/topLevelAwait.2.ts:6:1]
@@ -8066,12 +8019,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
· ─
╰────
- × Unexpected token
- ╭─[compiler/parseUnmatchedTypeAssertion.ts:1:1]
- 1 │ @<[[import(obju2c77,
- · ─
- ╰────
-
× Multiple constructor implementations are not allowed.
╭─[compiler/parserConstructorDeclaration12.ts:1:1]
1 │ class C {
@@ -8233,62 +8180,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
4 │
╰────
- × Identifier `v` has already been declared
- ╭─[compiler/shadowedFunctionScopedVariablesByBlockScopedOnes.ts:5:1]
- 5 │ function test1() {
- 6 │ for (let v; ; ) { var v; }
- · ┬ ┬
- · │ ╰── It can not be redeclared here
- · ╰── `v` has already been declared here
- 7 │ }
- ╰────
-
- × Identifier `v` has already been declared
- ╭─[compiler/shadowedFunctionScopedVariablesByBlockScopedOnes.ts:8:1]
- 8 │ function test2() {
- 9 │ for (let v in []) { var v; }
- · ┬ ┬
- · │ ╰── It can not be redeclared here
- · ╰── `v` has already been declared here
- 10 │ }
- ╰────
-
- × Identifier `v` has already been declared
- ╭─[compiler/shadowedFunctionScopedVariablesByBlockScopedOnes.ts:11:1]
- 11 │ function test3() {
- 12 │ for (let v of []) { var v; }
- · ┬ ┬
- · │ ╰── It can not be redeclared here
- · ╰── `v` has already been declared here
- 13 │ }
- ╰────
-
- × Identifier `x` has already been declared
- ╭─[compiler/shadowedFunctionScopedVariablesByBlockScopedOnes.ts:15:1]
- 15 │ {
- 16 │ let x;
- · ┬
- · ╰── `x` has already been declared here
- 17 │ {
- 18 │ var x;
- · ┬
- · ╰── It can not be redeclared here
- 19 │ }
- ╰────
-
- × Identifier `x` has already been declared
- ╭─[compiler/shadowedFunctionScopedVariablesByBlockScopedOnes.ts:24:1]
- 24 │ {
- 25 │ var x;
- · ┬
- · ╰── `x` has already been declared here
- 26 │ }
- 27 │ let x;
- · ┬
- · ╰── It can not be redeclared here
- 28 │ }
- ╰────
-
× Identifier `x` has already been declared
╭─[compiler/shadowingViaLocalValue.ts:1:1]
1 │ {
@@ -9569,15 +9460,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
· ╰── A newline is not expected here
╰────
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[compiler/typeAliasDeclareKeywordNewlines.ts:3:1]
- 3 │ // The following is invalid but should declare a type alias named 'T1':
- 4 │ declare type /*unexpected newline*/
- · ─
- 5 │ T1 = null;
- ╰────
- help: Try insert a semicolon here
-
× Cannot assign to 'eval' in strict mode
╭─[compiler/unaryOperatorsInStrictMode.ts:2:1]
2 │
@@ -9765,22 +9647,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
3 │ }
╰────
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[conformance/ambient/ambientModuleDeclarationWithReservedIdentifierInDottedPath.ts:12:1]
- 12 │
- 13 │ declare module debugger {} // still an error
- · ─
- ╰────
- help: Try insert a semicolon here
-
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[conformance/ambient/ambientModuleDeclarationWithReservedIdentifierInDottedPath2.ts:10:1]
- 10 │
- 11 │ declare namespace debugger {} // still an error
- · ─
- ╰────
- help: Try insert a semicolon here
-
× Cannot use `await` as an identifier in an async context
╭─[conformance/async/es2017/asyncArrowFunction/asyncArrowFunction5_es2017.ts:3:1]
3 │
@@ -12607,14 +12473,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
3 │ ({...[]} = {});
╰────
- × Only a single declaration is allowed in a `for...of` statement
- ╭─[conformance/es6/for-ofStatements/for-of-excess-declarations.ts:1:1]
- 1 │ // @target: esnext
- 2 │ for (const a, { [b]: c} of [1]) {
- · ──────────────────
- 3 │
- ╰────
-
× Missing initializer in const declaration
╭─[conformance/es6/for-ofStatements/for-of2.ts:1:1]
1 │ //@target: ES6
@@ -12646,18 +12504,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
· ╰── `v` has already been declared here
╰────
- × Identifier `v` has already been declared
- ╭─[conformance/es6/for-ofStatements/for-of53.ts:1:1]
- 1 │ //@target: ES6
- 2 │ for (let v of []) {
- · ┬
- · ╰── `v` has already been declared here
- 3 │ var v;
- · ┬
- · ╰── It can not be redeclared here
- 4 │ }
- ╰────
-
× Identifier `v` has already been declared
╭─[conformance/es6/for-ofStatements/for-of54.ts:1:1]
1 │ //@target: ES6
@@ -15051,22 +14897,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
3 │ }
╰────
- × Private identifier '#foo' is not allowed outside class bodies
- ╭─[conformance/esDecorators/esDecorators-privateFieldAccess.ts:5:1]
- 5 │
- 6 │ @dec(x => x.#foo) // error
- · ────
- 7 │ class A {
- ╰────
-
- × Private identifier '#foo' is not allowed outside class bodies
- ╭─[conformance/esDecorators/esDecorators-privateFieldAccess.ts:13:1]
- 13 │
- 14 │ @dec((x: B) => x.#foo) // error
- · ────
- 15 │ class B {
- ╰────
-
× Cannot assign to this expression
╭─[conformance/expressions/assignmentOperator/assignmentLHSIsValue.ts:5:1]
5 │ class C {
@@ -15815,29 +15645,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
1 │ import * as f from "./first" assert {
╰────
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[conformance/importAttributes/importAttributes4.ts:1:1]
- 1 │ import * as f from "./first" with
- · ─
- ╰────
- help: Try insert a semicolon here
-
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[conformance/importAttributes/importAttributes5.ts:1:1]
- 1 │ import * as f from "./first" with {
- · ─
- ╰────
- help: Try insert a semicolon here
-
- × Expected a semicolon or an implicit semicolon after a statement, but found none
- ╭─[conformance/importAttributes/importAttributes6.ts:2:1]
- 2 │ // @filename: mod.mts
- 3 │ import * as thing1 from "./mod.mjs" with { field: 0 };
- · ─
- 4 │ import * as thing2 from "./mod.mjs" with { field: `a` };
- ╰────
- help: Try insert a semicolon here
-
× The keyword 'interface' is reserved
╭─[conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface05.ts:2:1]
2 │
@@ -15950,29 +15757,6 @@ Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
╰────
help: Did you mean to write an array?
- × Missing initializer in const declaration
- ╭─[conformance/jsx/jsxParsingErrorImmediateSpreadInAttributeValue.tsx:10:1]
- 10 │
- 11 │ const X: any
- · ─
- 12 │ const a: any
- ╰────
-
- × Missing initializer in const declaration
- ╭─[conformance/jsx/jsxParsingErrorImmediateSpreadInAttributeValue.tsx:11:1]
- 11 │ const X: any
- 12 │ const a: any
- · ─
- 13 │
- ╰────
-
- × Unexpected token
- ╭─[conformance/jsx/jsxParsingErrorImmediateSpreadInAttributeValue.tsx:13:1]
- 13 │
- 14 │