oxc/tasks/coverage/babel.snap
2023-03-15 12:46:21 +08:00

10767 lines
358 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Babel Summary:
AST Parsed : 2050/2071 (98.99%)
Positive Passed: 2050/2071 (98.99%)
Negative Passed: 1321/1502 (87.95%)
Expect Syntax Error: "annex-b/disabled/1.1-html-comments-close/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions-if-body/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions-multiple-labels/input.js"
Expect Syntax Error: "annex-b/disabled/3.1-sloppy-labeled-functions/input.js"
Expect Syntax Error: "annex-b/disabled/3.2.4-duplicate-function-in-block/input.js"
Expect Syntax Error: "annex-b/disabled/3.2.5-duplicate-function-in-switch/input.js"
Expect Syntax Error: "annex-b/disabled/3.3-function-in-if-body/input.js"
Expect Syntax Error: "annex-b/disabled/3.5-for-in-initializer/input.js"
Expect Syntax Error: "annex-b/enabled/3.1-sloppy-labeled-functions-if-body/input.js"
Expect Syntax Error: "core/categorized/invalid-fn-decl-labeled-inside-if/input.js"
Expect Syntax Error: "core/categorized/invalid-fn-decl-labeled-inside-loop/input.js"
Expect Syntax Error: "core/scope/undecl-export-as-default/input.js"
Expect Syntax Error: "core/scope/undecl-export-as/input.js"
Expect Syntax Error: "core/scope/undecl-export-block/input.js"
Expect Syntax Error: "core/scope/undecl-export-builtin-as/input.js"
Expect Syntax Error: "core/scope/undecl-export-builtin/input.js"
Expect Syntax Error: "core/scope/undecl-export/input.js"
Expect Syntax Error: "es2015/class-methods/direct-super-in-object-method/input.js"
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/modules/duplicate-export-default-and-export-as-default/input.js"
Expect Syntax Error: "es2015/modules/duplicate-export-default/input.js"
Expect Syntax Error: "es2015/modules/duplicate-named-export-class-declaration/input.js"
Expect Syntax Error: "es2015/modules/duplicate-named-export-destructuring-assignment/input.js"
Expect Syntax Error: "es2015/modules/duplicate-named-export-function-declaration/input.js"
Expect Syntax Error: "es2015/modules/duplicate-named-export-variable-declaration/input.js"
Expect Syntax Error: "es2015/modules/duplicate-named-export/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: "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"
Expect Syntax Error: "es2018/object-rest-spread/comma-after-rest/input.js"
Expect Syntax Error: "es2018/object-rest-spread/comma-after-spread-for-in/input.js"
Expect Syntax Error: "es2018/object-rest-spread/comma-after-spread-nested/input.js"
Expect Syntax Error: "es2018/object-rest-spread/no-pattern-in-rest-with-ts/input.js"
Expect Syntax Error: "es2018/object-rest-spread/no-pattern-in-rest/input.js"
Expect Syntax Error: "es2020/dynamic-import/invalid-trailing-comma/input.js"
Expect Syntax Error: "esprima/es2015-export-declaration/invalid-export-named-default/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/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/destructuring-assignent-rest-invalid/input.ts"
Expect Syntax Error: "typescript/cast/unparenthesized-assert-and-assign/input.ts"
Expect Syntax Error: "typescript/cast/unparenthesized-type-assertion-and-assign/input.ts"
Expect Syntax Error: "typescript/class/abstract-method-in-non-abstract-class-1/input.ts"
Expect Syntax Error: "typescript/class/abstract-method-in-non-abstract-class-2/input.ts"
Expect Syntax Error: "typescript/class/abstract-method-in-non-abstract-class-3/input.ts"
Expect Syntax Error: "typescript/class/abstract-method-with-body-computed/input.ts"
Expect Syntax Error: "typescript/class/abstract-method-with-body/input.ts"
Expect Syntax Error: "typescript/class/abstract-property-initializer/input.ts"
Expect Syntax Error: "typescript/class/accessor-invalid/input.ts"
Expect Syntax Error: "typescript/class/constructor-with-invalid-order-modifiers-1/input.ts"
Expect Syntax Error: "typescript/class/constructor-with-invalid-order-modifiers-2/input.ts"
Expect Syntax Error: "typescript/class/constructor-with-invalid-order-modifiers-3/input.ts"
Expect Syntax Error: "typescript/class/constructor-with-type-parameters-babel-7/input.ts"
Expect Syntax Error: "typescript/class/constructor-with-type-parameters/input.ts"
Expect Syntax Error: "typescript/class/declare-accessor/input.ts"
Expect Syntax Error: "typescript/class/declare-field-initializer/input.ts"
Expect Syntax Error: "typescript/class/declare-initializer/input.ts"
Expect Syntax Error: "typescript/class/declare-method/input.ts"
Expect Syntax Error: "typescript/class/declare-readonly-field-initializer-w-annotation/input.ts"
Expect Syntax Error: "typescript/class/duplicate-modifier-1/input.ts"
Expect Syntax Error: "typescript/class/duplicate-modifier-2/input.ts"
Expect Syntax Error: "typescript/class/duplicates-accessibility/input.ts"
Expect Syntax Error: "typescript/class/empty-type-parameters/input.ts"
Expect Syntax Error: "typescript/class/generator-method-with-modifiers/input.ts"
Expect Syntax Error: "typescript/class/index-signature-errors/input.ts"
Expect Syntax Error: "typescript/class/invalid-modifiers-order/input.ts"
Expect Syntax Error: "typescript/class/method-readonly/input.ts"
Expect Syntax Error: "typescript/class/modifiers-incompatible/input.ts"
Expect Syntax Error: "typescript/class/modifiers-index-signatures/input.ts"
Expect Syntax Error: "typescript/class/modifiers-invalid-order/input.ts"
Expect Syntax Error: "typescript/class/modifiers-override-errors/input.ts"
Expect Syntax Error: "typescript/class/parameter-properties-binding-patterns/input.ts"
Expect Syntax Error: "typescript/class/parameter-properties-not-constructor/input.ts"
Expect Syntax Error: "typescript/class/private-fields-modifier-abstract/input.ts"
Expect Syntax Error: "typescript/class/private-fields-modifier-private/input.ts"
Expect Syntax Error: "typescript/class/private-fields-modifier-protected/input.ts"
Expect Syntax Error: "typescript/class/private-fields-modifier-public/input.ts"
Expect Syntax Error: "typescript/class/property-optional-definite-assignment-not-allowed/input.ts"
Expect Syntax Error: "typescript/declare/function/input.ts"
Expect Syntax Error: "typescript/declare/module-class/input.ts"
Expect Syntax Error: "typescript/declare/module-function/input.ts"
Expect Syntax Error: "typescript/declare/namespace-class/input.ts"
Expect Syntax Error: "typescript/declare/namespace-function/input.ts"
Expect Syntax Error: "typescript/decorators/type-arguments-invalid/input.ts"
Expect Syntax Error: "typescript/disallow-jsx-ambiguity/type-assertion/input.ts"
Expect Syntax Error: "typescript/disallow-jsx-ambiguity/type-parameter-babel-7/input.ts"
Expect Syntax Error: "typescript/disallow-jsx-ambiguity/type-parameter/input.ts"
Expect Syntax Error: "typescript/dts/invalid-class-implementation/input.ts"
Expect Syntax Error: "typescript/dts/invalid-class-initializer/input.ts"
Expect Syntax Error: "typescript/expect-plugin/export-interface/input.js"
Expect Syntax Error: "typescript/expect-plugin/export-type-named/input.js"
Expect Syntax Error: "typescript/expect-plugin/export-type/input.js"
Expect Syntax Error: "typescript/export/double-declare/input.ts"
Expect Syntax Error: "typescript/function/empty-type-parameters/input.ts"
Expect Syntax Error: "typescript/function/parameter-properties/input.ts"
Expect Syntax Error: "typescript/function/pattern-optional-parameters-arrow/input.ts"
Expect Syntax Error: "typescript/function/pattern-optional-parameters/input.ts"
Expect Syntax Error: "typescript/import/export-import-type/input.ts"
Expect Syntax Error: "typescript/import/type-equals/input.ts"
Expect Syntax Error: "typescript/interface/abstract/input.ts"
Expect Syntax Error: "typescript/interface/export-abstract-interface/input.ts"
Expect Syntax Error: "typescript/interface/get-set-invalid-optional-parameter-babel-7/input.ts"
Expect Syntax Error: "typescript/interface/get-set-invalid-optional-parameter/input.ts"
Expect Syntax Error: "typescript/interface/get-set-invalid-reset-parameter-babel-7/input.ts"
Expect Syntax Error: "typescript/interface/get-set-invalid-reset-parameter/input.ts"
Expect Syntax Error: "typescript/interface/invalid-modifiers-method-babel-7/input.ts"
Expect Syntax Error: "typescript/interface/invalid-modifiers-method/input.ts"
Expect Syntax Error: "typescript/interface/invalid-modifiers-property/input.ts"
Expect Syntax Error: "typescript/regression/keyword-qualified-type-disallowed/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-class-enum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-class-type/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-constenum-enum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-class/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-constenum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-function/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-interface/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-let/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-type/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-enum-var/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-function-enum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-import-type-import/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-interface-enum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-let-enum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-type-class/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-type-enum/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-type-interface/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-type-type/input.ts"
Expect Syntax Error: "typescript/scope/redeclaration-var-enum/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-accessibility-private-01/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-accessibility-protected-01/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-accessibility-public-01/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-modifier-abstract-01/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-modifier-override-01/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-modifier-override-01/invalid-static-block-with-modifier-abstract/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-block-with-modifier-static/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-blocks-with-modifer-declare-01/input.ts"
Expect Syntax Error: "typescript/static-blocks/invalid-static-blocks-with-modifier-readonly-01/input.ts"
Expect Syntax Error: "typescript/tsx/invalid-gt-arrow-like/input.ts"
Expect Syntax Error: "typescript/type-arguments/call-optional-chain-invalid/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-function/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-interface-extends/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-interface-implements/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-new/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-superclass/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-tsx/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-type-import/input.ts"
Expect Syntax Error: "typescript/type-arguments/empty-type-ref/input.ts"
Expect Syntax Error: "typescript/type-arguments/instantiation-expression-property-access/input.ts"
Expect Syntax Error: "typescript/type-only-import-export-specifiers/export-invalid-type-in-type/input.ts"
Expect Syntax Error: "typescript/type-only-import-export-specifiers/import-invalid-type-in-type/input.ts"
Expect Syntax Error: "typescript/types/import-type-declaration-error/input.ts"
Expect Syntax Error: "typescript/types/import-type-dynamic-errors/input.ts"
Expect Syntax Error: "typescript/types/intrinsic-keyword-error/input.ts"
Expect Syntax Error: "typescript/types/no-annotation-in-destructuring/input.ts"
Expect Syntax Error: "typescript/types/no-optional-in-destructuring-in-params/input.ts"
Expect Syntax Error: "typescript/types/no-optional-in-destructuring/input.ts"
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: "comments/decorators/decorators-after-export/input.js"
× Cannot use export statement outside a module
╭─[comments/decorators/decorators-after-export/input.js:1:1]
1 │ /* 1 */ export /* 2 */ @dec1 /* 3 */ @dec2
· ──────
2 │ /* 4 */ class /* 5 */ C /* 6 */ { /* 7 */ } /* 8 */
╰────
× Cannot use export statement outside a module
╭─[comments/decorators/decorators-after-export/input.js:3:1]
3 │
4 │ /* A */ export /* B */ default /* C */ @dec1 /* D */ @dec2
· ──────
5 │ /* E */ class /* F */ { /* G */ } /* H */
╰────
Expect to Parse: "comments/decorators/decorators-before-export/input.js"
× Cannot use export statement outside a module
╭─[comments/decorators/decorators-before-export/input.js:1:1]
1 │ /* 1 */ @dec1 /* 2 */ @dec2 /* 3 */
2 │ export /* 4 */ class /* 5 */ C /* 6 */ { /* 7 */ } /* 8 */
· ──────
3 │
╰────
× Cannot use export statement outside a module
╭─[comments/decorators/decorators-before-export/input.js:4:1]
4 │ /* A */ @dec1 /* B */ @dec2 /* C */
5 │ export /* D */ default /* E */ class /* F */ { /* G */ } /* H */
· ──────
╰────
Expect to Parse: "core/opts/allowNewTargetOutsideFunction-true/input.js"
× Unexpected new.target expression
╭─[core/opts/allowNewTargetOutsideFunction-true/input.js:1:1]
1 │ const x = new.target;
· ──────────
2 │ const y = () => new.target;
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
× Unexpected new.target expression
╭─[core/opts/allowNewTargetOutsideFunction-true/input.js:1:1]
1 │ const x = new.target;
2 │ const y = () => new.target;
· ──────────
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
Expect to Parse: "core/scope/dupl-bind-func-var/input.js"
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-func-var/input.js:1:1]
1 │ function foo() {}
· ─┬─
· ╰── `foo` has already been declared here
2 │ var foo = 1;
· ─┬─
· ╰── It can not be redeclared here
╰────
Expect to Parse: "core/scope/dupl-bind-gen-gen-script/input.js"
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-gen-gen-script/input.js:1:1]
1 │ function *foo() {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ function *foo() {};
· ─┬─
· ╰── It can not be redeclared here
╰────
Expect to Parse: "core/uncategorised/327/input.js"
× TS1108: A 'return' statement can only be used within a function body
╭─[core/uncategorised/327/input.js:1:1]
1 │ return {} / 2
· ───┬──
· ╰── A 'return' statement can only be used within a function body.
╰────
Expect to Parse: "core/uncategorised/328/input.js"
× TS1108: A 'return' statement can only be used within a function body
╭─[core/uncategorised/328/input.js:1:1]
1 │ return
· ───┬──
· ╰── A 'return' statement can only be used within a function body.
2 │ {}
╰────
Expect to Parse: "typescript/arrow-function/generic-tsx-babel-7/input.ts"
× Expect token
╭─[typescript/arrow-function/generic-tsx-babel-7/input.ts:1:1]
1 │ // Same as `generic`. Verify that JSX doesn't change things.
2 │ <T>(a: T): T => a;
· ┬
· ╰── Expect `<` here, but found `EOF`
╰────
Expect to Parse: "typescript/cast/satisfies/input.ts"
× Automatic Semicolon Insertion
╭─[typescript/cast/satisfies/input.ts:1:1]
1 │ x satisfies T;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ x < y satisfies boolean; // (x < y) satisfies boolean;
╰────
help: Try insert a semicolon here
Expect to Parse: "typescript/class/constructor-with-modifier-names/input.ts"
× Multiple constructor implementations are not allowed.
╭─[typescript/class/constructor-with-modifier-names/input.ts:1:1]
1 │ class Foo {
2 │ constructor(set, readonly) {}
· ─────┬─────
· ╰── constructor has already been declared here
3 │ constructor(set: any, readonly: boolean) {}
· ─────┬─────
· ╰── it cannot be redeclared here
4 │ }
╰────
Expect to Parse: "typescript/declare/function-rest-trailing-comma/input.ts"
× Rest element must be last element
╭─[typescript/declare/function-rest-trailing-comma/input.ts:1:1]
1 │ declare function foo(...args: any[], )
· ───────┬──────
· ╰── Rest element must be last element
╰────
Expect to Parse: "typescript/dts/no-initializer/input.ts"
× Missing initializer in const declaration
╭─[typescript/dts/no-initializer/input.ts:1:1]
1 │ const x: number;
· ┬
· ╰── const declaration need an initializer
╰────
Expect to Parse: "typescript/dts/valid-trailing-comma-for-rest/input.ts"
× Rest element must be last element
╭─[typescript/dts/valid-trailing-comma-for-rest/input.ts:1:1]
1 │ function foo(...args: any[], );
· ───────┬──────
· ╰── Rest element must be last element
╰────
Expect to Parse: "typescript/interface/get-set-properties/input.ts"
× Expect token
╭─[typescript/interface/get-set-properties/input.ts:1:1]
1 │ interface Foo {
2 │ get foo: string;
· ┬
· ╰── Expect `(` here, but found `:`
3 │ set bar: string;
╰────
Expect to Parse: "typescript/module-namespace/body-nested-declare/input.ts"
× Missing initializer in const declaration
╭─[typescript/module-namespace/body-nested-declare/input.ts:2:1]
2 │ namespace B {
3 │ const x: number;
· ┬
· ╰── const declaration need an initializer
4 │ }
╰────
Expect to Parse: "typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts"
× Expect token
╭─[typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts:1:1]
1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G;
· ───┬───
· ╰── Expect `,` here, but found `extends`
╰────
Expect to Parse: "typescript/regression/nested-extends-in-arrow-type-param/input.ts"
× Expect token
╭─[typescript/regression/nested-extends-in-arrow-type-param/input.ts:1:1]
1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G;
· ───┬───
· ╰── Expect `,` here, but found `extends`
╰────
Expect to Parse: "typescript/type-arguments-bit-shift-left-like-babel-7/decorator-call-expression/input.ts"
× Unexpected token
╭─[typescript/type-arguments-bit-shift-left-like-babel-7/decorator-call-expression/input.ts:1:1]
1 │ (@f<<T>(v: T) => void>() class {});
· ─
╰────
Expect to Parse: "typescript/type-arguments-bit-shift-left-like/decorator-call-expression/input.ts"
× Unexpected token
╭─[typescript/type-arguments-bit-shift-left-like/decorator-call-expression/input.ts:1:1]
1 │ (@f<<T>(v: T) => void>() class {});
· ─
╰────
Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
× Unexpected token
╭─[typescript/types/const-type-parameters-babel-7/input.ts:1:1]
1 │ function a<const T>() {}
· ─────
2 │ function b<const T extends U>() {}
╰────
Expect to Parse: "typescript/types/const-type-parameters/input.ts"
× Unexpected token
╭─[typescript/types/const-type-parameters/input.ts:1:1]
1 │ function a<const T>() {}
· ─────
2 │ function b<const T extends U>() {}
╰────
× Identifier `f` has already been declared
╭─[annex-b/disabled/3.4-var-redeclaration-catch-binding/input.js:1:1]
1 │ try {} catch (e) { var e; }
2 │ try {} catch ({ f }) { var f; }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `f` has already been declared here
╰────
× Identifier `f` has already been declared
╭─[annex-b/enabled/3.4-var-redeclaration-catch-binding/input.js:1:1]
1 │ try {} catch (e) { var e; }
2 │ try {} catch ({ f }) { var f; }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `f` has already been declared here
╰────
× Expect token
╭─[core/categorized/for-missing-semicolons/input.js:2:1]
2 │ var a = 1
3 │ a < 3
· ┬
· ╰── Expect `;` here, but found `Identifier`
4 │ a++
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-1/input.js:1:1]
1 │ (a = 1) = t
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-2/input.js:1:1]
1 │ [(a = 1)] = t
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-3/input.js:1:1]
1 │ [({ a: [b = 2]})] = t
· ───────┬───────
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-4/input.js:1:1]
1 │ [{b: [([a = 1])]}] = t
· ────┬────
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-5/input.js:1:1]
1 │ [([x])] = t;
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-6/input.js:1:1]
1 │ (a += 1) = t
· ───┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-7/input.js:1:1]
1 │ (a -= 1) = t
· ───┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-assignment-pattern-8/input.js:1:1]
1 │ (b = (a -= 1)) = t
· ──────┬─────
· ╰── Cannot assign to this expression
╰────
× Invalid function declaration
╭─[core/categorized/invalid-fn-decl-inside-loop/input.js:1:1]
1 │ while (1) function foo(){}
· ────────────────
╰────
help: In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement
× Invalid assignment
╭─[core/categorized/invalid-left-hand-side-in-postfix-operation/input.js:1:1]
1 │ a++ = t
· ─┬─
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/categorized/invalid-left-hand-side-in-prefix-operation/input.js:1:1]
1 │ ++a = t
· ─┬─
· ╰── Cannot assign to this expression
╰────
× Unexpected token
╭─[core/categorized/malformed-switch/input.js:1:1]
1 │ switch (x) {
2 │ var y = 5;
· ───
3 │ }
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-2/input.js:1:1]
1 │ [{b: [([a = 1])]}] = t
· ────┬────
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-3/input.js:1:1]
1 │ [({ a: [b = 2]})] = t
· ───────┬───────
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-4/input.js:1:1]
1 │ [(a = 1)] = t
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-5/input.js:1:1]
1 │ (a = 1) = t
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-6/input.js:1:1]
1 │ ([a]) = []
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern/input.js:1:1]
1 │ ({x}) = {x: 1};
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/create-parenthesized-expressions/invalid-parenthesized-left-hand-side/input.js:1:1]
1 │ (!a) += 1
· ─┬
· ╰── Cannot assign to this expression
╰────
× Automatic Semicolon Insertion
╭─[core/create-parenthesized-expressions/invalid-pattern-in-rest-binding/input.js:1:1]
1 │ ([...(a)]) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid assignment
╭─[core/create-parenthesized-expressions/valid-parenthesized-assignment-array-pattern-3/input.js:1:1]
1 │ [([x])] = t;
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Unexpected token
╭─[core/escape-keyword/invalid/input.js:2:1]
2 │ br\u{65}ak
3 │ };
· ─
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:1:1]
1 │ function a() {
2 │ "\5";
· ────
3 │ "use strict";
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:6:1]
6 │ function b() {
7 │ "\4";
· ────
8 │ "\5";
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:7:1]
7 │ "\4";
8 │ "\5";
· ────
9 │ "use strict";
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:13:1]
13 │ "use strict";
14 │ "\5";
· ────
15 │ }
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:18:1]
18 │ "use strict";
19 │ "\4";
· ────
20 │ "\5";
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:19:1]
19 │ "\4";
20 │ "\5";
· ────
21 │ }
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive/input.js:1:1]
1 │ "\01 foo \02 bar \03";
· ─────────────────────
2 │
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive/input.js:2:1]
2 │
3 │ "\4";
· ────
4 │ "\5";
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive/input.js:3:1]
3 │ "\4";
4 │ "\5";
· ────
5 │
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive/input.js:7:1]
7 │
8 │ "\4";
· ────
9 │ "\5";
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive/input.js:8:1]
8 │ "\4";
9 │ "\5";
· ────
10 │
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/invalid-decimal-escape-strict-directive/input.js:10:1]
10 │
11 │ "\04 foo \05 bar \06";
· ─────────────────────
╰────
help: for octal literals use the '0o' prefix instead
× Invalid escape sequence
╭─[core/escape-string/non-octal-eight-and-nine-before-use-strict/input.js:1:1]
1 │ () => {
2 │ "\8";"\9";
· ────
3 │ "use strict";
╰────
help: \8 and \9 are not allowed in strict mode
× Invalid escape sequence
╭─[core/escape-string/non-octal-eight-and-nine-before-use-strict/input.js:1:1]
1 │ () => {
2 │ "\8";"\9";
· ────
3 │ "use strict";
╰────
help: \8 and \9 are not allowed in strict mode
× Invalid escape sequence
╭─[core/escape-string/non-octal-eight-and-nine-before-use-strict/input.js:3:1]
3 │ "use strict";
4 │ "\8";"\9";
· ────
5 │ }
╰────
help: \8 and \9 are not allowed in strict mode
× Invalid escape sequence
╭─[core/escape-string/non-octal-eight-and-nine-before-use-strict/input.js:3:1]
3 │ "use strict";
4 │ "\8";"\9";
· ────
5 │ }
╰────
help: \8 and \9 are not allowed in strict mode
× Invalid escape sequence
╭─[core/escape-string/non-octal-eight-and-nine/input.js:3:1]
3 │ "use strict";
4 │ "\8";"\9";
· ────
5 │ }
╰────
help: \8 and \9 are not allowed in strict mode
× Invalid escape sequence
╭─[core/escape-string/non-octal-eight-and-nine/input.js:3:1]
3 │ "use strict";
4 │ "\8";"\9";
· ────
5 │ }
╰────
help: \8 and \9 are not allowed in strict mode
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/numeric-escape-in-directive/input.js:1:1]
1 │ function hello() { "use strict"; function inner() { "octal directive\1"; } }
· ───────────────────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/escape-string/numeric-escape-in-property-name/input.js:1:1]
1 │ function hello() { 'use strict'; ({ "\1": 42 }); }
· ────
╰────
help: for octal literals use the '0o' prefix instead
× Bad escape sequence in untagged template literal
╭─[core/escape-template/non-octal-eight/input.js:1:1]
1 │ `\8`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[core/escape-template/non-octal-nine/input.js:1:1]
1 │ `\9`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/legacy-octal/legacy-octal-after-use-strict-function/input.js:2:1]
2 │ "use strict";
3 │ 05;
· ──
4 │ }
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/legacy-octal/legacy-octal-after-use-strict-function/input.js:7:1]
7 │ "use strict";
8 │ 04;
· ──
9 │ 05;
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/legacy-octal/legacy-octal-after-use-strict-function/input.js:8:1]
8 │ 04;
9 │ 05;
· ──
10 │ }
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/legacy-octal/legacy-octal-after-use-strict/input.js:1:1]
1 │ "use strict"; 04; 05;
· ──
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/legacy-octal/legacy-octal-after-use-strict/input.js:1:1]
1 │ "use strict"; 04; 05;
· ──
╰────
help: for octal literals use the '0o' prefix instead
× Keywords cannot contain escape characters
╭─[core/object/invalid-escape-get/input.js:1:1]
1 │ ({ ge\u0074 x() {} })
· ────┬───
· ╰── keyword cannot contain escape characters
╰────
× A 'set' accessor must have exactly one parameter.
╭─[core/object/invalid-setter/input.js:1:1]
1 │ ({ set x(){} })
· ─┬
· ╰── A 'set' accessor must have exactly one parameter.
╰────
× Expect token
╭─[core/opts/allowAwaitOutsideFunction-false/input.js:1:1]
1 │ for await (const i of imports) {}
· ──┬──
· ╰── Expect `(` here, but found `await`
╰────
× Unexpected new.target expression
╭─[core/opts/allowNewTargetOutsideFunction-false-2/input.js:1:1]
1 │ const y = () => new.target;
· ──────────
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
× Unexpected new.target expression
╭─[core/opts/allowNewTargetOutsideFunction-false/input.js:1:1]
1 │ const x = new.target;
· ──────────
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
× Unexpected token
╭─[core/regression/13694-invalid-dot-bracketL-member/input.js:1:1]
1 │ a.[b]
· ─
╰────
× Unexpected token
╭─[core/regression/T2921/input.js:1:1]
1 │ a <== b;
· ─
╰────
× Decimals with leading zeros are not allowed in strict mode
╭─[core/regression/non-octal-float-strict-mode/input.js:1:1]
1 │ 09.5
· ────
╰────
help: remove the leading zero
× Automatic Semicolon Insertion
╭─[core/regression/octal-float-fail/input.js:1:1]
1 │ 07.5
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-2nd-lvl-lex-nested/input.js:2:1]
2 │ let bar;
3 │ var foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
4 │ let foo = 1;
· ─┬─
· ╰── It can not be redeclared here
5 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-2nd-lvl-lex/input.js:1:1]
1 │ let bar;
2 │ var foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
3 │ let foo = 1;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-2nd-lvl-var-nested/input.js:2:1]
2 │ let bar;
3 │ let foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
4 │ var foo = 1;
· ─┬─
· ╰── It can not be redeclared here
5 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-2nd-lvl-var/input.js:1:1]
1 │ let bar;
2 │ let foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
3 │ var foo = 1;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-arr-destr/input.js:1:1]
1 │ try {
2 │ } catch ([foo, foo]) {
· ─┬─ ─┬─
· │ ╰── It can not be redeclared here
· ╰── `foo` has already been declared here
3 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-dbl-let/input.js:1:1]
1 │ let foo; try {} catch (foo) {} let foo;
· ─┬─ ─┬─
· │ ╰── It can not be redeclared here
· ╰── `foo` has already been declared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-func/input.js:1:1]
1 │ try {
2 │ } catch (foo) {
· ─┬─
· ╰── `foo` has already been declared here
3 │ function foo() {}
· ─┬─
· ╰── It can not be redeclared here
4 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-let/input.js:1:1]
1 │ try {
2 │ } catch (foo) {
· ─┬─
· ╰── `foo` has already been declared here
3 │ let foo;
· ─┬─
· ╰── It can not be redeclared here
4 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-obj-destr/input.js:1:1]
1 │ try {
2 │ } catch ({ a: foo, b: { c: [foo] } }) {
· ─┬─ ─┬─
· │ ╰── It can not be redeclared here
· ╰── `foo` has already been declared here
3 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-var-arr-destr/input.js:1:1]
1 │ try {
2 │ } catch ([foo]) {
· ─┬─
· ╰── `foo` has already been declared here
3 │ var foo;
· ─┬─
· ╰── It can not be redeclared here
4 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-catch-var-obj-destr/input.js:1:1]
1 │ try {
2 │ } catch ({ foo }) {
· ─┬─
· ╰── `foo` has already been declared here
3 │ var foo;
· ─┬─
· ╰── It can not be redeclared here
4 │ }
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-class-class/input.js:1:1]
1 │ class foo {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ class foo {};
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-class-const/input.js:1:1]
1 │ class foo {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ const foo = 1;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-class-func/input.js:1:1]
1 │ class foo {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ function foo () {};
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-class-let/input.js:1:1]
1 │ class foo {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ let foo = 1;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-class-var/input.js:1:1]
1 │ class foo {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ var foo;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-const-const/input.js:1:1]
1 │ const foo=1, foo=2;
· ─┬─ ─┬─
· │ ╰── It can not be redeclared here
· ╰── `foo` has already been declared here
╰────
× Identifier `f` has already been declared
╭─[core/scope/dupl-bind-func-gen/input.js:1:1]
1 │ { function f() {} function* f() {} }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `f` has already been declared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-func-module-sloppy/input.js:1:1]
1 │ { function foo() {} function foo() {} }
· ─┬─ ─┬─
· │ ╰── It can not be redeclared here
· ╰── `foo` has already been declared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-func-module/input.js:1:1]
1 │ function foo() {}
· ─┬─
· ╰── `foo` has already been declared here
2 │ function foo() {}
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-func-var-sloppy/input.js:1:1]
1 │ {
2 │ function foo() {}
· ─┬─
· ╰── `foo` has already been declared here
3 │ var foo = 1;
· ─┬─
· ╰── It can not be redeclared here
4 │ }
╰────
× Identifier `f` has already been declared
╭─[core/scope/dupl-bind-gen-func/input.js:1:1]
1 │ { function* f() {} function f() {} }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `f` has already been declared here
╰────
× Identifier `foo` has already been declared
╭─[core/scope/dupl-bind-let-let/input.js:1:1]
1 │ let foo, foo;
· ─┬─ ─┬─
· │ ╰── It can not be redeclared here
· ╰── `foo` has already been declared here
╰────
× Identifier `a` has already been declared
╭─[core/scope/dupl-bind-nested-let-var/input.js:1:1]
1 │ {
2 │ let a;
· ┬
· ╰── `a` has already been declared here
3 │ { var a; }
· ┬
· ╰── It can not be redeclared here
4 │ }
╰────
× Identifier `i` has already been declared
╭─[core/scope/for-var/input.js:1:1]
1 │ for (let i = 0;;) {
· ┬
· ╰── `i` has already been declared here
2 │ var i;
· ┬
· ╰── It can not be redeclared here
3 │ }
╰────
× Invalid function declaration
╭─[core/scope/undecl-export-if/input.js:1:1]
1 │ export { encrypt };
2 │ if (true) function encrypt() {}
· ─────────────────────
╰────
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 'get' accessor must not have any formal parameters.
╰────
× 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.
╰────
× A 'set' accessor must have exactly one parameter.
╭─[core/uncategorised/.544/input.js:1:1]
1 │ ({ set prop(x, y) {} })
· ───┬──
· ╰── A 'set' accessor must have exactly one parameter.
╰────
× Automatic Semicolon Insertion
╭─[core/uncategorised/108/input.js:1:1]
1 │ var x = /[P QR]/\u0067
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[core/uncategorised/345/input.js:1:1]
1 │ {
· ┬
· ╰── Expect `}` here, but found `EOF`
╰────
× Unexpected token
╭─[core/uncategorised/346/input.js:1:1]
1 │ }
· ─
╰────
× Invalid Character `a`
╭─[core/uncategorised/347/input.js:1:1]
1 │ 3ea
· ▲
· ╰── Invalid Character `a`
╰────
× Invalid characters after number
╭─[core/uncategorised/347/input.js:1:1]
1 │ 3ea
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[core/uncategorised/348/input.js:1:1]
1 │ 3in []
· ─┬
· ╰── Invalid characters after number
╰────
× Unexpected end of file
╭─[core/uncategorised/349/input.js:1:1]
1 │ 3e
╰────
× Invalid Number
╭─[core/uncategorised/349/input.js:1:1]
1 │ 3e
· ─┬
· ╰── invalid float
╰────
× Unexpected end of file
╭─[core/uncategorised/350/input.js:1:1]
1 │ 3e+
╰────
× Invalid Number
╭─[core/uncategorised/350/input.js:1:1]
1 │ 3e+
· ─┬─
· ╰── invalid float
╰────
× Unexpected end of file
╭─[core/uncategorised/351/input.js:1:1]
1 │ 3e-
╰────
× Invalid Number
╭─[core/uncategorised/351/input.js:1:1]
1 │ 3e-
· ─┬─
· ╰── invalid float
╰────
× Invalid characters after number
╭─[core/uncategorised/352/input.js:1:1]
1 │ 3x
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[core/uncategorised/353/input.js:1:1]
1 │ 3x0
· ┬
· ╰── Invalid characters after number
╰────
× Unexpected end of file
╭─[core/uncategorised/354/input.js:1:1]
1 │ 0x
╰────
× Invalid characters after number
╭─[core/uncategorised/357/input.js:1:1]
1 │ 01a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[core/uncategorised/358/input.js:1:1]
1 │ 3in[]
· ─┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[core/uncategorised/359/input.js:1:1]
1 │ 0x3in[]
· ─┬
· ╰── Invalid characters after number
╰────
× Unterminated string
╭─[core/uncategorised/360/input.js:1:1]
1 │ "Hello
· ───┬───
· ╰── Unterminated string
2 │ World"
╰────
× Invalid Character `\`
╭─[core/uncategorised/362/input.js:1:1]
1 │ x\u005c
╰────
× Invalid Character `*`
╭─[core/uncategorised/363/input.js:1:1]
1 │ x\u002a
╰────
× Unterminated regular expression
╭─[core/uncategorised/364/input.js:1:1]
1 │ /
· ┬
· ╰── Unterminated regular expression
╰────
× Unterminated regular expression
╭─[core/uncategorised/365/input.js:1:1]
1 │ /test
· ──┬──
· ╰── Unterminated regular expression
╰────
× Invalid Unicode escape sequence
╭─[core/uncategorised/366/input.js:1:1]
1 │ var x = /[a-z]/\ux
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Automatic Semicolon Insertion
╭─[core/uncategorised/366/input.js:1:1]
1 │ var x = /[a-z]/\ux
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid assignment
╭─[core/uncategorised/367/input.js:1:1]
1 │ 3 = 4
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/368/input.js:1:1]
1 │ func() = 4
· ───┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/369/input.js:1:1]
1 │ (1 + 1) = 10
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/370/input.js:1:1]
1 │ 1++
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/371/input.js:1:1]
1 │ 1--
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/372/input.js:1:1]
1 │ ++1
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/373/input.js:1:1]
1 │ --1
· ┬
· ╰── Cannot assign to this expression
╰────
× Unexpected token
╭─[core/uncategorised/374/input.js:1:1]
1 │ for((1 + 1) in list) process(x);
· ───────
╰────
× Expect token
╭─[core/uncategorised/375/input.js:1:1]
1 │ [
· ┬
· ╰── Expect `]` here, but found `EOF`
╰────
× Unexpected token
╭─[core/uncategorised/376/input.js:1:1]
1 │ [,
· ─
╰────
× Expect token
╭─[core/uncategorised/377/input.js:1:1]
1 │ 1 + {
· ┬
· ╰── Expect `}` here, but found `EOF`
╰────
× Expect token
╭─[core/uncategorised/378/input.js:1:1]
1 │ 1 + { t:t
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Unexpected token
╭─[core/uncategorised/379/input.js:1:1]
1 │ 1 + { t:t,
· ─
╰────
× Unterminated regular expression
╭─[core/uncategorised/380/input.js:1:1]
1 │ var x = /
· ─┬
· ╰── Unterminated regular expression
2 │ /
╰────
× Unterminated string
╭─[core/uncategorised/381/input.js:1:1]
1 │ var x = "
· ─┬
· ╰── Unterminated string
╰────
× Unexpected token
╭─[core/uncategorised/382/input.js:1:1]
1 │ var if = 42
· ──
╰────
× Invalid assignment
╭─[core/uncategorised/383/input.js:1:1]
1 │ i + 2 = 42
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[core/uncategorised/384/input.js:1:1]
1 │ +i = 42
· ─┬
· ╰── Cannot assign to this expression
╰────
× Expect token
╭─[core/uncategorised/385/input.js:1:1]
1 │ 1 + (
· ┬
· ╰── Expect `)` here, but found `EOF`
╰────
× Expect token
╭─[core/uncategorised/386/input.js:3:1]
3 │
4 │ {
· ┬
· ╰── Expect `}` here, but found `EOF`
╰────
× Unexpected token
╭─[core/uncategorised/387/input.js:3:1]
3 │ comment */
4 │ )
· ─
╰────
× Automatic Semicolon Insertion
╭─[core/uncategorised/388/input.js:1:1]
1 │ { set 1 }
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[core/uncategorised/389/input.js:1:1]
1 │ { get 2 }
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[core/uncategorised/390/input.js:1:1]
1 │ ({ set: s(if) { } })
· ──
╰────
× Unexpected token
╭─[core/uncategorised/391/input.js:1:1]
1 │ ({ set s(.) { } })
· ─
╰────
× Expect token
╭─[core/uncategorised/392/input.js:1:1]
1 │ ({ set: s() { } })
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Expect token
╭─[core/uncategorised/393/input.js:1:1]
1 │ ({ set: s(a, b) { } })
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Expect token
╭─[core/uncategorised/394/input.js:1:1]
1 │ ({ get: g(d) { } })
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Unexpected token
╭─[core/uncategorised/395/input.js:1:1]
1 │ function t(...) { }
· ─
╰────
× Rest element must be last element
╭─[core/uncategorised/396/input.js:1:1]
1 │ function t(...rest, b) { }
· ───┬───
· ╰── Rest element must be last element
╰────
× Unexpected token
╭─[core/uncategorised/397/input.js:1:1]
1 │ function t(if) { }
· ──
╰────
× Unexpected token
╭─[core/uncategorised/398/input.js:1:1]
1 │ function t(true) { }
· ────
╰────
× Unexpected token
╭─[core/uncategorised/399/input.js:1:1]
1 │ function t(false) { }
· ─────
╰────
× Unexpected token
╭─[core/uncategorised/400/input.js:1:1]
1 │ function t(null) { }
· ────
╰────
× Expect token
╭─[core/uncategorised/401/input.js:1:1]
1 │ function null() { }
· ──┬─
· ╰── Expect `(` here, but found `null`
╰────
× Expect token
╭─[core/uncategorised/402/input.js:1:1]
1 │ function true() { }
· ──┬─
· ╰── Expect `(` here, but found `true`
╰────
× Expect token
╭─[core/uncategorised/403/input.js:1:1]
1 │ function false() { }
· ──┬──
· ╰── Expect `(` here, but found `false`
╰────
× Expect token
╭─[core/uncategorised/404/input.js:1:1]
1 │ function if() { }
· ─┬
· ╰── Expect `(` here, but found `if`
╰────
× Automatic Semicolon Insertion
╭─[core/uncategorised/405/input.js:1:1]
1 │ a b;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[core/uncategorised/406/input.js:1:1]
1 │ if.a;
· ┬
· ╰── Expect `(` here, but found `.`
╰────
× Automatic Semicolon Insertion
╭─[core/uncategorised/407/input.js:1:1]
1 │ a if;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[core/uncategorised/408/input.js:1:1]
1 │ a class;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Illegal break statement
╭─[core/uncategorised/409/input.js:1:1]
1 │ break
· ─────
╰────
help: A `break` statement can only be used within an enclosing iteration or switch statement.
× Unexpected token
╭─[core/uncategorised/410/input.js:1:1]
1 │ break 1;
· ─
╰────
× Illegal continue statement: no surrounding iteration statement
╭─[core/uncategorised/411/input.js:1:1]
1 │ continue
· ────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Unexpected token
╭─[core/uncategorised/412/input.js:1:1]
1 │ continue 2;
· ─
╰────
× Unexpected token
╭─[core/uncategorised/413/input.js:1:1]
1 │ throw
· ─
╰────
× Unexpected token
╭─[core/uncategorised/414/input.js:1:1]
1 │ throw;
· ─
╰────
× Only a single declaration is allowed in a `for...in` statement
╭─[core/uncategorised/415/input.js:1:1]
1 │ for (var i, i2 in {});
· ─────────
╰────
× Expect token
╭─[core/uncategorised/416/input.js:1:1]
1 │ for ((i in {}));
· ┬
· ╰── Expect `;` here, but found `)`
╰────
× Unexpected token
╭─[core/uncategorised/417/input.js:1:1]
1 │ for (i + 1 in {});
· ─────
╰────
× Unexpected token
╭─[core/uncategorised/418/input.js:1:1]
1 │ for (+i in {});
· ──
╰────
× Unexpected token
╭─[core/uncategorised/419/input.js:1:1]
1 │ if(false)
· ─
╰────
× Unexpected token
╭─[core/uncategorised/420/input.js:1:1]
1 │ if(false) doThis(); else
· ─
╰────
× Unexpected token
╭─[core/uncategorised/421/input.js:1:1]
1 │ do
· ─
╰────
× Unexpected token
╭─[core/uncategorised/422/input.js:1:1]
1 │ while(false)
· ─
╰────
× Unexpected token
╭─[core/uncategorised/423/input.js:1:1]
1 │ for(;;)
· ─
╰────
× Unexpected token
╭─[core/uncategorised/424/input.js:1:1]
1 │ with(x)
· ─
╰────
× Missing catch or finally clause
╭─[core/uncategorised/425/input.js:1:1]
1 │ try { }
╰────
× Invalid Character `‿`
╭─[core/uncategorised/426/input.js:1:1]
1 │ ‿ = 10
· ┬
· ╰── Invalid Character `‿`
╰────
× Identifier `default` has already been declared
╭─[core/uncategorised/427/input.js:1:1]
1 │ switch (c) { default: default: }
· ────┬─── ────┬───
· │ ╰── It can not be redeclared here
· ╰── `default` has already been declared here
╰────
× Unexpected token
╭─[core/uncategorised/428/input.js:1:1]
1 │ new X()."s"
· ───
╰────
× Unterminated multiline comment
╭─[core/uncategorised/429/input.js:1:1]
1 │ /*
· ─┬
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[core/uncategorised/430/input.js:1:1]
1 │ ╭─▶ /*
2 │ │
3 │ ├─▶
· ╰──── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[core/uncategorised/431/input.js:1:1]
1 │ /**
· ─┬─
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[core/uncategorised/432/input.js:1:1]
1 │ ╭─▶ /*
2 │ │
3 │ ├─▶ *
· ╰──── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[core/uncategorised/433/input.js:1:1]
1 │ /*hello
· ───┬───
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[core/uncategorised/434/input.js:1:1]
1 │ /*hello *
· ─────┬────
· ╰── Unterminated multiline comment
╰────
× Unexpected token
╭─[core/uncategorised/435/input.js:1:1]
1 │
2 │ ]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/436/input.js:1:1]
1 │
]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/437/input.js:1:1]
1 │
2 │ ]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/438/input.js:2:1]
2 │
]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/439/input.js:1:1]
1 │ //
2 │ ]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/440/input.js:2:1]
2 │
]
· ─
╰────
× Unterminated regular expression
╭─[core/uncategorised/441/input.js:1:1]
1 │ /a\
· ──┬─
· ╰── Unterminated regular expression
2 │ /
╰────
× Unexpected token
╭─[core/uncategorised/442/input.js:2:1]
2 │
3 │ ]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/443/input.js:1:1]
1 │ /*
2 │ */]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/444/input.js:2:1]
2 │
*/]
· ─
╰────
× Unexpected token
╭─[core/uncategorised/445/input.js:2:1]
2 │
3 │ */]
· ─
╰────
× Invalid Unicode escape sequence
╭─[core/uncategorised/446/input.js:1:1]
1 │ \\
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Character `\`
╭─[core/uncategorised/447/input.js:1:1]
1 │ \u005c
╰────
× Invalid Unicode escape sequence
╭─[core/uncategorised/448/input.js:1:1]
1 │ \x
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Character ``
╭─[core/uncategorised/449/input.js:1:1]
1 │ \u0000
╰────
× Invalid Character ``
╭─[core/uncategorised/450/input.js:1:1]
1 │ = []
· ┬
· ╰── Invalid Character ``
╰────
× Invalid Character ``
╭─[core/uncategorised/451/input.js:1:1]
1 │ = []
· ┬
· ╰── Invalid Character ``
╰────
× Unterminated string
╭─[core/uncategorised/452/input.js:1:1]
1 │ "\
· ─┬
· ╰── Unterminated string
╰────
× Unterminated string
╭─[core/uncategorised/452/input.js:1:1]
1 │ "\
· ─┬
· ╰── Unterminated string
╰────
× Invalid escape sequence
╭─[core/uncategorised/453/input.js:1:1]
1 │ "\u
· ─┬
· ╰── Invalid escape sequence
╰────
× Unterminated string
╭─[core/uncategorised/453/input.js:1:1]
1 │ "\u
· ─┬─
· ╰── Unterminated string
╰────
× TS1108: A 'return' statement can only be used within a function body
╭─[core/uncategorised/454/input.js:1:1]
1 │ return
· ───┬──
· ╰── A 'return' statement can only be used within a function body.
╰────
× Illegal break statement
╭─[core/uncategorised/455/input.js:1:1]
1 │ break
· ─────
╰────
help: A `break` statement can only be used within an enclosing iteration or switch statement.
× Illegal continue statement: no surrounding iteration statement
╭─[core/uncategorised/456/input.js:1:1]
1 │ continue
· ────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Illegal continue statement: no surrounding iteration statement
╭─[core/uncategorised/457/input.js:1:1]
1 │ switch (x) { default: continue; }
· ─────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Expect token
╭─[core/uncategorised/458/input.js:1:1]
1 │ do { x } *
· ┬
· ╰── Expect `while` here, but found `*`
╰────
× Use of undefined label
╭─[core/uncategorised/459/input.js:1:1]
1 │ while (true) { break x; }
· ┬
· ╰── This label is used, but not defined
╰────
× Use of undefined label
╭─[core/uncategorised/460/input.js:1:1]
1 │ while (true) { continue x; }
· ┬
· ╰── This label is used, but not defined
╰────
× Jump target cannot cross function boundary.
╭─[core/uncategorised/461/input.js:1:1]
1 │ x: while (true) { (function () { break x; }); }
· ─
╰────
× Jump target cannot cross function boundary.
╭─[core/uncategorised/462/input.js:1:1]
1 │ x: while (true) { (function () { continue x; }); }
· ─
╰────
× Illegal break statement
╭─[core/uncategorised/463/input.js:1:1]
1 │ x: while (true) { (function () { break; }); }
· ──────
╰────
help: A `break` statement can only be used within an enclosing iteration or switch statement.
× Illegal continue statement: no surrounding iteration statement
╭─[core/uncategorised/464/input.js:1:1]
1 │ x: while (true) { (function () { continue; }); }
· ─────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Identifier `x` has already been declared
╭─[core/uncategorised/465/input.js:1:1]
1 │ x: while (true) { x: while (true) { } }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `x` has already been declared here
╰────
× Delete of an unqualified identifier in strict mode.
╭─[core/uncategorised/466/input.js:1:1]
1 │ (function () { 'use strict'; delete i; }())
· ─
╰────
× 'with' statements are not allowed
╭─[core/uncategorised/467/input.js:1:1]
1 │ (function () { 'use strict'; with (i); }())
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/468/input.js:1:1]
1 │ function hello() {'use strict'; var eval = 10; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/469/input.js:1:1]
1 │ function hello() {'use strict'; var arguments = 10; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/470/input.js:1:1]
1 │ function hello() {'use strict'; try { } catch (eval) { } }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/471/input.js:1:1]
1 │ function hello() {'use strict'; try { } catch (arguments) { } }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/472/input.js:1:1]
1 │ function hello() {'use strict'; eval = 10; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/473/input.js:1:1]
1 │ function hello() {'use strict'; arguments = 10; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/474/input.js:1:1]
1 │ function hello() {'use strict'; ++eval; }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/475/input.js:1:1]
1 │ function hello() {'use strict'; --eval; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/476/input.js:1:1]
1 │ function hello() {'use strict'; ++arguments; }
· ─────────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/477/input.js:1:1]
1 │ function hello() {'use strict'; --arguments; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/478/input.js:1:1]
1 │ function hello() {'use strict'; eval++; }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/479/input.js:1:1]
1 │ function hello() {'use strict'; eval--; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/480/input.js:1:1]
1 │ function hello() {'use strict'; arguments++; }
· ─────────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/481/input.js:1:1]
1 │ function hello() {'use strict'; arguments--; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/482/input.js:1:1]
1 │ function hello() {'use strict'; function eval() { } }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/483/input.js:1:1]
1 │ function hello() {'use strict'; function arguments() { } }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/484/input.js:1:1]
1 │ function eval() {'use strict'; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/485/input.js:1:1]
1 │ function arguments() {'use strict'; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/486/input.js:1:1]
1 │ function hello() {'use strict'; (function eval() { }()) }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/487/input.js:1:1]
1 │ function hello() {'use strict'; (function arguments() { }()) }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/488/input.js:1:1]
1 │ (function eval() {'use strict'; })()
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/489/input.js:1:1]
1 │ (function arguments() {'use strict'; })()
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/490/input.js:1:1]
1 │ function hello() {'use strict'; ({ s: function eval() { } }); }
· ────
╰────
× The keyword 'package' is reserved
╭─[core/uncategorised/491/input.js:1:1]
1 │ (function package() {'use strict'; })()
· ───────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/492/input.js:1:1]
1 │ function hello() {'use strict'; ({ i: 10, set s(eval) { } }); }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/493/input.js:1:1]
1 │ function hello() {'use strict'; ({ set s(eval) { } }); }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/494/input.js:1:1]
1 │ function hello() {'use strict'; ({ s: function s(eval) { } }); }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/495/input.js:1:1]
1 │ function hello(eval) {'use strict';}
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/496/input.js:1:1]
1 │ function hello(arguments) {'use strict';}
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/497/input.js:1:1]
1 │ function hello() { 'use strict'; function inner(eval) {} }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[core/uncategorised/498/input.js:1:1]
1 │ function hello() { 'use strict'; function inner(arguments) {} }
· ─────────
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/uncategorised/500/input.js:1:1]
1 │ function hello() { 'use strict'; 021; }
· ───
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/uncategorised/502/input.js:1:1]
1 │ function hello() { 'use strict'; ({ 021: 42 }); }
· ───
╰────
help: for octal literals use the '0o' prefix instead
× The keyword 'implements' is reserved
╭─[core/uncategorised/504/input.js:1:1]
1 │ function hello() { "use strict"; var implements; }
· ──────────
╰────
× The keyword 'interface' is reserved
╭─[core/uncategorised/505/input.js:1:1]
1 │ function hello() { "use strict"; var interface; }
· ─────────
╰────
× The keyword 'package' is reserved
╭─[core/uncategorised/506/input.js:1:1]
1 │ function hello() { "use strict"; var package; }
· ───────
╰────
× The keyword 'private' is reserved
╭─[core/uncategorised/507/input.js:1:1]
1 │ function hello() { "use strict"; var private; }
· ───────
╰────
× The keyword 'protected' is reserved
╭─[core/uncategorised/508/input.js:1:1]
1 │ function hello() { "use strict"; var protected; }
· ─────────
╰────
× The keyword 'public' is reserved
╭─[core/uncategorised/509/input.js:1:1]
1 │ function hello() { "use strict"; var public; }
· ──────
╰────
× The keyword 'static' is reserved
╭─[core/uncategorised/510/input.js:1:1]
1 │ function hello() { "use strict"; var static; }
· ──────
╰────
× The keyword 'static' is reserved
╭─[core/uncategorised/511/input.js:1:1]
1 │ function hello(static) { "use strict"; }
· ──────
╰────
× The keyword 'static' is reserved
╭─[core/uncategorised/512/input.js:1:1]
1 │ function static() { "use strict"; }
· ──────
╰────
× The keyword 'static' is reserved
╭─[core/uncategorised/513/input.js:1:1]
1 │ "use strict"; function static() { }
· ──────
╰────
× Identifier `t` has already been declared
╭─[core/uncategorised/514/input.js:1:1]
1 │ function a(t, t) { "use strict"; }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/515/input.js:1:1]
1 │ function a(eval) { "use strict"; }
· ────
╰────
× The keyword 'package' is reserved
╭─[core/uncategorised/516/input.js:1:1]
1 │ function a(package) { "use strict"; }
· ───────
╰────
× Identifier `t` has already been declared
╭─[core/uncategorised/517/input.js:1:1]
1 │ function a() { "use strict"; function b(t, t) { }; }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Identifier `t` has already been declared
╭─[core/uncategorised/518/input.js:1:1]
1 │ (function a(t, t) { "use strict"; })
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Identifier `t` has already been declared
╭─[core/uncategorised/519/input.js:1:1]
1 │ function a() { "use strict"; (function b(t, t) { }); }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Cannot assign to 'eval' in strict mode
╭─[core/uncategorised/520/input.js:1:1]
1 │ (function a(eval) { "use strict"; })
· ────
╰────
× The keyword 'package' is reserved
╭─[core/uncategorised/521/input.js:1:1]
1 │ (function a(package) { "use strict"; })
· ───────
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/uncategorised/522/input.js:1:1]
1 │ "use strict";function foo(){"use strict";}function bar(){var v = 015}
· ───
╰────
help: for octal literals use the '0o' prefix instead
× Unexpected token
╭─[core/uncategorised/523/input.js:1:1]
1 │ var this = 10;
· ────
╰────
× Illegal newline after throw
╭─[core/uncategorised/524/input.js:1:1]
1 │ throw
· ──┬──
· ╰── throw starts here
2 │ 10;
· ─┬
· ╰── A newline is not expected here
╰────
× Missing initializer in const declaration
╭─[core/uncategorised/536/input.js:1:1]
1 │ const a;
· ┬
· ╰── const declaration need an initializer
╰────
× The keyword 'public' is reserved
╭─[core/uncategorised/544/input.js:1:1]
1 │ "use strict";
2 │ const { public } = foo();
· ──────
╰────
× The keyword 'public' is reserved
╭─[core/uncategorised/545/input.js:1:1]
1 │ const { public } = foo();
· ──────
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[core/uncategorised/550/input.js:1:1]
1 │ 'use strict';
2 │ const a = 07;
· ──
╰────
help: for octal literals use the '0o' prefix instead
× Decimals with leading zeros are not allowed in strict mode
╭─[core/uncategorised/552/input.js:1:1]
1 │ 'use strict';
2 │ const a = 08;
· ──
╰────
help: remove the leading zero
× Unexpected token
╭─[core/uncategorised/554/input.js:1:1]
1 │ var a = 0123.;
· ─
╰────
× Rest element must be last element
╭─[core/uncategorised/555/input.js:2:1]
2 │ first,
3 │ ...second,
· ────┬────
· ╰── Rest element must be last element
4 │ third,
╰────
× Unexpected trailing comma after rest element
╭─[es2015/array-rest-spread/comma-after-rest/input.js:1:1]
1 │ [...a,] = [];
· ▲
· ╰── Unexpected trailing comma after rest element
╰────
× Unexpected trailing comma after rest element
╭─[es2015/array-rest-spread/comma-after-spread-for-in/input.js:1:1]
1 │ for ([...a,] in []);
· ▲
· ╰── Unexpected trailing comma after rest element
╰────
× Unexpected trailing comma after rest element
╭─[es2015/array-rest-spread/comma-after-spread-nested/input.js:1:1]
1 │ [[...a,]] = [];
· ▲
· ╰── Unexpected trailing comma after rest element
╰────
× Spread must be last element
╭─[es2015/array-rest-spread/invalid-location/input.js:1:1]
1 │ [...a, b] = c
· ──┬─
· ╰── Spread must be last element
╰────
× Rest element must be last element
╭─[es2015/arrow-functions/comma-after-rest-param/input.js:1:1]
1 │ (...rest,) => {}
· ───┬───
· ╰── Rest element must be last element
╰────
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens-2/input.js:1:1]
1 │ (a, (b)) => 42
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens-array-pattern-2/input.js:1:1]
1 │ ([ [(a)] = [] ] = []) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens-array-pattern-3/input.js:1:1]
1 │ ([(a) = [] ] = []) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens-array-pattern/input.js:1:1]
1 │ ([(a)]) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens-object-pattern-member/input.js:1:1]
1 │ ({ a: (foo.qux) } = {}) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens-object-pattern/input.js:1:1]
1 │ ({ a: (foo) } = {}) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/inner-parens/input.js:1:1]
1 │ var foo = ((foo)) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/invalid-arrow-before-in/input.js:1:1]
1 │ () => {} in x
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Rest element must be last element
╭─[es2015/arrow-functions/invalid-rest-in-params/input.js:2:1]
2 │ first,
3 │ ...second,
· ────┬────
· ╰── Rest element must be last element
4 │ third
╰────
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/no-binary-left/input.js:1:1]
1 │ () => {} || true
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/no-callee/input.js:1:1]
1 │ () => {}()
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[es2015/arrow-functions/no-for-in-init-concise-binary-in/input.js:1:1]
1 │ for (() => x in y;;);
· ───────
╰────
× Automatic Semicolon Insertion
╭─[es2015/arrow-functions/no-ternary-test/input.js:1:1]
1 │ () => {} ? 1 : 2;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Super calls are not permitted outside constructors or in nested functions inside constructors.
╭─[es2015/class-methods/direct-super-outside-constructor/input.js:1:1]
1 │ class A {
2 │ x () {super()}
· ───────
3 │ }
╰────
× Automatic Semicolon Insertion
╭─[es2015/class-methods/disallow-computed-async-identifier/input.js:1:1]
1 │ class A {
2 │ [async] a() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/class-methods/disallow-computed-async-string/input.js:1:1]
1 │ class A {
2 │ ["async"] a() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/class-methods/disallow-computed-get-identifier/input.js:1:1]
1 │ class A {
2 │ [get] a() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/class-methods/disallow-computed-get-string/input.js:1:1]
1 │ class A {
2 │ ["get"] a() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Identifier `a` has already been declared
╭─[es2015/class-methods/disallow-duplicate-method-params/input.js:1:1]
1 │ class Foo {
2 │ bar(a, a) {}
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
3 │ }
╰────
× Automatic Semicolon Insertion
╭─[es2015/class-methods/disallow-literal-async/input.js:1:1]
1 │ class A {
2 │ "async" a() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/class-methods/disallow-literal-get/input.js:1:1]
1 │ class A {
2 │ "get" a() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Classes may not have a static property named prototype
╭─[es2015/class-methods/disallow-static-generator-prototype/input.js:1:1]
1 │ class A {
2 │ static *prototype() {}
· ────┬────
· ╰── Classes may not have a static property named prototype
3 │ }
╰────
× Classes may not have a static property named prototype
╭─[es2015/class-methods/disallow-static-prototype/input.js:1:1]
1 │ class A {
2 │ static prototype() {}
· ────┬────
· ╰── Classes may not have a static property named prototype
3 │ }
╰────
× A 'get' accessor must not have any formal parameters.
╭─[es2015/class-methods/getter-signature/input.js:1:1]
1 │ class A {
2 │ get prop (arg) {}
· ──┬──
· ╰── A 'get' accessor must not have any formal parameters.
3 │ }
╰────
× 'super' can only be used with function calls or in property accesses
╭─[es2015/class-methods/malformed-super-expression/input.js:2:1]
2 │ x () {
3 │ super - 1;
· ──┬──
· ╰── 'super' can only be used with function calls or in property accesses
4 │ }
╰────
help: replace with `super()` or `super.prop` or `super[prop]`
× 'with' statements are not allowed
╭─[es2015/class/extends-strict/input.js:1:1]
1 │ class C extends (function B() {
2 │ with ({});
· ────
3 │ return B;
╰────
× Keywords cannot contain escape characters
╭─[es2015/class/invalid-escape-get/input.js:1:1]
1 │ class X { ge\u0074 x() {} }
· ────┬───
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2015/class/invalid-escape-set/input.js:1:1]
1 │ class X { se\u0074 x(value) {} }
· ────┬───
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2015/class/invalid-escape-static/input.js:1:1]
1 │ class X { st\u0061tic y() {} }
· ─────┬─────
· ╰── keyword cannot contain escape characters
╰────
× Cannot assign to 'arguments' in strict mode
╭─[es2015/destructuring/binding-arguments-module/input.js:1:1]
1 │ const { arguments } = foo();
· ─────────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[es2015/destructuring/binding-arguments-strict/input.js:1:1]
1 │ "use strict";
2 │ const { arguments } = foo();
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/destructuring/binding-eval/input.js:1:1]
1 │ 'use strict'; ({eval = defValue} = obj)
· ────
╰────
× Expect token
╭─[es2015/destructuring/binding-this/input.js:1:1]
1 │ var { this } = {};
· ┬
· ╰── Expect `:` here, but found `}`
╰────
× Expect token
╭─[es2015/destructuring/invalid-object-method/input.js:1:1]
1 │ const { foo() {} } = foo();
· ┬
· ╰── Expect `,` here, but found `(`
╰────
× Invalid assignment
╭─[es2015/destructuring/parenthesized-lhs-array/input.js:1:1]
1 │ ([a]) = 2;
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[es2015/destructuring/parenthesized-lhs-object/input.js:1:1]
1 │ ({a}) = 2;
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Identifier `__proto__` has already been declared
╭─[es2015/duplicate-proto/in-new-expression/input.js:1:1]
1 │ new {__proto__: Number, __proto__: Number}.__proto__;
· ────┬──── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[es2015/duplicate-proto/with-assignment-expression/input.js:1:1]
1 │ ({
2 │ __proto__: a,
· ────┬────
· ╰── `__proto__` has already been declared here
3 │ __proto__: a,
· ────┬────
· ╰── It can not be redeclared here
4 │ a: a = 1
╰────
× Identifier `__proto__` has already been declared
╭─[es2015/duplicate-proto/without-assignment-expression/input.js:1:1]
1 │ ({
2 │ __proto__: a,
· ────┬────
· ╰── `__proto__` has already been declared here
3 │ __proto__: a,
· ────┬────
· ╰── It can not be redeclared here
4 │ })
╰────
× Unexpected token
╭─[es2015/for-in/bare-initializer/input.js:1:1]
1 │ var a;
2 │ for (a = 0 in {});
· ─────
╰────
× for-in loop variable declaration may not have an initializer
╭─[es2015/for-in/const-initializer/input.js:1:1]
1 │ for (const a = 0 in {});
· ───────────
╰────
× for-in loop variable declaration may not have an initializer
╭─[es2015/for-in/let-initializer/input.js:1:1]
1 │ for (let a = 0 in {});
· ─────────
╰────
× for-in loop variable declaration may not have an initializer
╭─[es2015/for-in/strict-initializer/input.js:1:1]
1 │ 'use strict';
2 │ for (var a = 0 in {});
· ─────────
╰────
× for-in loop variable declaration may not have an initializer
╭─[es2015/for-in/var-arraybindingpattern-initializer/input.js:1:1]
1 │ for (var [a] = 0 in {});
· ───────────
╰────
× for-in loop variable declaration may not have an initializer
╭─[es2015/for-in/var-objectbindingpattern-initializer/input.js:1:1]
1 │ for (var {a} = 0 in {});
· ───────────
╰────
× Unexpected token
╭─[es2015/for-of/bare-initializer/input.js:1:1]
1 │ var a;
2 │ for (a = 0 of {});
· ─────
╰────
× Keywords cannot contain escape characters
╭─[es2015/for-of/invalid-escape-of/input.js:1:1]
1 │ for (x \u006ff y) {}
· ───┬───
· ╰── keyword cannot contain escape characters
╰────
× Expect token
╭─[es2015/for-of/invalid-expr/input.js:1:1]
1 │ for (let x of y, z) {}
· ┬
· ╰── Expect `)` here, but found `,`
╰────
× Keywords cannot contain escape characters
╭─[es2015/generators/invalid-escape-yield/input.js:1:1]
1 │ (function* () { y\u0069eld; })
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Generators can only be declared at the top level or inside a block
╭─[es2015/generators/invalid-hanging/input.js:1:1]
1 │ if (1) function *foo() {}
· ───────┬───────
· ╰── Generators can only be declared at the top level or inside a block
╰────
× Invalid function declaration
╭─[es2015/generators/invalid-sloppy-function/input.js:1:1]
1 │ while (1) function *foo() {}
· ──────────────────
╰────
help: In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement
× Generators can only be declared at the top level or inside a block
╭─[es2015/generators/invalid-sloppy-function/input.js:1:1]
1 │ while (1) function *foo() {}
· ───────┬───────
· ╰── Generators can only be declared at the top level or inside a block
╰────
× Unexpected token
╭─[es2015/identifiers/invalid-escape-seq-const/input.js:1:1]
1 │ var co\u{6e}st = 123;
· ──────────
2 │
╰────
× Unexpected token
╭─[es2015/identifiers/invalid-escape-seq-export/input.js:1:1]
1 │ var expor\u{74} = 123;
· ───────────
2 │
╰────
× Keywords cannot contain escape characters
╭─[es2015/identifiers/invalid-escape-seq-if/input.js:1:1]
1 │ \u0069\u{66} (true) {}
· ──────┬─────
· ╰── keyword cannot contain escape characters
╰────
× Unexpected token
╭─[es2015/identifiers/invalid-escape-seq-import/input.js:1:1]
1 │ var \u{69}\u{6d}\u{70}\u{6f}\u{72}\u{74} = 123;
· ────────────────────────────────────
2 │
╰────
× Keywords cannot contain escape characters
╭─[es2015/identifiers/invalid-escape-seq-null/input.js:1:1]
1 │ nul\u{6c}
· ────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2015/identifiers/invalid-escape-seq-true/input.js:1:1]
1 │ \u0074rue
· ────┬────
· ╰── keyword cannot contain escape characters
╰────
× Automatic Semicolon Insertion
╭─[es2015/let/invalid-escape/input.js:1:1]
1 │ le\u0074 x = 5
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Lexical declaration cannot appear in a single-statement context
╭─[es2015/let/let-array-with-newline/input.js:1:1]
1 │ ╭─▶ do let
2 │ ├─▶ [x] = 0
· ╰──── Lexical declaration is not allowed here
3 │ while (false);
╰────
help: Wrap this declaration in a block statement
× The keyword 'let' is reserved
╭─[es2015/let/let-as-identifier-strict-fail/input.js:1:1]
1 │ "use strict";
2 │ let + 1
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-binding-list-fail-1/input.js:1:1]
1 │ let { let } = {};
· ───
╰────
× `let` cannot be declared as a variable name inside of a `const` declaration
╭─[es2015/let/let-at-binding-list-fail-10/input.js:1:1]
1 │ const [let = 10] = [];
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-binding-list-fail-11/input.js:1:1]
1 │ let [...let] = [];
· ───
╰────
× `let` cannot be declared as a variable name inside of a `const` declaration
╭─[es2015/let/let-at-binding-list-fail-12/input.js:1:1]
1 │ const [...let] = [];
· ───
╰────
× `let` cannot be declared as a variable name inside of a `const` declaration
╭─[es2015/let/let-at-binding-list-fail-2/input.js:1:1]
1 │ const { let } = {};
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-binding-list-fail-3/input.js:1:1]
1 │ let [let] = [];
· ───
╰────
× `let` cannot be declared as a variable name inside of a `const` declaration
╭─[es2015/let/let-at-binding-list-fail-4/input.js:1:1]
1 │ const [let] = [];
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-binding-list-fail-5/input.js:1:1]
1 │ let let
· ───
╰────
× `let` cannot be declared as a variable name inside of a `const` declaration
╭─[es2015/let/let-at-binding-list-fail-6/input.js:1:1]
1 │ const let = ''
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-binding-list-fail-7/input.js:1:1]
1 │ let { let = 10 } = {};
· ───
╰────
× `let` cannot be declared as a variable name inside of a `const` declaration
╭─[es2015/let/let-at-binding-list-fail-8/input.js:1:1]
1 │ const { let = 10 } = {};
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-binding-list-fail-9/input.js:1:1]
1 │ let [let = 10] = [];
· ───
╰────
× `let` cannot be declared as a variable name inside of a `let` declaration
╭─[es2015/let/let-at-catch-block/input.js:1:1]
1 │ try {} catch (err) {
2 │ let let;
· ───
3 │ }
╰────
× Unexpected new.target expression
╭─[es2015/meta-properties/invalid-arrow-function/input.js:1:1]
1 │ const A = () => {
2 │ new.target;
· ──────────
3 │ }
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
× The only valid meta property for new is new.target
╭─[es2015/meta-properties/new-invalid-prop/input.js:1:1]
1 │ function f() {
2 │ new.prop
· ────────
3 │ }
╰────
× Keywords cannot contain escape characters
╭─[es2015/meta-properties/new-target-invalid-escaped-new/input.js:1:1]
1 │ function f() { n\u0065w.target; }
· ────┬───
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2015/meta-properties/new-target-invalid-escaped-target/input.js:1:1]
1 │ function f() { new.ta\u0072get; }
· ─────┬─────
· ╰── keyword cannot contain escape characters
╰────
× Unexpected new.target expression
╭─[es2015/meta-properties/new-target-invalid/input.js:1:1]
1 │ new.target
· ──────────
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring10/input.js:1:1]
1 │ export function foo() {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { a: [{foo}] } = bar;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo4` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring11/input.js:1:1]
1 │ export function foo4() {};
· ──┬─
· ╰── `foo4` has already been declared here
2 │ export const [{ a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } }] = bar;
· ──┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo4` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring12/input.js:1:1]
1 │ export function foo4() {};
· ──┬─
· ╰── `foo4` has already been declared here
2 │ export const { a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } } = bar;
· ──┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo4` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring13/input.js:1:1]
1 │ export function foo4() {};
· ──┬─
· ╰── `foo4` has already been declared here
2 │ export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar;
· ──┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring14/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { foo2: foo } = bar;
· ─┬─
· ╰── It can not be redeclared here
3 │
╰────
× Identifier `foo2` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring15/input.js:1:1]
1 │ export const { foo: foo2 } = bar;
· ──┬─
· ╰── `foo2` has already been declared here
2 │ export const foo2 = 1;
· ──┬─
· ╰── It can not be redeclared here
3 │
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring16/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const [bar, ...foo] = baz;
· ─┬─
· ╰── It can not be redeclared here
3 │
╰────
× Identifier `bar` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring17/input.js:1:1]
1 │ export const [foo, ...bar] = baz;
· ─┬─
· ╰── `bar` has already been declared here
2 │ export const bar = 1;
· ─┬─
· ╰── It can not be redeclared here
3 │
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring18/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const [bar, [baz, ...foo]] = qux;
· ─┬─
· ╰── It can not be redeclared here
3 │
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring19/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { bar: [baz, ...foo] } = qux;
· ─┬─
· ╰── It can not be redeclared here
3 │
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring2/input.js:1:1]
1 │ export function foo() {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { foo } = bar;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring3/input.js:1:1]
1 │ export const { foo } = bar;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export function foo() {};
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring4/input.js:1:1]
1 │ export function foo() {};
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const [foo] = bar;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring5/input.js:1:1]
1 │ export const [foo] = bar;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export function foo() {};
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring6/input.js:1:1]
1 │ export const { foo } = bar;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const [foo] = bar2;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring7/input.js:1:1]
1 │ export const [foo] = bar;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { foo } = bar2;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `Foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring8/input.js:1:1]
1 │ export class Foo {};
· ─┬─
· ╰── `Foo` has already been declared here
2 │ export const { Foo } = bar;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `Foo` has already been declared
╭─[es2015/modules/duplicate-named-export-destructuring9/input.js:1:1]
1 │ export class Foo {};
· ─┬─
· ╰── `Foo` has already been declared here
2 │ export const [Foo] = bar;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Unexpected token
╭─[es2015/modules/export-default-variable-declaration/input.js:1:1]
1 │ export default const Foo = () => {
· ─────
2 │ return `<div class="bar">Hola</div>`;
╰────
× Automatic Semicolon Insertion
╭─[es2015/modules/export-default-variable-declaration2/input.js:1:1]
1 │ export default let Foo = () => {
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ return `<div class="bar">Hola</div>`;
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[es2015/modules/export-default-variable-declaration3/input.js:1:1]
1 │ export default var Foo = () => {
· ───
2 │ return `<div class="bar">Hola</div>`;
╰────
× Unexpected token
╭─[es2015/modules/import-invalid-keyword-typeof/input.js:1:1]
1 │ import { typeof } from "foo";
· ──────
╰────
× Unexpected token
╭─[es2015/modules/import-invalid-keyword/input.js:1:1]
1 │ import { debugger } from "foo";
· ────────
╰────
× Keywords cannot contain escape characters
╭─[es2015/modules/invalid-escape-export-as/input.js:1:1]
1 │ export { X \u0061s Y }
· ───┬───
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2015/modules/invalid-escape-import-from/input.js:1:1]
1 │ import X fro\u006d 'x'
· ────┬────
· ╰── keyword cannot contain escape characters
╰────
× Unexpected token
╭─[es2015/modules/invalid-xml-comment-in-module/input.js:1:1]
1 │ <!--bar-->
· ─
╰────
× Expect token
╭─[es2015/object/async-method-linebreak/input.js:2:1]
2 │ async
3 │ foo() {}
· ─┬─
· ╰── Expect `,` here, but found `Identifier`
4 │ })
╰────
× Expect token
╭─[es2015/object/invalid-accessor-generator/input.js:1:1]
1 │ ({
2 │ get *iterator() { },
· ┬
· ╰── Expect `,` here, but found `*`
3 │ set *iterator(iter) { }
╰────
× Invalid assignment in object literal
╭─[es2015/object/invalid-property-initializer-1/input.js:2:1]
2 │ bar: x = 123,
3 │ foo = 123
· ─────────
4 │ };
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Invalid assignment in object literal
╭─[es2015/object/invalid-property-initializer-in-call/input.js:1:1]
1 │ f({x = 0})
· ─────
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Invalid assignment in object literal
╭─[es2015/object/invalid-property-initializer-in-rhs/input.js:1:1]
1 │ obj = {x = 0}
· ─────
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Invalid assignment in object literal
╭─[es2015/object/invalid-property-initializer/input.js:1:1]
1 │ const obj = {
2 │ foo = 123,
· ─────────
3 │ bar: x = 123
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Flag i is mentioned twice in regular expression literal
╭─[es2015/regex/duplicate-flags/input.js:1:1]
1 │ /./gii;
· ▲
· ╰── Flag i is mentioned twice in regular expression literal
╰────
× The keyword 'implements' is reserved
╭─[es2015/shorthand/reserved-word-strict/input.js:1:1]
1 │ "use strict";
2 │ var x = ({ implements, interface, package });
· ──────────
╰────
× The keyword 'interface' is reserved
╭─[es2015/shorthand/reserved-word-strict/input.js:1:1]
1 │ "use strict";
2 │ var x = ({ implements, interface, package });
· ─────────
╰────
× The keyword 'package' is reserved
╭─[es2015/shorthand/reserved-word-strict/input.js:1:1]
1 │ "use strict";
2 │ var x = ({ implements, interface, package });
· ───────
╰────
× Unexpected token
╭─[es2015/shorthand/reserved-word/input.js:1:1]
1 │ var x = ({ const, if, this });
· ─
╰────
× Invalid class declaration
╭─[es2015/statements/label-invalid-class/input.js:1:1]
1 │ foo: class X {}
· ────┬───
· ╰── Classes can only be declared at top level or inside a block
╰────
× Lexical declaration cannot appear in a single-statement context
╭─[es2015/statements/label-invalid-const/input.js:1:1]
1 │ foo: const bar = null;
· ────────┬────────
· ╰── Lexical declaration is not allowed here
╰────
help: Wrap this declaration in a block statement
× Async functions can only be declared at the top level or inside a block
╭─[es2015/statements/label-invalid-func-async/input.js:1:1]
1 │ foo: async function bar() {}
· ──────────┬─────────
· ╰── Async functions can only be declared at the top level or inside a block
╰────
× Generators can only be declared at the top level or inside a block
╭─[es2015/statements/label-invalid-func-generator/input.js:1:1]
1 │ foo: function* bar() {}
· ───────┬───────
· ╰── Generators can only be declared at the top level or inside a block
╰────
× Invalid function declaration
╭─[es2015/statements/label-invalid-func-strict/input.js:1:1]
1 │ function foo() {"use strict"; bar: function baz() {}}
· ─────────────────
╰────
help: In strict mode code, functions can only be declared at top level or inside a block
× Automatic Semicolon Insertion
╭─[es2015/statements/label-invalid-let/input.js:1:1]
1 │ foo: let bar;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Bad escape sequence in untagged template literal
╭─[es2015/template/error-after-newline/input.js:1:1]
1 │ ╭─▶ `
2 │ ├─▶ \u{12_34}
· ╰──── Bad escape sequence in untagged template literal
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 'get' accessor must not have any formal parameters.
╰────
× 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.
╰────
× 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);
· ──────────
╰────
× 'super' can only be referenced in a derived class.
╭─[es2015/uncategorised/123/input.js:1:1]
1 │ "use strict"; (class A {constructor() { super() }})
· ─────────────────┬──────────────────
· ╰── class does not have `extends`
╰────
help: either remove this super, or extend the class
× Multiple constructor implementations are not allowed.
╭─[es2015/uncategorised/125/input.js:1:1]
1 │ class A { constructor() {} 'constructor'() {} }
· ─────┬───── ──────┬──────
· │ ╰── it cannot be redeclared here
· ╰── constructor has already been declared here
╰────
× Constructor can't have get/set modifier
╭─[es2015/uncategorised/126/input.js:1:1]
1 │ class A { get constructor() {} }
· ─────┬─────
· ╰── Constructor can't have get/set modifier
╰────
× Constructor can't be a generator
╭─[es2015/uncategorised/127/input.js:1:1]
1 │ class A { *constructor() {} }
· ─────┬─────
· ╰── Constructor can't be a generator
╰────
× Unexpected token
╭─[es2015/uncategorised/151/input.js:1:1]
1 │ ({[x]})
· ─
╰────
× Identifier `a` has already been declared
╭─[es2015/uncategorised/166/input.js:1:1]
1 │ function x(a, { a }){}
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Unexpected end of file
╭─[es2015/uncategorised/198/input.js:1:1]
1 │ 0o
╰────
× Invalid characters after number
╭─[es2015/uncategorised/199/input.js:1:1]
1 │ 0o1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[es2015/uncategorised/200/input.js:1:1]
1 │ 0o9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[es2015/uncategorised/201/input.js:1:1]
1 │ 0o18
· ┬
· ╰── Invalid characters after number
╰────
× Unexpected end of file
╭─[es2015/uncategorised/202/input.js:1:1]
1 │ 0O
╰────
× Invalid characters after number
╭─[es2015/uncategorised/203/input.js:1:1]
1 │ 0O1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[es2015/uncategorised/204/input.js:1:1]
1 │ 0O9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[es2015/uncategorised/205/input.js:1:1]
1 │ 0O18
· ┬
· ╰── Invalid characters after number
╰────
× Unexpected end of file
╭─[es2015/uncategorised/206/input.js:1:1]
1 │ 0b
╰────
× Invalid characters after number
╭─[es2015/uncategorised/207/input.js:1:1]
1 │ 0b1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[es2015/uncategorised/208/input.js:1:1]
1 │ 0b9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[es2015/uncategorised/209/input.js:1:1]
1 │ 0b18
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2015/uncategorised/210/input.js:1:1]
1 │ 0b12
· ┬
· ╰── Invalid characters after number
╰────
× Unexpected end of file
╭─[es2015/uncategorised/211/input.js:1:1]
1 │ 0B
╰────
× Invalid characters after number
╭─[es2015/uncategorised/212/input.js:1:1]
1 │ 0B1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[es2015/uncategorised/213/input.js:1:1]
1 │ 0B9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[es2015/uncategorised/214/input.js:1:1]
1 │ 0B18
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2015/uncategorised/215/input.js:1:1]
1 │ 0B12
· ┬
· ╰── Invalid characters after number
╰────
× Invalid escape sequence
╭─[es2015/uncategorised/216/input.js:1:1]
1 │ "\u{110000}"
· ────┬────
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[es2015/uncategorised/217/input.js:1:1]
1 │ "\u{}"
· ─┬─
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[es2015/uncategorised/218/input.js:1:1]
1 │ "\u{FFFF"
· ───┬───
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[es2015/uncategorised/219/input.js:1:1]
1 │ "\u{FFZ}"
· ──┬──
· ╰── Invalid escape sequence
╰────
× Invalid assignment
╭─[es2015/uncategorised/221/input.js:1:1]
1 │ [2] = 42
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[es2015/uncategorised/222/input.js:1:1]
1 │ ({ obj:20 } = 42)
· ─┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[es2015/uncategorised/223/input.js:1:1]
1 │ ({ get x() {} } = 0)
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/224/input.js:1:1]
1 │ x
2 │ is y
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/225/input.js:1:1]
1 │ x
2 │ isnt y
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[es2015/uncategorised/226/input.js:1:1]
1 │ function default() {}
· ───┬───
· ╰── Expect `(` here, but found `default`
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/227/input.js:1:1]
1 │ function hello() {'use strict'; ({ i: 10, s(eval) { } }); }
· ────
╰────
× Identifier `t` has already been declared
╭─[es2015/uncategorised/228/input.js:1:1]
1 │ function a() { "use strict"; ({ b(t, t) { } }); }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Unexpected token
╭─[es2015/uncategorised/229/input.js:1:1]
1 │ var super
· ─────
╰────
× Unexpected token
╭─[es2015/uncategorised/230/input.js:1:1]
1 │ var default
· ───────
╰────
× Unexpected token
╭─[es2015/uncategorised/231/input.js:1:1]
1 │ let default
· ───────
╰────
× Unexpected token
╭─[es2015/uncategorised/232/input.js:1:1]
1 │ const default = 2
· ───────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/233/input.js:1:1]
1 │ "use strict"; ({ v: eval } = obj)
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[es2015/uncategorised/234/input.js:1:1]
1 │ "use strict"; ({ v: arguments } = obj)
· ─────────
╰────
× for-in loop variable declaration may not have an initializer
╭─[es2015/uncategorised/235/input.js:1:1]
1 │ for (let x = 42 in list) process(x);
· ──────────
╰────
× for-of loop variable declaration may not have an initializer
╭─[es2015/uncategorised/236/input.js:1:1]
1 │ for (let x = 42 of list) process(x);
· ──────────
╰────
× Expect token
╭─[es2015/uncategorised/237/input.js:1:1]
1 │ import foo
· ┬
· ╰── Expect `from` here, but found `EOF`
╰────
× Expect token
╭─[es2015/uncategorised/238/input.js:1:1]
1 │ import { foo, bar }
· ┬
· ╰── Expect `from` here, but found `EOF`
╰────
× Unexpected token
╭─[es2015/uncategorised/239/input.js:1:1]
1 │ import foo from bar
· ───
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/242/input.js:1:1]
1 │ "use strict"; (eval = 10) => 42
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/243/input.js:1:1]
1 │ "use strict"; eval => 42
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[es2015/uncategorised/244/input.js:1:1]
1 │ "use strict"; arguments => 42
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/245/input.js:1:1]
1 │ "use strict"; (eval, a) => 42
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[es2015/uncategorised/246/input.js:1:1]
1 │ "use strict"; (arguments, a) => 42
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/247/input.js:1:1]
1 │ "use strict"; (eval, a = 10) => 42
· ────
╰────
× Identifier `a` has already been declared
╭─[es2015/uncategorised/248/input.js:1:1]
1 │ "use strict"; (a, a) => 42
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[es2015/uncategorised/249/input.js:1:1]
1 │ "use strict"; (a) => 00
· ──
╰────
help: for octal literals use the '0o' prefix instead
× Empty parenthesized expression
╭─[es2015/uncategorised/250/input.js:1:1]
1 │ () <= 42
· ▲
· ╰── Expected an expression here
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/251/input.js:1:1]
1 │ (10) => 00
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/252/input.js:1:1]
1 │ (10, 20) => 00
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[es2015/uncategorised/255/input.js:1:1]
1 │ void { [1, 2]: 3 };
· ┬
· ╰── Expect `]` here, but found `,`
╰────
× Expect token
╭─[es2015/uncategorised/261/input.js:1:1]
1 │ var obj = { *test** }
· ─┬
· ╰── Expect `(` here, but found `**`
╰────
× Expect token
╭─[es2015/uncategorised/263/input.js:1:1]
1 │ class default
· ───┬───
· ╰── Expect `{` here, but found `default`
╰────
× Unterminated string
╭─[es2015/uncategorised/264/input.js:1:1]
1 │ `test
· ──┬──
· ╰── Unterminated string
╰────
× Expect token
╭─[es2015/uncategorised/265/input.js:1:1]
1 │ switch `test`
· ───┬──
· ╰── Expect `(` here, but found `${}`
╰────
× Expect token
╭─[es2015/uncategorised/266/input.js:1:1]
1 │ `hello ${10 `test`
· ┬
· ╰── Expect `$}` here, but found `EOF`
╰────
× Unexpected token
╭─[es2015/uncategorised/267/input.js:1:1]
1 │ `hello ${10;test`
· ─
╰────
× Unexpected token
╭─[es2015/uncategorised/268/input.js:1:1]
1 │ function a() 1 // expression closure is not supported
· ─
╰────
× Unexpected token
╭─[es2015/uncategorised/273/input.js:1:1]
1 │ var a = [if (x) x]
· ──
╰────
× Unexpected token
╭─[es2015/uncategorised/275/input.js:1:1]
1 │ ({ "chance" }) = obj
· ─
╰────
× Unexpected token
╭─[es2015/uncategorised/276/input.js:1:1]
1 │ ({ 42 }) = obj
· ─
╰────
× Rest element must be last element
╭─[es2015/uncategorised/277/input.js:1:1]
1 │ function f(a, ...b, c) { }
· ──┬─
· ╰── Rest element must be last element
╰────
× Unexpected token
╭─[es2015/uncategorised/278/input.js:1:1]
1 │ function f(a, ...b = 0)
· ─
╰────
× Identifier `a` has already been declared
╭─[es2015/uncategorised/280/input.js:1:1]
1 │ "use strict"; function x(a, { a }){}
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Identifier `a` has already been declared
╭─[es2015/uncategorised/281/input.js:1:1]
1 │ "use strict"; function x({ b: { a } }, [{ b: { a } }]){}
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Rest element must be last element
╭─[es2015/uncategorised/283/input.js:1:1]
1 │ (...a, b) => {}
· ──┬─
· ╰── Rest element must be last element
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/284/input.js:1:1]
1 │ ([ 5 ]) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[es2015/uncategorised/285/input.js:1:1]
1 │ ({ 5 }) => {}
· ─
╰────
× Unexpected token
╭─[es2015/uncategorised/286/input.js:1:1]
1 │ (...[ 5 ]) => {}
· ─
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/289/input.js:1:1]
1 │ ({ t(eval) { "use strict"; } });
· ────
╰────
× Bad escape sequence in untagged template literal
╭─[es2015/uncategorised/290/input.js:1:1]
1 │ "use strict"; `${test}\02`;
· ─┬─
· ╰── Bad escape sequence in untagged template literal
╰────
× Cannot use import statement outside a module
╭─[es2015/uncategorised/291/input.js:1:1]
1 │ if (1) import "acorn";
· ──────
╰────
× Unexpected token
╭─[es2015/uncategorised/293/input.js:1:1]
1 │ if (b,...a, );
· ───
╰────
× Unexpected token
╭─[es2015/uncategorised/294/input.js:1:1]
1 │ (b, ...a)
· ───
╰────
× Expect token
╭─[es2015/uncategorised/295/input.js:1:1]
1 │ switch (cond) { case 10: let a = 20;
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/296/input.js:1:1]
1 │ "use strict"; (eval) => 42
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/297/input.js:1:1]
1 │ (eval) => { "use strict"; 42 }
· ────
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/298/input.js:1:1]
1 │ ({ get test() { } }) => 42
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Missing initializer in destructuring declaration
╭─[es2015/uncategorised/324/input.js:1:1]
1 │ let [x]
· ─┬─
· ╰── Missing initializer in destructuring declaration
╰────
× Missing initializer in destructuring declaration
╭─[es2015/uncategorised/325/input.js:1:1]
1 │ var [x]
· ─┬─
· ╰── Missing initializer in destructuring declaration
╰────
× Invalid Character `𖫵`
╭─[es2015/uncategorised/326/input.js:1:1]
1 │ var _𖫵 = 11;
· ┬
· ╰── Invalid Character `𖫵`
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/326/input.js:1:1]
1 │ var _𖫵 = 11;
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid Character `𫠞`
╭─[es2015/uncategorised/327/input.js:1:1]
1 │ var 𫠞_ = 12;
· ─┬
· ╰── Invalid Character `𫠞`
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/328/input.js:1:1]
1 │ if (1) let x = 10;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Lexical declaration cannot appear in a single-statement context
╭─[es2015/uncategorised/329/input.js:1:1]
1 │ for (;;) const x = 10;
· ──────┬──────
· ╰── Lexical declaration is not allowed here
╰────
help: Wrap this declaration in a block statement
× Invalid class declaration
╭─[es2015/uncategorised/331/input.js:1:1]
1 │ if (1) ; else class Cls {}
· ─────┬────
· ╰── Classes can only be declared at top level or inside a block
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/332/input.js:1:1]
1 │ 'use strict'; [...eval] = arr
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[es2015/uncategorised/334/input.js:1:1]
1 │ [...eval] = arr
· ────
╰────
× Bad escape sequence in untagged template literal
╭─[es2015/uncategorised/339/input.js:1:1]
1 │ `\07`
· ─┬─
· ╰── Bad escape sequence in untagged template literal
╰────
× Unexpected token
╭─[es2015/uncategorised/340/input.js:1:1]
1 │ x = { method() 42 }
· ──
╰────
× Unexpected token
╭─[es2015/uncategorised/341/input.js:1:1]
1 │ x = { get method() 42 }
· ──
╰────
× Unexpected token
╭─[es2015/uncategorised/342/input.js:1:1]
1 │ x = { set method(val) v = val }
· ─
╰────
× 'super' can only be referenced in members of derived classes or object literal expressions.
╭─[es2015/uncategorised/344/input.js:1:1]
1 │ super
· ─────
╰────
× 'super' can only be used with function calls or in property accesses
╭─[es2015/uncategorised/344/input.js:1:1]
1 │ super
· ──┬──
· ╰── 'super' can only be used with function calls or in property accesses
╰────
help: replace with `super()` or `super.prop` or `super[prop]`
× A 'set' accessor must have exactly one parameter.
╭─[es2015/uncategorised/347/input.js:1:1]
1 │ class A { set prop(x, y) {} }
· ───┬──
· ╰── A 'set' accessor must have exactly one parameter.
╰────
× Identifier `__proto__` has already been declared
╭─[es2015/uncategorised/349/input.js:1:1]
1 │ ({ '__proto__': 1, __proto__: 2 })
· ─────┬───── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Unexpected token
╭─[es2015/uncategorised/357/input.js:1:1]
1 │ await = foo();
· ─
╰────
× The keyword 'await' is reserved
╭─[es2015/uncategorised/359/input.js:1:1]
1 │ const await = foo();
· ─────
╰────
× Cannot use `await` as an identifier in an async context
╭─[es2015/uncategorised/359/input.js:1:1]
1 │ const await = foo();
· ─────
╰────
× The keyword 'await' is reserved
╭─[es2015/uncategorised/361/input.js:1:1]
1 │ const { await } = foo();
· ─────
╰────
× The keyword 'await' is reserved
╭─[es2015/uncategorised/363/input.js:1:1]
1 │ function foo({ await }) {}
· ─────
╰────
× The keyword 'await' is reserved
╭─[es2015/uncategorised/365/input.js:1:1]
1 │ function await() {}
· ─────
╰────
× Cannot use `await` as an identifier in an async context
╭─[es2015/uncategorised/365/input.js:1:1]
1 │ function await() {}
· ─────
╰────
× The keyword 'await' is reserved
╭─[es2015/uncategorised/367/input.js:1:1]
1 │ class await {}
· ─────
╰────
× Cannot use `await` as an identifier in an async context
╭─[es2015/uncategorised/367/input.js:1:1]
1 │ class await {}
· ─────
╰────
× Unexpected token
╭─[es2015/uncategorised/368/input.js:1:1]
1 │ enum = foo();
· ────
╰────
× Unexpected token
╭─[es2015/uncategorised/369/input.js:1:1]
1 │ enum = foo();
· ────
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/37/input.js:1:1]
1 │ ([a.a]) => 42
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[es2015/uncategorised/370/input.js:1:1]
1 │ const enum = foo();
· ────
╰────
× Unexpected token
╭─[es2015/uncategorised/371/input.js:1:1]
1 │ const enum = foo();
· ────
╰────
× Expect token
╭─[es2015/uncategorised/372/input.js:1:1]
1 │ const { enum } = foo();
· ┬
· ╰── Expect `:` here, but found `}`
╰────
× Expect token
╭─[es2015/uncategorised/373/input.js:1:1]
1 │ const { enum } = foo();
· ┬
· ╰── Expect `:` here, but found `}`
╰────
× Expect token
╭─[es2015/uncategorised/374/input.js:1:1]
1 │ function foo({ enum }) {}
· ┬
· ╰── Expect `:` here, but found `}`
╰────
× Expect token
╭─[es2015/uncategorised/375/input.js:1:1]
1 │ function foo({ enum }) {}
· ┬
· ╰── Expect `:` here, but found `}`
╰────
× Expect token
╭─[es2015/uncategorised/376/input.js:1:1]
1 │ function enum() {}
· ──┬─
· ╰── Expect `(` here, but found `enum`
╰────
× Expect token
╭─[es2015/uncategorised/377/input.js:1:1]
1 │ function enum() {}
· ──┬─
· ╰── Expect `(` here, but found `enum`
╰────
× Expect token
╭─[es2015/uncategorised/378/input.js:1:1]
1 │ class enum {}
· ──┬─
· ╰── Expect `{` here, but found `enum`
╰────
× Expect token
╭─[es2015/uncategorised/379/input.js:1:1]
1 │ class enum {}
· ──┬─
· ╰── Expect `{` here, but found `enum`
╰────
× Empty parenthesized expression
╭─[es2015/uncategorised/38/input.js:1:1]
1 │ console.log(typeof () => {});
· ▲
· ╰── Expected an expression here
╰────
× Expect token
╭─[es2015/uncategorised/38/input.js:1:1]
1 │ console.log(typeof () => {});
· ─┬
· ╰── Expect `,` here, but found `=>`
╰────
× Unexpected token
╭─[es2015/uncategorised/386/input.js:1:1]
1 │ export typeof foo;
· ──────
╰────
× Unexpected token
╭─[es2015/uncategorised/387/input.js:1:1]
1 │ export new Foo();
· ───
╰────
× Expected function name
╭─[es2015/uncategorised/388/input.js:1:1]
1 │ export function() {};
· ┬
· ╰── Function name is required here
╰────
help: Function name is required in function declaration or named export
× Unexpected token
╭─[es2015/uncategorised/389/input.js:1:1]
1 │ export for (;;);
· ───
╰────
× Unexpected token
╭─[es2015/uncategorised/390/input.js:1:1]
1 │ export while(foo);
· ─────
╰────
× Expect token
╭─[es2015/uncategorised/392/input.js:1:1]
1 │ import foo, { bar: { a } } from 'my-module';
· ┬
· ╰── Expect `,` here, but found `:`
╰────
× Automatic Semicolon Insertion
╭─[es2015/uncategorised/395/input.js:1:1]
1 │ ([a.a]) => 42
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[es2015/uncategorised/84/input.js:1:1]
1 │ export *
· ┬
· ╰── Expect `from` here, but found `EOF`
╰────
× Expect token
╭─[es2015/uncategorised/96/input.js:1:1]
1 │ import default from "foo"
· ───┬───
· ╰── Expect `from` here, but found `default`
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/function-name-function-declaration-inside-generator/input.js:1:1]
1 │ function* fn() {
2 │ function yield() {}
· ─────
3 │ }
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/function-name-generator-expression/input.js:1:1]
1 │ +function* yield() {}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[es2015/yield/function-name-strict-body/input.js:1:1]
1 │ function yield() { "use strict"; }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[es2015/yield/function-name-strict/input.js:1:1]
1 │ "use strict";
2 │ function yield() {}
· ─────
╰────
× Expect token
╭─[es2015/yield/in-class-heritage/input.js:1:1]
1 │ class A extends yield B { }
· ┬
· ╰── Expect `{` here, but found `Identifier`
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[es2015/yield/in-global-scope/input.js:1:1]
1 │ yield 10
· ─────
╰────
× Unexpected token
╭─[es2015/yield/in-iterator-stmt/input.js:1:1]
1 │ function* g() {
2 │ for (yield '' in {}; ; ) ;
· ────────
3 │ }
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[es2015/yield/in-plain-function/input.js:1:1]
1 │ (function () { yield 10 })
· ─────
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-arrow-inside-generator-1/input.js:1:1]
1 │ function* fn() {
2 │ (x = yield) => {};
· ──┬──
· ╰── yield expression not allowed in formal parameter
3 │ }
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-arrow-inside-generator-2/input.js:1:1]
1 │ function* fn() {
2 │ (x = 3 + a.b(yield) ** 2) => {};
· ──┬──
· ╰── yield expression not allowed in formal parameter
3 │ }
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-arrow-inside-generator-3/input.js:1:1]
1 │ function* fn() {
2 │ (x = yield fn) => {};
· ────┬───
· ╰── yield expression not allowed in formal parameter
3 │ }
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-arrow-inside-generator-4/input.js:1:1]
1 │ function* fn() {
2 │ (a, b = 3, x = yield) => {};
· ──┬──
· ╰── yield expression not allowed in formal parameter
3 │ }
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/parameter-default-inside-arrow-inside-generator-5/input.js:1:1]
1 │ function* fn() {
2 │ (x = (yield) => {}) => {};
· ─────
3 │ }
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-arrow-inside-generator-6/input.js:1:1]
1 │ function* fn() {
2 │ (x = (yield)) => {};
· ──┬──
· ╰── yield expression not allowed in formal parameter
3 │ }
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-generator-method/input.js:1:1]
1 │ ({ *method(x = yield) {} })
· ──┬──
· ╰── yield expression not allowed in formal parameter
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/parameter-default-inside-generator/input.js:1:1]
1 │ function* fn(x = yield) {}
· ──┬──
· ╰── yield expression not allowed in formal parameter
╰────
× The keyword 'yield' is reserved
╭─[es2015/yield/parameter-default-strict/input.js:1:1]
1 │ "use strict";
2 │ function fn(x = yield) {}
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/parameter-name-arrow-inside-generator-1/input.js:1:1]
1 │ function* fn() {
2 │ (yield) => {};
· ─────
3 │ }
╰────
× Automatic Semicolon Insertion
╭─[es2015/yield/parameter-name-arrow-inside-generator-2/input.js:1:1]
1 │ function* fn() {
2 │ (yield fn) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/parameter-name-arrow-inside-generator-3/input.js:1:1]
1 │ function* fn() {
2 │ (a, b, yield) => {};
· ─────
3 │ }
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/parameter-name-arrow-no-parens-inside-generator/input.js:1:1]
1 │ function* fn() {
2 │ yield => {};
· ─────
3 │ }
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/parameter-name-generator-method/input.js:1:1]
1 │ ({ *method(yield) {} });
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[es2015/yield/parameter-name-generator/input.js:1:1]
1 │ function* fn(yield) {}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[es2015/yield/parameter-name-strict-body/input.js:1:1]
1 │ function fn(yield) { "use strict"; }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[es2015/yield/parameter-name-strict/input.js:1:1]
1 │ "use strict";
2 │ function fn(yield) {}
· ─────
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/yield-star-parameter-default-inside-generator/input.js:1:1]
1 │ function* fn(x = yield* yield) {}
· ──────┬─────
· ╰── yield expression not allowed in formal parameter
╰────
× yield expression not allowed in formal parameter
╭─[es2015/yield/yield-star-parameter-default-inside-generator/input.js:1:1]
1 │ function* fn(x = yield* yield) {}
· ──┬──
· ╰── yield expression not allowed in formal parameter
╰────
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/10/input.js:1:1]
1 │ -5 ** 6;
· ───────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/11/input.js:1:1]
1 │ -(5) ** 6;
· ─────────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/12/input.js:1:1]
1 │ (-5 ** 6);
· ───────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Unexpected token
╭─[es2016/exponentiation-operator/13/input.js:1:1]
1 │ 1 %* 1;
· ─
╰────
× Unexpected token
╭─[es2016/exponentiation-operator/14/input.js:1:1]
1 │ a %*= 1;
· ──
╰────
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/15/input.js:1:1]
1 │ -(5) ** 6;
· ─────────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/16/input.js:1:1]
1 │ (-5 ** 6);
· ───────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/await-before-exponential/input.js:1:1]
1 │ async () => await 5 ** 6;
· ────────────
╰────
help: Wrap await expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/await-unary-before-exponential/input.js:1:1]
1 │ async () => await -5 ** 6;
· ─────────────
╰────
help: Wrap await expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[es2016/exponentiation-operator/nested-unary-before-exponential/input.js:1:1]
1 │ (-+5 ** 6);
· ────────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/array-pattern-default/input.js:1:1]
1 │ function a([ option1, option2 ] = []) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/array-pattern/input.js:1:1]
1 │ function a([ option1, option2 ]) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/arrow-function/input.js:1:1]
1 │ var a = (options = {}) => {
2 │ "use strict";
· ─────────────
3 │ };
╰────
× Automatic Semicolon Insertion
╭─[es2016/simple-parameter-list/async-arrow-function-after-binary-operator/input.js:1:1]
1 │ 3 + async() => 2
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2016/simple-parameter-list/async-arrow-function-after-unary-operator/input.js:1:1]
1 │ delete async () => 3;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/async-arrow-function/input.js:1:1]
1 │ var a = async (options = {}) => {
2 │ "use strict";
· ─────────────
3 │ };
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/async-function/input.js:1:1]
1 │ async function a(options = {}) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/default/input.js:1:1]
1 │ function a(options = {}) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/generator-function/input.js:1:1]
1 │ function* a(options = {}) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/generator-method/input.js:2:1]
2 │ * a(options = {}) {
3 │ "use strict";
· ─────────────
4 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/method/input.js:2:1]
2 │ a(options = {}) {
3 │ "use strict";
· ─────────────
4 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/object-pattern-default/input.js:1:1]
1 │ function a({ option1, option2 } = {}) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/object-pattern/input.js:1:1]
1 │ function a({ option1, option2 }) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Illegal 'use strict' directive in function with non-simple parameter list
╭─[es2016/simple-parameter-list/rest/input.js:1:1]
1 │ function a(...options) {
2 │ "use strict";
· ─────────────
3 │ }
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-array-pattern-nested-2/input.js:1:1]
1 │ async ([(a) = []] = []) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-array-pattern-nested/input.js:1:1]
1 │ async ([ [(a)] = [] ] = []) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-binding-identifier/input.js:1:1]
1 │ var foo = async ((foo)) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-binding-member-expression/input.js:1:1]
1 │ async ([(a.b) = []] = []) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-binding-pattern/input.js:1:1]
1 │ var foo = async ([(foo)]) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-rest-array/input.js:1:1]
1 │ var foo = async ([...(foo)]) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-arrow/parenthesized-rest-object/input.js:1:1]
1 │ var foo = async ({...(foo)}) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Identifier `__proto__` has already been declared
╭─[es2017/async-call/parenthesized-argument-object-double-proto/input.js:1:1]
1 │ async({ __proto__: x, __proto__: y })
· ────┬──── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Invalid assignment in object literal
╭─[es2017/async-call/parenthesized-argument-object-with-assignment/input.js:1:1]
1 │ async({ foo33 = 1 });
· ─────────
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Expect token
╭─[es2017/async-call/with-optional-operator/input.js:1:1]
1 │ async(x?)
· ┬
· ╰── Expect `,` here, but found `?`
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-functions/10/input.js:1:1]
1 │ var x = async
2 │ (x) => x + 1;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[es2017/async-functions/2/input.js:1:1]
1 │ async function bar() {
2 │ await* foo();
· ─
3 │ }
╰────
× Invalid assignment in object literal
╭─[es2017/async-functions/35/input.js:1:1]
1 │ const foo = { async = true };
· ────────────
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Invalid assignment in object literal
╭─[es2017/async-functions/36/input.js:1:1]
1 │ const foo = ({ async = true });
· ────────────
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Expect token
╭─[es2017/async-functions/4/input.js:1:1]
1 │ ({ async a });
· ┬
· ╰── Expect `(` here, but found `}`
╰────
× Expect token
╭─[es2017/async-functions/5/input.js:1:1]
1 │ ({ async a: function () {} });
· ┬
· ╰── Expect `(` here, but found `:`
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-functions/6/input.js:1:1]
1 │ async () => {}()
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× `await` is only allowed within async functions and at the top levels of modules
╭─[es2017/async-functions/9/input.js:1:1]
1 │ function foo(promise) { await promise; }
· ─────
╰────
× `await` is only allowed within async functions and at the top levels of modules
╭─[es2017/async-functions/allow-await-outside-function-throw/input.js:1:1]
1 │ function a() {
2 │ return await 1
· ─────
3 │ }
╰────
× Cannot use `await` as an identifier in an async context
╭─[es2017/async-functions/async-await-as-arrow-binding-identifier/input.js:1:1]
1 │ async await => {}
· ─────
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-functions/async-function-and-non-bmp-character/input.js:1:1]
1 │ async function𝐬 f() {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Cannot use `await` as an identifier in an async context
╭─[es2017/async-functions/await-async-function-expression-name/input.js:1:1]
1 │ (async function await() {});
· ─────
╰────
× Cannot use `await` as an identifier in an async context
╭─[es2017/async-functions/await-function-declaration-name-inside-async-function/input.js:1:1]
1 │ async function foo() {
2 │ function await() {}
· ─────
3 │ }
╰────
× await expression not allowed in formal parameter
╭─[es2017/async-functions/await-inside-arguments-of-async-call-inside-parameters-of-async-arrow-function/input.js:1:1]
1 │ async function fn() {
2 │ async (x = async(y = await 2)) => {};
· ───┬───
· ╰── await expression not allowed in formal parameter
3 │ }
╰────
× `await` is only allowed within async functions and at the top levels of modules
╭─[es2017/async-functions/await-inside-arrow-expression-disallowed/input.js:1:1]
1 │ () => { await x }
· ─────
╰────
× await expression not allowed in formal parameter
╭─[es2017/async-functions/await-inside-parameters-of-async-arrow-function/input.js:1:1]
1 │ async (x = await 2) => {};
· ───┬───
· ╰── await expression not allowed in formal parameter
╰────
× await expression not allowed in formal parameter
╭─[es2017/async-functions/await-inside-parameters-of-nested-arrow-function/input.js:1:1]
1 │ async function fn() {
2 │ (x = await 2) => {};
· ───┬───
· ╰── await expression not allowed in formal parameter
3 │ }
╰────
× await expression not allowed in formal parameter
╭─[es2017/async-functions/await-inside-parameters-of-nested-async-arrow-function/input.js:1:1]
1 │ async function fn() {
2 │ async (x = await 2) => {};
· ───┬───
· ╰── await expression not allowed in formal parameter
3 │ }
╰────
× await expression not allowed in formal parameter
╭─[es2017/async-functions/await-inside-parameters-of-nested-function/input.js:1:1]
1 │ async function foo() {
2 │ function bar(x = await 2) {}
· ───┬───
· ╰── await expression not allowed in formal parameter
3 │ }
╰────
× `await` is only allowed within async functions and at the top levels of modules
╭─[es2017/async-functions/await-inside-parameters-of-nested-function/input.js:1:1]
1 │ async function foo() {
2 │ function bar(x = await 2) {}
· ─────
3 │ }
╰────
× await expression not allowed in formal parameter
╭─[es2017/async-functions/await-inside-parameters/input.js:1:1]
1 │ async function fn(x = await 2) {}
· ───┬───
· ╰── await expression not allowed in formal parameter
╰────
× Unexpected token
╭─[es2017/async-functions/export-async/input.js:1:1]
1 │ export async;
· ─────
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-functions/export-invalid/input.js:1:1]
1 │ export default async functionX () {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-functions/invalid-await-with-object-exp-in-function/input.js:1:1]
1 │ function foo() {
2 │ await { foo };
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-async-class-method/input.js:1:1]
1 │ class X { \u0061sync x() { await x } }
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-async-obj-method/input.js:1:1]
1 │ ({ \u0061sync x() { await x } })
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-async-static-class-method/input.js:1:1]
1 │ class X { static \u0061sync x() { await x } }
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-await/input.js:1:1]
1 │ (async function() { aw\u0061it x })
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Cannot use export statement outside a module
╭─[es2017/async-functions/invalid-escape-export-async-function/input.js:1:1]
1 │ export \u0061sync function y() { await x }
· ──────
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-export-async-function/input.js:1:1]
1 │ export \u0061sync function y() { await x }
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-export-dflt-async-function/input.js:1:1]
1 │ export default \u0061sync function y() { await x }
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Expect token
╭─[es2017/async-functions/invalid-escape-sequence-arrow-list/input.js:1:1]
1 │ (\u0061sync x => { await x })
· ┬
· ╰── Expect `,` here, but found `Identifier`
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-functions/invalid-escape-sequence-arrow/input.js:1:1]
1 │ \u0061sync x => { await x }
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-sequence-function-list/input.js:1:1]
1 │ (\u0061sync function() { await x })
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-escape-sequence-function/input.js:1:1]
1 │ \u0061sync function() { await x }
· ─────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[es2017/async-functions/invalid-for-await-expression-init/input.js:1:1]
1 │ for (await o\u0066 [0];;);
· ───┬───
· ╰── keyword cannot contain escape characters
╰────
× Expect token
╭─[es2017/async-functions/invalid-for-await-expression-init/input.js:1:1]
1 │ for (await o\u0066 [0];;);
· ┬
· ╰── Expect `)` here, but found `;`
╰────
× Invalid function declaration
╭─[es2017/async-functions/invalid-generator-inside-loop/input.js:1:1]
1 │ while (1) async function *foo(){}
· ───────────────────────
╰────
help: In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement
× Async functions can only be declared at the top level or inside a block
╭─[es2017/async-functions/invalid-generator-inside-loop/input.js:1:1]
1 │ while (1) async function *foo(){}
· ──────────┬──────────
· ╰── Async functions can only be declared at the top level or inside a block
╰────
× Invalid function declaration
╭─[es2017/async-functions/invalid-inside-loop/input.js:1:1]
1 │ while (1) async function foo(){}
· ──────────────────────
╰────
help: In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement
× Async functions can only be declared at the top level or inside a block
╭─[es2017/async-functions/invalid-inside-loop/input.js:1:1]
1 │ while (1) async function foo(){}
· ──────────┬─────────
· ╰── Async functions can only be declared at the top level or inside a block
╰────
× Line terminator not permitted before arrow
╭─[es2017/async-functions/invalid-newline-after-params/input.js:1:1]
1 │ async (x)
2 │ => {}
· ─┬
· ╰── Line terminator not permitted before arrow
╰────
× Automatic Semicolon Insertion
╭─[es2017/async-functions/invalid-parens-async-arrow/input.js:1:1]
1 │ (async)(a) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-functions/invalid-parens-async-func/input.js:1:1]
1 │ (async) function x (a) {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-functions/multiple-await-in-async-arrow-params/input.js:1:1]
1 │ async ({ x = [ await ], y = { await } }) => {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[es2017/async-functions/newline-before-arrow/input.js:1:1]
1 │ async x
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ => x
╰────
help: Try insert a semicolon here
× Constructor can't be an async method
╭─[es2017/async-functions/no-constructor/input.js:1:1]
1 │ class A {
2 │ async constructor() {}
· ─────┬─────
· ╰── Constructor can't be an async method
3 │ }
╰────
× Rest element must be last element
╭─[es2017/async-functions/params-invalid-rest-trailing-comma/input.js:1:1]
1 │ async (...a,) => {};
· ──┬─
· ╰── Rest element must be last element
╰────
× Unexpected token
╭─[es2017/trailing-function-commas/5/input.js:1:1]
1 │ log(,);
· ─
╰────
× Unexpected token
╭─[es2017/trailing-function-commas/6/input.js:1:1]
1 │ function log(,) { }
· ─
╰────
× Expect token
╭─[es2018/async-generators/for-await-async-context/input.js:1:1]
1 │ function f() {
2 │ for await (let x of y);
· ──┬──
· ╰── Expect `(` here, but found `await`
3 │ }
╰────
× await can only be used in conjunction with `for...of` statements
╭─[es2018/async-generators/for-await-async-of-arrow-semicolon/input.js:1:1]
1 │ async function f() {
2 │ for await (async of => {};;);
· ──────────────┬─────────────
· ╰── await can only be used in conjunction with `for...of` statements
3 │ }
╰────
× Unexpected token
╭─[es2018/async-generators/for-await-async-of-arrow/input.js:1:1]
1 │ async function f() {
2 │ for await (async of => {} of x);
· ──────────────
3 │ }
╰────
× await can only be used in conjunction with `for...of` statements
╭─[es2018/async-generators/for-await-no-in/input.js:1:1]
1 │ async function f() {
2 │ for await (let x in y);
· ───────────┬──────────
· ╰── await can only be used in conjunction with `for...of` statements
3 │ }
╰────
× await can only be used in conjunction with `for...of` statements
╭─[es2018/async-generators/for-await-no-semi-1/input.js:1:1]
1 │ async function f() {
2 │ for await (;false;);
· ─────────┬─────────
· ╰── await can only be used in conjunction with `for...of` statements
3 │ }
╰────
× await can only be used in conjunction with `for...of` statements
╭─[es2018/async-generators/for-await-no-semi-2/input.js:1:1]
1 │ async function f() {
2 │ for await (let i = 0;false;);
· ──────────────┬─────────────
· ╰── await can only be used in conjunction with `for...of` statements
3 │ }
╰────
× await can only be used in conjunction with `for...of` statements
╭─[es2018/async-generators/for-await-no-semi-3/input.js:1:1]
1 │ async function f() {
2 │ for await (x = 0;false;);
· ────────────┬───────────
· ╰── await can only be used in conjunction with `for...of` statements
3 │ }
╰────
× Identifier `foo` has already been declared
╭─[es2018/object-rest-spread/11/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { bar, ...foo } = baz;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `bar` has already been declared
╭─[es2018/object-rest-spread/12/input.js:1:1]
1 │ export const { foo, ...bar } = baz;
· ─┬─
· ╰── `bar` has already been declared here
2 │ export const bar = 1;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2018/object-rest-spread/13/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const { bar: { baz, ...foo } } = qux;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2018/object-rest-spread/14/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const [bar, { baz, ...foo }] = qux;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Identifier `foo` has already been declared
╭─[es2018/object-rest-spread/15/input.js:1:1]
1 │ export const foo = 1;
· ─┬─
· ╰── `foo` has already been declared here
2 │ export const [bar, [{ baz, ...foo }]] = qux;
· ─┬─
· ╰── It can not be redeclared here
╰────
× Invalid rest argument
╭─[es2018/object-rest-spread/16/input.js:1:1]
1 │ var {...{z}} = { z: 1};
· ───┬──
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid rest argument
╭─[es2018/object-rest-spread/17/input.js:1:1]
1 │ var { ...{ x = 5 } } = {x : 1};
· ──────┬─────
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid rest argument
╭─[es2018/object-rest-spread/19/input.js:1:1]
1 │ function test({...{}}) {}
· ──┬──
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid rest argument
╭─[es2018/object-rest-spread/20/input.js:1:1]
1 │ function test({...{a}}) {}
· ───┬──
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid assignment
╭─[es2018/object-rest-spread/21/input.js:1:1]
1 │ ({...x = 1} = {})
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid rest argument
╭─[es2018/object-rest-spread/22/input.js:1:1]
1 │ var {...x = 1} = {}
· ────┬───
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid rest argument
╭─[es2018/object-rest-spread/23/input.js:1:1]
1 │ function test({...x = 1}) {}
· ────┬───
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid rest argument
╭─[es2018/object-rest-spread/25/input.js:1:1]
1 │ var {...[]} = {}
· ──┬──
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Invalid rest argument
╭─[es2018/object-rest-spread/26/input.js:1:1]
1 │ function test({...[]}) {}
· ──┬──
· ╰── Invalid rest argument
╰────
help: Expected identifier in rest argument
× Rest element must be last element
╭─[es2018/object-rest-spread/7/input.js:1:1]
1 │ let { ...x, y, z } = obj;
· ──┬─
· ╰── Rest element must be last element
╰────
× Rest element must be last element
╭─[es2018/object-rest-spread/8/input.js:1:1]
1 │ let { x, y, ...z, } = obj;
· ──┬─
· ╰── Rest element must be last element
╰────
× Rest element must be last element
╭─[es2018/object-rest-spread/9/input.js:1:1]
1 │ let { x, ...y, ...z } = obj;
· ──┬─
· ╰── Rest element must be last element
╰────
× Spread must be last element
╭─[es2018/object-rest-spread/expression-rest-not-last-invalid/input.js:1:1]
1 │ ({...rest, b} = {})
· ───┬───
· ╰── Spread must be last element
╰────
× Invalid characters after number
╭─[es2020/bigint/invalid-decimal/input.js:1:1]
1 │ 1.0n
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2020/bigint/invalid-e/input.js:1:1]
1 │ 2e9n
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2020/bigint/invalid-non-octal-decimal-int/input.js:1:1]
1 │ 089n
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2020/bigint/invalid-octal-legacy/input.js:1:1]
1 │ 016432n
· ┬
· ╰── Invalid characters after number
╰────
× The only valid meta property for import is import.meta
╭─[es2020/dynamic-import/direct-calls-only/input.js:1:1]
1 │ function failsParse() {
2 │ return import.then();
· ───────────
3 │ }
╰────
× Unexpected token
╭─[es2020/dynamic-import/invalid-arguments-spread/input.js:1:1]
1 │ import(...[1])
· ───
╰────
× Cannot use new with dynamic import
╭─[es2020/dynamic-import/invalid-new/input.js:1:1]
1 │ new import("foo");
· ──────┬──────
· ╰── Cannot use new with dynamic import
╰────
× Expect token
╭─[es2020/dynamic-import/multiple-args/input.js:1:1]
1 │ import('hello', 'world', '!');
· ─┬─
· ╰── Expect `)` here, but found `string`
╰────
× Unexpected token
╭─[es2020/dynamic-import/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;
· ───────────
╰────
help: import.meta is only allowed in module code
× The only valid meta property for import is import.meta
╭─[es2020/import-meta/no-other-prop-names/input.js:1:1]
1 │ import.notMeta;
· ──────────────
╰────
× Invalid assignment
╭─[es2020/import-meta/not-assignable/input.js:1:1]
1 │ import.meta = true;
· ─────┬─────
· ╰── Cannot assign to this expression
╰────
× Logical expressions and coalesce expressions cannot be mixed
╭─[es2020/nullish-coalescing-operator/no-paren-and-nullish/input.js:1:1]
1 │ c && d ?? e;
· ───────────
╰────
help: Wrap either expression by parentheses
× Logical expressions and coalesce expressions cannot be mixed
╭─[es2020/nullish-coalescing-operator/no-paren-nullish-and/input.js:1:1]
1 │ a ?? b && c;
· ───────────
╰────
help: Wrap either expression by parentheses
× Logical expressions and coalesce expressions cannot be mixed
╭─[es2020/nullish-coalescing-operator/no-paren-nullish-or/input.js:1:1]
1 │ e ?? f ?? g || h;
· ────────────────
╰────
help: Wrap either expression by parentheses
× Logical expressions and coalesce expressions cannot be mixed
╭─[es2020/nullish-coalescing-operator/no-paren-or-nullish/input.js:1:1]
1 │ h || i ?? j;
· ───────────
╰────
help: Wrap either expression by parentheses
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/class-contructor-call/input.js:1:1]
1 │ new C?.b.d()
· ──────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:1:1]
1 │ new foo?.bar();
· ───────┬──────
· ╰── Optional chaining cannot appear in the callee of new expressions
2 │ new foo.bar?.();
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:1:1]
1 │ new foo?.bar();
2 │ new foo.bar?.();
· ─────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
3 │ new foo?.[0];
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:2:1]
2 │ new foo.bar?.();
3 │ new foo?.[0];
· ──────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
4 │
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:1:1]
1 │ new foo?.bar();
· ───────┬──────
· ╰── Optional chaining cannot appear in the callee of new expressions
2 │ new foo.bar?.();
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:1:1]
1 │ new foo?.bar();
2 │ new foo.bar?.();
· ─────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
3 │ new foo?.[0];
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:2:1]
2 │ new foo.bar?.();
3 │ new foo?.[0];
· ──────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
4 │
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:1:1]
1 │ new foo?.bar();
· ───────┬──────
· ╰── Optional chaining cannot appear in the callee of new expressions
2 │ new foo.bar?.();
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:1:1]
1 │ new foo?.bar();
2 │ new foo.bar?.();
· ─────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
3 │ new foo?.bar!()
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:2:1]
2 │ new foo.bar?.();
3 │ new foo?.bar!()
· ───────┬───────
· ╰── Optional chaining cannot appear in the callee of new expressions
4 │ new foo?.[0];
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:3:1]
3 │ new foo?.bar!()
4 │ new foo?.[0];
· ──────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
5 │ new foo?.bar![0];
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:4:1]
4 │ new foo?.[0];
5 │ new foo?.bar![0];
· ────────┬───────
· ╰── Optional chaining cannot appear in the callee of new expressions
6 │
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:1:1]
1 │ new foo?.bar();
· ───────┬──────
· ╰── Optional chaining cannot appear in the callee of new expressions
2 │ new foo.bar?.();
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:1:1]
1 │ new foo?.bar();
2 │ new foo.bar?.();
· ─────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
3 │ new foo?.bar!()
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:2:1]
2 │ new foo.bar?.();
3 │ new foo?.bar!()
· ───────┬───────
· ╰── Optional chaining cannot appear in the callee of new expressions
4 │ new foo?.[0];
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:3:1]
3 │ new foo?.bar!()
4 │ new foo?.[0];
· ──────┬─────
· ╰── Optional chaining cannot appear in the callee of new expressions
5 │ new foo?.bar![0];
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:4:1]
4 │ new foo?.[0];
5 │ new foo?.bar![0];
· ────────┬───────
· ╰── Optional chaining cannot appear in the callee of new expressions
6 │
╰────
× Optional chaining cannot appear in the callee of new expressions
╭─[es2020/optional-chaining/optional-constructor/input.js:1:1]
1 │ new a?.();
· ──┬──
· ╰── Optional chaining cannot appear in the callee of new expressions
╰────
× 'super' can only be used with function calls or in property accesses
╭─[es2020/optional-chaining/optional-super-property-class/input.js:2:1]
2 │ b(){
3 │ return super?.b;
· ──┬──
· ╰── 'super' can only be used with function calls or in property accesses
4 │ }
╰────
help: replace with `super()` or `super.prop` or `super[prop]`
× 'super' can only be used with function calls or in property accesses
╭─[es2020/optional-chaining/optional-super-property/input.js:2:1]
2 │ b(){
3 │ return super?.c;
· ──┬──
· ╰── 'super' can only be used with function calls or in property accesses
4 │ }
╰────
help: replace with `super()` or `super.prop` or `super[prop]`
× Tagged template expressions are not permitted in an optional chain
╭─[es2020/optional-chaining/optional-tagged-template-literals/input.js:1:1]
1 │ a?.b`foo`
· ──┬──
· ╰── Tagged template expressions are not permitted in an optional chain
╰────
× Unexpected token
╭─[es2021/for-async-of/forbidden-arrow-function/input.js:1:1]
1 │ for (async of => {} of x);
· ──────────────
╰────
× The left-hand side of a `for...of` statement may not be `async`
╭─[es2021/for-async-of/forbidden-equals/input.js:2:1]
2 │ // and finds "=" instead of "=>".
3 │ for (async of = x);
· ──┬──
· ╰── The left-hand side of a `for...of` statement may not be `async`
╰────
× Unexpected token
╭─[es2021/for-async-of/forbidden-equals/input.js:2:1]
2 │ // and finds "=" instead of "=>".
3 │ for (async of = x);
· ─
╰────
× The left-hand side of a `for...of` statement may not be `async`
╭─[es2021/for-async-of/forbidden/input.js:1:1]
1 │ for (async of x);
· ──┬──
· ╰── The left-hand side of a `for...of` statement may not be `async`
2 │
╰────
× The left-hand side of a `for...of` statement may not be `async`
╭─[es2021/for-async-of/forbidden/input.js:3:1]
3 │ async () => {
4 │ for (async of x);
· ──┬──
· ╰── The left-hand side of a `for...of` statement may not be `async`
5 │ }
╰────
× Invalid Character `
│ `
╭─[es2021/numeric-separator/invalid-0/input.js:1:1]
1 │ 1_
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `
│ `
╭─[es2021/numeric-separator/invalid-1/input.js:1:1]
1 │ 1_1_
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `
│ `
╭─[es2021/numeric-separator/invalid-10/input.js:1:1]
1 │ 0x1_1_
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `)`
╭─[es2021/numeric-separator/invalid-100/input.js:1:1]
1 │ (1_)
· ▲
· ╰── Invalid Character `)`
╰────
× Invalid Character `)`
╭─[es2021/numeric-separator/invalid-101/input.js:1:1]
1 │ (1_1_)
· ▲
· ╰── Invalid Character `)`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-102/input.js:1:1]
1 │ (1_1__)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-102/input.js:1:1]
1 │ (1_1__)
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-103/input.js:1:1]
1 │ (1__1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-103/input.js:1:1]
1 │ (1__1)
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `.`
╭─[es2021/numeric-separator/invalid-104/input.js:1:1]
1 │ (1_1_.1_1)
· ▲
· ╰── Invalid Character `.`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-105/input.js:1:1]
1 │ (1_1._1_1)
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `e`
╭─[es2021/numeric-separator/invalid-106/input.js:1:1]
1 │ (1_1.1_e1)
· ▲
· ╰── Invalid Character `e`
╰────
× Invalid Character `E`
╭─[es2021/numeric-separator/invalid-107/input.js:1:1]
1 │ (1_1.1_E1)
· ▲
· ╰── Invalid Character `E`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-108/input.js:1:1]
1 │ (1_1.1e_1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-108/input.js:1:1]
1 │ (1_1.1e_1)
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-109/input.js:1:1]
1 │ (1_1.1E_1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-109/input.js:1:1]
1 │ (1_1.1E_1)
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `
│ `
╭─[es2021/numeric-separator/invalid-11/input.js:1:1]
1 │ 0xa_1_
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `)`
╭─[es2021/numeric-separator/invalid-110/input.js:1:1]
1 │ (0x1_1_)
· ▲
· ╰── Invalid Character `)`
╰────
× Invalid Character `)`
╭─[es2021/numeric-separator/invalid-111/input.js:1:1]
1 │ (0xa_1_)
· ▲
· ╰── Invalid Character `)`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-112/input.js:1:1]
1 │ (0x_a_1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-113/input.js:1:1]
1 │ (0x__1_1_)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-114/input.js:1:1]
1 │ (0x_1__1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-115/input.js:1:1]
1 │ (0x_1_1_)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-116/input.js:1:1]
1 │ (0o_1_1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-117/input.js:1:1]
1 │ (0o_11)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-118/input.js:1:1]
1 │ (0o_01_1_)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-119/input.js:1:1]
1 │ (0b_0_1_1)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-12/input.js:1:1]
1 │ 0x_a_1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-120/input.js:1:1]
1 │ (0b_01_1_)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `)`
╭─[es2021/numeric-separator/invalid-121/input.js:1:1]
1 │ (0b01_1_)
· ▲
· ╰── Invalid Character `)`
╰────
× Invalid Character `)`
╭─[es2021/numeric-separator/invalid-122/input.js:1:1]
1 │ (0o1_1_)
· ▲
· ╰── Invalid Character `)`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-123/input.js:1:1]
1 │ (0o_1_1_)
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `}`
╭─[es2021/numeric-separator/invalid-124/input.js:1:1]
1 │ {1_}
· ▲
· ╰── Invalid Character `}`
╰────
× Invalid Character `}`
╭─[es2021/numeric-separator/invalid-125/input.js:1:1]
1 │ {1_1_}
· ▲
· ╰── Invalid Character `}`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-126/input.js:1:1]
1 │ {1_1__}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-126/input.js:1:1]
1 │ {1_1__}
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-127/input.js:1:1]
1 │ {1__1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-127/input.js:1:1]
1 │ {1__1}
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `.`
╭─[es2021/numeric-separator/invalid-128/input.js:1:1]
1 │ {1_1_.1_1}
· ▲
· ╰── Invalid Character `.`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-129/input.js:1:1]
1 │ {1_1._1_1}
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-13/input.js:1:1]
1 │ 0x__1_1_
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `e`
╭─[es2021/numeric-separator/invalid-130/input.js:1:1]
1 │ {1_1.1_e1}
· ▲
· ╰── Invalid Character `e`
╰────
× Invalid Character `E`
╭─[es2021/numeric-separator/invalid-131/input.js:1:1]
1 │ {1_1.1_E1}
· ▲
· ╰── Invalid Character `E`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-132/input.js:1:1]
1 │ {1_1.1e_1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-132/input.js:1:1]
1 │ {1_1.1e_1}
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-133/input.js:1:1]
1 │ {1_1.1E_1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-133/input.js:1:1]
1 │ {1_1.1E_1}
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `}`
╭─[es2021/numeric-separator/invalid-134/input.js:1:1]
1 │ {0x1_1_}
· ▲
· ╰── Invalid Character `}`
╰────
× Invalid Character `}`
╭─[es2021/numeric-separator/invalid-135/input.js:1:1]
1 │ {0xa_1_}
· ▲
· ╰── Invalid Character `}`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-136/input.js:1:1]
1 │ {0x_a_1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-137/input.js:1:1]
1 │ {0x__1_1_}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-138/input.js:1:1]
1 │ {0x_1__1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-139/input.js:1:1]
1 │ {0x_1_1_}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-14/input.js:1:1]
1 │ 0x_1__1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-140/input.js:1:1]
1 │ {0o_1_1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-141/input.js:1:1]
1 │ {0o_11}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-142/input.js:1:1]
1 │ {0o_01_1_}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-143/input.js:1:1]
1 │ {0b_0_1_1}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-144/input.js:1:1]
1 │ {0b_01_1_}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `}`
╭─[es2021/numeric-separator/invalid-145/input.js:1:1]
1 │ {0b01_1_}
· ▲
· ╰── Invalid Character `}`
╰────
× Invalid Character `}`
╭─[es2021/numeric-separator/invalid-146/input.js:1:1]
1 │ {0o1_1_}
· ▲
· ╰── Invalid Character `}`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-147/input.js:1:1]
1 │ {0o_1_1_}
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-15/input.js:1:1]
1 │ 0x_1_1_
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-16/input.js:1:1]
1 │ 0o_1_1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-17/input.js:1:1]
1 │ 0o_11
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-18/input.js:1:1]
1 │ 0o_01_1_
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-19/input.js:1:1]
1 │ 0b_0_1_1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-2/input.js:1:1]
1 │ 1_1__
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-2/input.js:1:1]
1 │ 1_1__
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-20/input.js:1:1]
1 │ 0b_01_1_
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `
│ `
╭─[es2021/numeric-separator/invalid-21/input.js:1:1]
1 │ 0b01_1_
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `
│ `
╭─[es2021/numeric-separator/invalid-22/input.js:1:1]
1 │ 0o1_1_
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-23/input.js:1:1]
1 │ 0o_1_1_
· ▲
· ╰── Invalid Character `_`
╰────
× Unexpected token
╭─[es2021/numeric-separator/invalid-24/input.js:1:1]
1 │ ._1_1
· ─
╰────
× Invalid Character `8`
╭─[es2021/numeric-separator/invalid-25/input.js:1:1]
1 │ 0o01_8
· ▲
· ╰── Invalid Character `8`
╰────
× Invalid Character `2`
╭─[es2021/numeric-separator/invalid-26/input.js:1:1]
1 │ 0b2_1
· ▲
· ╰── Invalid Character `2`
╰────
× Invalid Character `Z`
╭─[es2021/numeric-separator/invalid-27/input.js:1:1]
1 │ 0xZ_1
· ▲
· ╰── Invalid Character `Z`
╰────
× Invalid Character `;`
╭─[es2021/numeric-separator/invalid-28/input.js:1:1]
1 │ 1_;
· ▲
· ╰── Invalid Character `;`
╰────
× Invalid Character `;`
╭─[es2021/numeric-separator/invalid-29/input.js:1:1]
1 │ 1_1_;
· ▲
· ╰── Invalid Character `;`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-3/input.js:1:1]
1 │ 1__1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-3/input.js:1:1]
1 │ 1__1
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-30/input.js:1:1]
1 │ 1_1__;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-30/input.js:1:1]
1 │ 1_1__;
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-31/input.js:1:1]
1 │ 1__1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-31/input.js:1:1]
1 │ 1__1;
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `.`
╭─[es2021/numeric-separator/invalid-32/input.js:1:1]
1 │ 1_1_.1_1;
· ▲
· ╰── Invalid Character `.`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-33/input.js:1:1]
1 │ 1_1._1_1;
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `e`
╭─[es2021/numeric-separator/invalid-34/input.js:1:1]
1 │ 1_1.1_e1;
· ▲
· ╰── Invalid Character `e`
╰────
× Invalid Character `E`
╭─[es2021/numeric-separator/invalid-35/input.js:1:1]
1 │ 1_1.1_E1;
· ▲
· ╰── Invalid Character `E`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-36/input.js:1:1]
1 │ 1_1.1e_1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-36/input.js:1:1]
1 │ 1_1.1e_1;
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-37/input.js:1:1]
1 │ 1_1.1E_1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-37/input.js:1:1]
1 │ 1_1.1E_1;
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `;`
╭─[es2021/numeric-separator/invalid-38/input.js:1:1]
1 │ 0x1_1_;
· ▲
· ╰── Invalid Character `;`
╰────
× Invalid Character `;`
╭─[es2021/numeric-separator/invalid-39/input.js:1:1]
1 │ 0xa_1_;
· ▲
· ╰── Invalid Character `;`
╰────
× Invalid Character `.`
╭─[es2021/numeric-separator/invalid-4/input.js:1:1]
1 │ 1_1_.1_1
· ▲
· ╰── Invalid Character `.`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-40/input.js:1:1]
1 │ 0x_a_1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-41/input.js:1:1]
1 │ 0x__1_1_;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-42/input.js:1:1]
1 │ 0x_1__1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-43/input.js:1:1]
1 │ 0x_1_1_;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-44/input.js:1:1]
1 │ 0o_1_1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-45/input.js:1:1]
1 │ 0o_11;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-46/input.js:1:1]
1 │ 0o_01_1_;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-47/input.js:1:1]
1 │ 0b_0_1_1;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-48/input.js:1:1]
1 │ 0b_01_1_;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `;`
╭─[es2021/numeric-separator/invalid-49/input.js:1:1]
1 │ 0b01_1_;
· ▲
· ╰── Invalid Character `;`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-5/input.js:1:1]
1 │ 1_1._1_1
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `;`
╭─[es2021/numeric-separator/invalid-50/input.js:1:1]
1 │ 0o1_1_;
· ▲
· ╰── Invalid Character `;`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-51/input.js:1:1]
1 │ 0o_1_1_;
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `,`
╭─[es2021/numeric-separator/invalid-52/input.js:1:1]
1 │ 1_, 0
· ▲
· ╰── Invalid Character `,`
╰────
× Invalid Character `,`
╭─[es2021/numeric-separator/invalid-53/input.js:1:1]
1 │ 1_1_, 0
· ▲
· ╰── Invalid Character `,`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-54/input.js:1:1]
1 │ 1_1__, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-54/input.js:1:1]
1 │ 1_1__, 0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-55/input.js:1:1]
1 │ 1__1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-55/input.js:1:1]
1 │ 1__1, 0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `.`
╭─[es2021/numeric-separator/invalid-56/input.js:1:1]
1 │ 1_1_.1_1, 0
· ▲
· ╰── Invalid Character `.`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-57/input.js:1:1]
1 │ 1_1._1_1, 0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `e`
╭─[es2021/numeric-separator/invalid-58/input.js:1:1]
1 │ 1_1.1_e1, 0
· ▲
· ╰── Invalid Character `e`
╰────
× Invalid Character `E`
╭─[es2021/numeric-separator/invalid-59/input.js:1:1]
1 │ 1_1.1_E1, 0
· ▲
· ╰── Invalid Character `E`
╰────
× Invalid Character `e`
╭─[es2021/numeric-separator/invalid-6/input.js:1:1]
1 │ 1_1.1_e1
· ▲
· ╰── Invalid Character `e`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-60/input.js:1:1]
1 │ 1_1.1e_1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-60/input.js:1:1]
1 │ 1_1.1e_1, 0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-61/input.js:1:1]
1 │ 1_1.1E_1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-61/input.js:1:1]
1 │ 1_1.1E_1, 0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `,`
╭─[es2021/numeric-separator/invalid-62/input.js:1:1]
1 │ 0x1_1_, 0
· ▲
· ╰── Invalid Character `,`
╰────
× Invalid Character `,`
╭─[es2021/numeric-separator/invalid-63/input.js:1:1]
1 │ 0xa_1_, 0
· ▲
· ╰── Invalid Character `,`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-64/input.js:1:1]
1 │ 0x_a_1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-65/input.js:1:1]
1 │ 0x__1_1_, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-66/input.js:1:1]
1 │ 0x_1__1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-67/input.js:1:1]
1 │ 0x_1_1_, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-68/input.js:1:1]
1 │ 0o_1_1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-69/input.js:1:1]
1 │ 0o_11, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `E`
╭─[es2021/numeric-separator/invalid-7/input.js:1:1]
1 │ 1_1.1_E1
· ▲
· ╰── Invalid Character `E`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-70/input.js:1:1]
1 │ 0o_01_1_, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-71/input.js:1:1]
1 │ 0b_0_1_1, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-72/input.js:1:1]
1 │ 0b_01_1_, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `,`
╭─[es2021/numeric-separator/invalid-73/input.js:1:1]
1 │ 0b01_1_, 0
· ▲
· ╰── Invalid Character `,`
╰────
× Invalid Character `,`
╭─[es2021/numeric-separator/invalid-74/input.js:1:1]
1 │ 0o1_1_, 0
· ▲
· ╰── Invalid Character `,`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-75/input.js:1:1]
1 │ 0o_1_1_, 0
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `]`
╭─[es2021/numeric-separator/invalid-76/input.js:1:1]
1 │ [1_]
· ▲
· ╰── Invalid Character `]`
╰────
× Invalid Character `]`
╭─[es2021/numeric-separator/invalid-77/input.js:1:1]
1 │ [1_1_]
· ▲
· ╰── Invalid Character `]`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-78/input.js:1:1]
1 │ [1_1__]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-78/input.js:1:1]
1 │ [1_1__]
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-79/input.js:1:1]
1 │ [1__1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-79/input.js:1:1]
1 │ [1__1]
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-8/input.js:1:1]
1 │ 1_1.1e_1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-8/input.js:1:1]
1 │ 1_1.1e_1
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `.`
╭─[es2021/numeric-separator/invalid-80/input.js:1:1]
1 │ [1_1_.1_1]
· ▲
· ╰── Invalid Character `.`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-81/input.js:1:1]
1 │ [1_1._1_1]
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `e`
╭─[es2021/numeric-separator/invalid-82/input.js:1:1]
1 │ [1_1.1_e1]
· ▲
· ╰── Invalid Character `e`
╰────
× Invalid Character `E`
╭─[es2021/numeric-separator/invalid-83/input.js:1:1]
1 │ [1_1.1_E1]
· ▲
· ╰── Invalid Character `E`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-84/input.js:1:1]
1 │ [1_1.1e_1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-84/input.js:1:1]
1 │ [1_1.1e_1]
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-85/input.js:1:1]
1 │ [1_1.1E_1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-85/input.js:1:1]
1 │ [1_1.1E_1]
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `]`
╭─[es2021/numeric-separator/invalid-86/input.js:1:1]
1 │ [0x1_1_]
· ▲
· ╰── Invalid Character `]`
╰────
× Invalid Character `]`
╭─[es2021/numeric-separator/invalid-87/input.js:1:1]
1 │ [0xa_1_]
· ▲
· ╰── Invalid Character `]`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-88/input.js:1:1]
1 │ [0x_a_1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-89/input.js:1:1]
1 │ [0x__1_1_]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-9/input.js:1:1]
1 │ 1_1.1E_1
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-9/input.js:1:1]
1 │ 1_1.1E_1
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-90/input.js:1:1]
1 │ [0x_1__1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-91/input.js:1:1]
1 │ [0x_1_1_]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-92/input.js:1:1]
1 │ [0o_1_1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-93/input.js:1:1]
1 │ [0o_11]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-94/input.js:1:1]
1 │ [0o_01_1_]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-95/input.js:1:1]
1 │ [0b_0_1_1]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-96/input.js:1:1]
1 │ [0b_01_1_]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid Character `]`
╭─[es2021/numeric-separator/invalid-97/input.js:1:1]
1 │ [0b01_1_]
· ▲
· ╰── Invalid Character `]`
╰────
× Invalid Character `]`
╭─[es2021/numeric-separator/invalid-98/input.js:1:1]
1 │ [0o1_1_]
· ▲
· ╰── Invalid Character `]`
╰────
× Invalid Character `_`
╭─[es2021/numeric-separator/invalid-99/input.js:1:1]
1 │ [0o_1_1_]
· ▲
· ╰── Invalid Character `_`
╰────
× Invalid escape sequence
╭─[es2021/numeric-separator/invalid-hex/input.js:1:1]
1 │ "\x1_0";
· ─┬─
· ╰── Invalid escape sequence
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-leading-zero/input.js:1:1]
1 │ 0_8
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-legacy-octal-literal/input.js:1:1]
1 │ 00_0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[es2021/numeric-separator/invalid-non-octal-decimal-int/input.js:1:1]
1 │ 08_0n
· ┬
· ╰── Invalid characters after number
╰────
× Invalid escape sequence
╭─[es2021/numeric-separator/invalid-unicode-2/input.js:1:1]
1 │ "\u12_34"
· ──┬─
· ╰── Invalid escape sequence
╰────
× Invalid Unicode escape sequence
╭─[es2021/numeric-separator/invalid-unicode-3/input.js:1:1]
1 │ \u{_0061};
· ─┬
· ╰── Invalid Unicode escape sequence
╰────
× Unexpected token
╭─[es2021/numeric-separator/invalid-unicode-3/input.js:1:1]
1 │ \u{_0061};
· ─
╰────
× Invalid Unicode escape sequence
╭─[es2021/numeric-separator/invalid-unicode-4/input.js:1:1]
1 │ \u{00__61};
· ──┬─
· ╰── Invalid Unicode escape sequence
╰────
× Unexpected token
╭─[es2021/numeric-separator/invalid-unicode-4/input.js:1:1]
1 │ \u{00__61};
· ─
╰────
× Invalid Unicode escape sequence
╭─[es2021/numeric-separator/invalid-unicode-5/input.js:1:1]
1 │ \u_0061;
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[es2021/numeric-separator/invalid-unicode-6/input.js:1:1]
1 │ \u00__61;
· ─┬─
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[es2021/numeric-separator/invalid-unicode-7/input.js:1:1]
1 │ \u{0061_};
· ───┬──
· ╰── Invalid Unicode escape sequence
╰────
× Unexpected token
╭─[es2021/numeric-separator/invalid-unicode-7/input.js:1:1]
1 │ \u{0061_};
· ─
╰────
× Invalid escape sequence
╭─[es2021/numeric-separator/invalid-unicode/input.js:1:1]
1 │ "\u{1F_639}"
· ──┬──
· ╰── Invalid escape sequence
╰────
× Bad escape sequence in untagged template literal
╭─[es2021/numeric-separator/template-with-invalid-numeric-separator-in-code-point/input.js:1:1]
1 │ `abc\u{1000_0000}`;
· ────────┬───────
· ╰── Bad escape sequence in untagged template literal
╰────
× Identifier `x` has already been declared
╭─[esprima/declaration-function/dupe-param/input.js:1:1]
1 │ function a(x, x) {'use strict';}
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `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;
· ┬
· ╰── Unexpected trailing comma after rest element
╰────
× Identifier `b` has already been declared
╭─[esprima/es2015-array-binding-pattern/invalid-dup-param/input.js:1:1]
1 │ ([a,[b],...b])=>0;
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `b` has already been declared here
╰────
× Identifier `a` has already been declared
╭─[esprima/es2015-array-pattern/dupe-param-1/input.js:1:1]
1 │ "use strict";
2 │ function a([a,a]){ }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Identifier `a` has already been declared
╭─[esprima/es2015-array-pattern/dupe-param-2/input.js:1:1]
1 │ "use strict";
2 │ function a([a,...a]){ }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Identifier `a` has already been declared
╭─[esprima/es2015-array-pattern/dupe-param-3/input.js:1:1]
1 │ "use strict";
2 │ function a([{a},...a]){ }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Expect token
╭─[esprima/es2015-array-pattern/with-default-catch-param-fail/input.js:1:1]
1 │ try { } catch ([a] = []) { }
· ┬
· ╰── Expect `)` here, but found `=`
╰────
× Expect token
╭─[esprima/es2015-arrow-function/arrow-rest-forgetting-comma/input.js:1:1]
1 │ (a ...b) => 0
· ─┬─
· ╰── Expect `,` here, but found `...`
╰────
× Rest element must be last element
╭─[esprima/es2015-arrow-function/arrow-with-multiple-rest/input.js:1:1]
1 │ (...a, ...b) => 0
· ──┬─
· ╰── Rest element must be last element
╰────
× Identifier `a` has already been declared
╭─[esprima/es2015-arrow-function/complex-rest-in-arrow-not-allowed/input.js:1:1]
1 │ (a,...[a]) => 0;
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Identifier `x` has already been declared
╭─[esprima/es2015-arrow-function/invalid-duplicated-params/input.js:1:1]
1 │ (x, x) => y;
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `x` has already been declared here
╰────
× Line terminator not permitted before arrow
╭─[esprima/es2015-arrow-function/invalid-line-terminator-arrow/input.js:1:1]
1 │ ()
2 │ => 42
· ─┬
· ╰── Line terminator not permitted before arrow
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/es2015-arrow-function/invalid-param-strict-mode/input.js:1:1]
1 │ eval => {"use strict"};
· ────
╰────
× Automatic Semicolon Insertion
╭─[esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/input.js:1:1]
1 │ ((a)) => 0
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/input.js:1:1]
1 │ ((a),...b) => 0;
· ───
╰────
× Automatic Semicolon Insertion
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-member-expr/input.js:1:1]
1 │ ({a:b[0]})=>0
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-method-in-pattern/input.js:1:1]
1 │ ({get a(){}}) => 0;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-nested-param/input.js:1:1]
1 │ ([[[[[[[[[[[[[[[[[[[[{a:b[0]}]]]]]]]]]]]]]]]]]]]])=>0;
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-pattern-without-parenthesis/input.js:1:1]
1 │ ({}=>0)
· ─┬
· ╰── Expect `,` here, but found `=>`
╰────
× Unexpected token
╭─[esprima/es2015-arrow-function/param-with-rest-without-arrow/input.js:1:1]
1 │ (b, ...a) + 1
· ───
╰────
× Expect token
╭─[esprima/es2015-arrow-function/rest-without-arrow/input.js:1:1]
1 │ (...a) + 1
· ┬
· ╰── Expect `=>` here, but found `+`
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/es2015-class/.migrated_0026/input.js:1:1]
1 │ class A {a(eval){}}
· ────
╰────
× Invalid assignment
╭─[esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/input.js:1:1]
1 │ ({a:this}=0)
· ──┬─
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/input.js:1:1]
1 │ ({a: this} = 0);
· ──┬─
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/es2015-destructuring-assignment-object-pattern/invalid-pattern-with-method/input.js:1:1]
1 │ ({a(){}}=0)
· ──┬─
· ╰── Cannot assign to this expression
╰────
× Invalid assignment in object literal
╭─[esprima/es2015-destructuring-assignment/invalid-cover-grammar/input.js:1:1]
1 │ [[[[[[[[[[[[[[[[[[[[{a=b}]]]]]]]]]]]]]]]]]]]]
· ───
╰────
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
× Invalid assignment
╭─[esprima/es2015-destructuring-assignment/invalid-group-assignment/input.js:1:1]
1 │ (a,b)=(c,d);
· ─┬─
· ╰── Cannot assign to this expression
╰────
× Expect token
╭─[esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/input.js:1:1]
1 │ export *
· ▲
· ╰── Expect `from` here, but found `EOF`
╰────
× Expect token
╭─[esprima/es2015-export-declaration/invalid-export-batch-token/input.js:1:1]
1 │ export * +
· ┬
· ╰── Expect `from` here, but found `+`
╰────
× Unexpected token
╭─[esprima/es2015-export-declaration/invalid-export-default-equal/input.js:1:1]
1 │ export default = 42
· ─
╰────
× Automatic Semicolon Insertion
╭─[esprima/es2015-export-declaration/invalid-export-default-token/input.js:1:1]
1 │ export {default} +
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/es2015-export-declaration/invalid-export-default/input.js:1:1]
1 │ export default from "foo"
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× for-of loop variable declaration may not have an initializer
╭─[esprima/es2015-for-of/invalid-const-init/input.js:1:1]
1 │ for (const x = 1 of y);
· ───────────
╰────
× for-of loop variable declaration may not have an initializer
╭─[esprima/es2015-for-of/invalid-let-init/input.js:1:1]
1 │ for (let x = 1 of y);
· ─────────
╰────
× Unexpected token
╭─[esprima/es2015-for-of/invalid-lhs-init/input.js:1:1]
1 │ for (this of that);
· ────
╰────
× for-of loop variable declaration may not have an initializer
╭─[esprima/es2015-for-of/invalid-var-init/input.js:1:1]
1 │ for (var x = 1 of y);
· ─────────
╰────
× Expect token
╭─[esprima/es2015-for-of/unexpected-number/input.js:1:1]
1 │ for (const of 42);
· ─┬
· ╰── Expect `;` here, but found `decimal`
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[esprima/es2015-generator/generator-method-with-invalid-computed-name/input.js:1:1]
1 │ ({ *[yield iter]() {} })
· ─────
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-generator/generator-parameter-binding-element/input.js:1:1]
1 │ (function*() {
2 │ function(x = yield 3) {}
· ───┬───
· ╰── yield expression not allowed in formal parameter
3 │ })
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[esprima/es2015-generator/generator-parameter-binding-element/input.js:1:1]
1 │ (function*() {
2 │ function(x = yield 3) {}
· ─────
3 │ })
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-generator/generator-parameter-binding-property/input.js:1:1]
1 │ (function*() {
2 │ function({x: y = yield 3}) {}
· ───┬───
· ╰── yield expression not allowed in formal parameter
3 │ })
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[esprima/es2015-generator/generator-parameter-binding-property/input.js:1:1]
1 │ (function*() {
2 │ function({x: y = yield 3}) {}
· ─────
3 │ })
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-generator/generator-parameter-computed-property-name/input.js:1:1]
1 │ (function*() {
2 │ function({[yield 3]: y}) {}
· ───┬───
· ╰── yield expression not allowed in formal parameter
3 │ })
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[esprima/es2015-generator/generator-parameter-computed-property-name/input.js:1:1]
1 │ (function*() {
2 │ function({[yield 3]: y}) {}
· ─────
3 │ })
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-generator/generator-parameter-invalid-binding-element/input.js:1:1]
1 │ (function*() {
2 │ function*(x = yield 3) {}
· ───┬───
· ╰── yield expression not allowed in formal parameter
3 │ })
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-generator/generator-parameter-invalid-binding-property/input.js:1:1]
1 │ (function*() {
2 │ function*({x: y = yield 3}) {}
· ───┬───
· ╰── yield expression not allowed in formal parameter
3 │ })
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-generator/generator-parameter-invalid-computed-property-name/input.js:1:1]
1 │ (function*() {
2 │ function*({[yield 3]: y}) {}
· ───┬───
· ╰── yield expression not allowed in formal parameter
3 │ })
╰────
× Unexpected token
╭─[esprima/es2015-generator/incomplete-yield-delegate/input.js:1:1]
1 │ (function*() { yield* })
· ─
╰────
× Unexpected token
╭─[esprima/es2015-generator/malformed-generator-method-2/input.js:1:1]
1 │ class Foo { * }
· ─
╰────
× Unexpected token
╭─[esprima/es2015-generator/malformed-generator-method/input.js:1:1]
1 │ ({ * })
· ─
╰────
× Invalid Unicode escape sequence
╭─[esprima/es2015-identifier/.invalid_lone_surrogate/input.js:1:1]
1 │ \uD800!
· ──┬──
· ╰── Invalid Unicode escape sequence
╰────
× Automatic Semicolon Insertion
╭─[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
╰────
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
· ─────┬─────
· ╰── Invalid Unicode escape sequence
╰────
× Cannot use export statement outside a module
╭─[esprima/es2015-identifier/invalid_expression_await/input.js:1:1]
1 │ export var answer = await + 1;
· ──────
╰────
× Invalid Character `🀒`
╭─[esprima/es2015-identifier/invalid_id_smp/input.js:1:1]
1 │ var 🀒
· ┬
· ╰── Invalid Character `🀒`
╰────
× Cannot use export statement outside a module
╭─[esprima/es2015-identifier/invalid_var_await/input.js:1:1]
1 │ export var await;
· ──────
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/input.js:1:1]
1 │ import foo, {bar}, foo from "foo";
· ┬
· ╰── Expect `from` here, but found `,`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-default-after-named/input.js:1:1]
1 │ import {bar}, foo from "foo"
· ┬
· ╰── Expect `from` here, but found `,`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/input.js:1:1]
1 │ import foo
· ▲
· ╰── Expect `from` here, but found `EOF`
╰────
× Unexpected token
╭─[esprima/es2015-import-declaration/invalid-import-default-module-specifier/input.js:1:1]
1 │ import foo from bar;
· ───
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-default/input.js:1:1]
1 │ import default from "foo"
· ───┬───
· ╰── Expect `from` here, but found `default`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-missing-comma/input.js:1:1]
1 │ import foo { bar } from "bar";
· ┬
· ╰── Expect `from` here, but found `{`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-missing-module-specifier/input.js:1:1]
1 │ import { foo, bar }
· ▲
· ╰── Expect `from` here, but found `EOF`
╰────
× Automatic Semicolon Insertion
╭─[esprima/es2015-import-declaration/invalid-import-module-specifier/input.js:1:1]
1 │ export {foo} from bar
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-named-after-named/input.js:1:1]
1 │ import {bar}, {foo} from "foo";
· ┬
· ╰── Expect `from` here, but found `,`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-named-after-namespace/input.js:1:1]
1 │ import * as foo, {bar} from "foo";
· ┬
· ╰── Expect `from` here, but found `,`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-named-as-missing-from/input.js:1:1]
1 │ import {default as foo}
· ▲
· ╰── Expect `from` here, but found `EOF`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-namespace-after-named/input.js:1:1]
1 │ import {bar}, * as foo from "foo";
· ┬
· ╰── Expect `from` here, but found `,`
╰────
× Expect token
╭─[esprima/es2015-import-declaration/invalid-import-namespace-missing-as/input.js:1:1]
1 │ import * from "foo"
· ──┬─
· ╰── Expect `as` here, but found `from`
╰────
× Unexpected token
╭─[esprima/es2015-import-declaration/invalid-import-specifiers/input.js:1:1]
1 │ import foo, from "bar";
· ────
╰────
× Missing initializer in destructuring declaration
╭─[esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/input.js:1:1]
1 │ let []
· ─┬
· ╰── Missing initializer in destructuring declaration
╰────
× for-in loop variable declaration may not have an initializer
╭─[esprima/es2015-lexical-declaration/invalid_const_forin/input.js:1:1]
1 │ for (const x = 0 in y){}
· ───────────
╰────
× for-in loop variable declaration may not have an initializer
╭─[esprima/es2015-lexical-declaration/invalid_let_forin/input.js:1:1]
1 │ for (let x = 0 in y){}
· ─────────
╰────
× Unexpected token
╭─[esprima/es2015-meta-property/invalid-dots/input.js:1:1]
1 │ var x = function() { y = new..target; }
· ─
╰────
× Unexpected new.target expression
╭─[esprima/es2015-meta-property/invalid-new-target/input.js:1:1]
1 │ var x = new.target;
· ──────────
╰────
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
× The only valid meta property for new is new.target
╭─[esprima/es2015-meta-property/unknown-property/input.js:1:1]
1 │ var f = function() { new.unknown_property; }
· ────────────────────
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/input.js:1:1]
1 │ ({ get __proto(){}, "__proto__": null, __proto__: null, })
· ─────┬───── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/es2015-object-initialiser/invalid-proto-identifier-literal/input.js:1:1]
1 │ ({ __proto__: null, "__proto__": null })
· ────┬──── ─────┬─────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/es2015-object-initialiser/invalid-proto-identifiers/input.js:1:1]
1 │ ({ __proto__: null, __proto__: null })
· ────┬──── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/es2015-object-initialiser/invalid-proto-literal-identifier/input.js:1:1]
1 │ ({ "__proto__": null, __proto__: null })
· ─────┬───── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/es2015-object-initialiser/invalid-proto-literals/input.js:1:1]
1 │ ({ "__proto__": null, '__proto__': null })
· ─────┬───── ─────┬─────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/input.js:1:1]
1 │ ({ set __proto__(x){}, "__proto__": null, __proto__: null, })
· ─────┬───── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Unexpected token
╭─[esprima/es2015-spread-element/invalid-call-dot-dot/input.js:1:1]
1 │ f(..g);
· ─
╰────
× Unexpected token
╭─[esprima/es2015-spread-element/invalid-call-dots/input.js:1:1]
1 │ f(....g);
· ─
╰────
× Unexpected token
╭─[esprima/es2015-spread-element/invalid-call-spreads/input.js:1:1]
1 │ f(... ... g);
· ───
╰────
× Unexpected token
╭─[esprima/es2015-spread-element/invalid-new-dot-dot/input.js:1:1]
1 │ new f(..g);
· ─
╰────
× Unexpected token
╭─[esprima/es2015-spread-element/invalid-new-dots/input.js:1:1]
1 │ new f(....g);
· ─
╰────
× Unexpected token
╭─[esprima/es2015-spread-element/invalid-new-spreads/input.js:1:1]
1 │ new f(... ... g);
· ───
╰────
× 'super' can only be used with function calls or in property accesses
╭─[esprima/es2015-super-property/.invalid_super_access/input.js:2:1]
2 │ constructor() {
3 │ (super)();
· ──┬──
· ╰── 'super' can only be used with function calls or in property accesses
4 │ }
╰────
help: replace with `super()` or `super.prop` or `super[prop]`
× Super calls are not permitted outside constructors or in nested functions inside constructors.
╭─[esprima/es2015-super-property/.invalid_super_id/input.js:1:1]
1 │ class A {
2 │ foo() { new super + 3 }
· ─────────
3 │ }
╰────
× 'super' can only be used with function calls or in property accesses
╭─[esprima/es2015-super-property/.invalid_super_id/input.js:1:1]
1 │ class A {
2 │ foo() { new super + 3 }
· ──┬──
· ╰── 'super' can only be used with function calls or in property accesses
3 │ }
╰────
help: replace with `super()` or `super.prop` or `super[prop]`
× Super calls are not permitted outside constructors or in nested functions inside constructors.
╭─[esprima/es2015-super-property/invalid_super_not_inside_function/input.js:1:1]
1 │ var x = super();
· ───────
╰────
× 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
╰────
× Bad escape sequence in untagged template literal
╭─[esprima/es2015-template-literals/.strict-octal-literal/input.js:1:1]
1 │ 'use strict'; `\00`;
· ─┬─
· ╰── Bad escape sequence in untagged template literal
╰────
× Expect token
╭─[esprima/es2015-template-literals/after-switch/input.js:1:1]
1 │ switch `test`
· ───┬──
· ╰── Expect `(` here, but found `${}`
╰────
× Bad escape sequence in untagged template literal
╭─[esprima/es2015-template-literals/invalid-escape/input.js:1:1]
1 │ `\1`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Unexpected token
╭─[esprima/es2015-template-literals/unclosed-interpolation/input.js:1:1]
1 │ `hello ${10;test`
· ─
╰────
× Expect token
╭─[esprima/es2015-template-literals/unclosed-nested/input.js:1:1]
1 │ `hello ${10 `test`
· ▲
· ╰── Expect `$}` here, but found `EOF`
╰────
× Unterminated string
╭─[esprima/es2015-template-literals/unclosed/input.js:1:1]
1 │ `test
· ───┬──
· ╰── Unterminated string
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[esprima/es2015-yield/invalid-yield-binding-property/input.js:1:1]
1 │ var {x: y = yield 3} = z;
· ─────
╰────
× A 'yield' expression is only allowed in a generator body.
╭─[esprima/es2015-yield/invalid-yield-expression/input.js:1:1]
1 │ (function() { yield 3; })
· ─────
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-yield/invalid-yield-generator-arrow-default/input.js:1:1]
1 │ function* g() { (x = yield 42) => {} }
· ────┬───
· ╰── yield expression not allowed in formal parameter
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-arrow-parameter/input.js:1:1]
1 │ function *g(){ (yield) => 42 }
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-arrow-parameters/input.js:1:1]
1 │ function *g(){ (a, b, c, yield) => 42 }
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-catch/input.js:1:1]
1 │ function *g() { try {} catch (yield) {} }
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-declaration/input.js:1:1]
1 │ function *g() { function *yield(){} }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-generator-export-default/input.js:1:1]
1 │ export default function *yield() {}
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-expression-name/input.js:1:1]
1 │ (function*yield(){})
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-expression-parameter/input.js:1:1]
1 │ (function *(yield){})
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-expression-rest/input.js:1:1]
1 │ (function *(x, ...yield){})
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-function-declaration/input.js:1:1]
1 │ function *g() { function yield() {} }
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-lexical-declaration/input.js:1:1]
1 │ function *g() { let yield; }
· ─────
╰────
× Unexpected token
╭─[esprima/es2015-yield/invalid-yield-generator-member-expression/input.js:1:1]
1 │ function *g() { return yield.x; }
· ─
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-parameter/input.js:1:1]
1 │ function *g(yield){}
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-rest/input.js:1:1]
1 │ function *g(a, b, c, ...yield){}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-generator-strict-function-expression/input.js:1:1]
1 │ "use strict"; function *g(){ var y = function yield(){}; }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-generator-strict-function-parameter/input.js:1:1]
1 │ "use strict"; function *g() { var z = function(yield) {} }
· ─────
╰────
× Cannot use `yield` as an identifier in a generator context
╭─[esprima/es2015-yield/invalid-yield-generator-variable-declaration/input.js:1:1]
1 │ function *g() { var yield; }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-array-pattern/input.js:1:1]
1 │ "use strict"; ([yield] = x)
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/input.js:1:1]
1 │ "use strict"; (x = yield) => {}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/input.js:1:1]
1 │ "use strict"; (yield) => 42
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-binding-element/input.js:1:1]
1 │ "use strict"; var { x: yield } = foo;
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-catch-parameter/input.js:1:1]
1 │ "use strict"; try {} catch (yield) {}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-formal-parameter/input.js:1:1]
1 │ "use strict"; function f(yield) {}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-function-declaration/input.js:1:1]
1 │ function yield(){ "use strict"; }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-function-expression/input.js:1:1]
1 │ (function yield(){ "use strict"; })
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-identifier/input.js:1:1]
1 │ "use strict"; function f() { yield }
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-lexical-declaration/input.js:1:1]
1 │ "use strict"; let yield = 42;
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-rest-parameter/input.js:1:1]
1 │ "use strict"; function f(...yield) {}
· ─────
╰────
× The keyword 'yield' is reserved
╭─[esprima/es2015-yield/invalid-yield-strict-variable-declaration/input.js:1:1]
1 │ "use strict"; var yield;
· ─────
╰────
× yield expression not allowed in formal parameter
╭─[esprima/es2015-yield/yield-generator-arrow-default/input.js:1:1]
1 │ function *g() { (x = yield) => {} }
· ──┬──
· ╰── yield expression not allowed in formal parameter
╰────
× Invalid Character ``
╭─[esprima/expression-primary-array/migrated_0012/input.js:1:1]
1 │ \u2163\u2161\u200A
· ▲
· ╰── Invalid Character ``
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-00/input.js:1:1]
1 │ "\x";
· ─┬
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-01/input.js:1:1]
1 │ "\x0";
· ─┬─
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-02/input.js:1:1]
1 │ "\xx";
· ─┬
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-03/input.js:1:1]
1 │ "\u";
· ─┬
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-04/input.js:1:1]
1 │ "\u0";
· ─┬─
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-05/input.js:1:1]
1 │ "\ux";
· ─┬
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-06/input.js:1:1]
1 │ "\u00";
· ──┬─
· ╰── Invalid escape sequence
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/GH-1106-07/input.js:1:1]
1 │ "\u000";
· ──┬──
· ╰── Invalid escape sequence
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0000/input.js:1:1]
1 │ {
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0001/input.js:1:1]
1 │ }
· ─
╰────
× Invalid Character `a`
╭─[esprima/invalid-syntax/migrated_0002/input.js:1:1]
1 │ 3ea
· ▲
· ╰── Invalid Character `a`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0002/input.js:1:1]
1 │ 3ea
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0003/input.js:1:1]
1 │ 3in []
· ─┬
· ╰── Invalid characters after number
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0004/input.js:1:1]
1 │ 3e
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Number
╭─[esprima/invalid-syntax/migrated_0004/input.js:1:1]
1 │ 3e
· ─┬
· ╰── invalid float
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0005/input.js:1:1]
1 │ 3e+
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Number
╭─[esprima/invalid-syntax/migrated_0005/input.js:1:1]
1 │ 3e+
· ─┬─
· ╰── invalid float
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0006/input.js:1:1]
1 │ 3e-
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Number
╭─[esprima/invalid-syntax/migrated_0006/input.js:1:1]
1 │ 3e-
· ─┬─
· ╰── invalid float
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0007/input.js:1:1]
1 │ 3x
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0008/input.js:1:1]
1 │ 3x0
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0009/input.js:1:1]
1 │ 0x
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0010/input.js:1:1]
1 │ 01a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0011/input.js:1:1]
1 │ 0o1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0012/input.js:1:1]
1 │ 0o
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0013/input.js:1:1]
1 │ 0O
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid Character `9`
╭─[esprima/invalid-syntax/migrated_0014/input.js:1:1]
1 │ 0o9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0015/input.js:1:1]
1 │ 0o18
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0016/input.js:1:1]
1 │ 0O1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0017/input.js:1:1]
1 │ 0b
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0018/input.js:1:1]
1 │ 0b1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[esprima/invalid-syntax/migrated_0019/input.js:1:1]
1 │ 0b9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0020/input.js:1:1]
1 │ 0b18
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0021/input.js:1:1]
1 │ 0b12
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `
│ `
╭─[esprima/invalid-syntax/migrated_0022/input.js:1:1]
1 │ 0B
· ▲
· ╰── Invalid Character `
`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0023/input.js:1:1]
1 │ 0B1a
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[esprima/invalid-syntax/migrated_0024/input.js:1:1]
1 │ 0B9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0025/input.js:1:1]
1 │ 0B18
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0026/input.js:1:1]
1 │ 0B12
· ┬
· ╰── Invalid characters after number
╰────
× Invalid Character `9`
╭─[esprima/invalid-syntax/migrated_0027/input.js:1:1]
1 │ 0O9
· ▲
· ╰── Invalid Character `9`
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0028/input.js:1:1]
1 │ 0O18
· ┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0029/input.js:1:1]
1 │ 3in[]
· ─┬
· ╰── Invalid characters after number
╰────
× Invalid characters after number
╭─[esprima/invalid-syntax/migrated_0030/input.js:1:1]
1 │ 0x3in[]
· ─┬
· ╰── Invalid characters after number
╰────
× Unterminated string
╭─[esprima/invalid-syntax/migrated_0031/input.js:1:1]
1 │ "Hello
· ───┬───
· ╰── Unterminated string
2 │ World"
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0032/input.js:1:1]
1 │ x\
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Character `\`
╭─[esprima/invalid-syntax/migrated_0033/input.js:1:1]
1 │ x\u005c
· ▲
· ╰── Invalid Character `\`
╰────
× Invalid Character `*`
╭─[esprima/invalid-syntax/migrated_0034/input.js:1:1]
1 │ x\u002a
· ▲
· ╰── Invalid Character `*`
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0036/input.js:1:1]
1 │ a\u
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0037/input.js:1:1]
1 │ \ua
· ─┬
· ╰── Invalid Unicode escape sequence
╰────
× Unterminated regular expression
╭─[esprima/invalid-syntax/migrated_0038/input.js:1:1]
1 │ /
· ─┬
· ╰── Unterminated regular expression
╰────
× Unterminated regular expression
╭─[esprima/invalid-syntax/migrated_0039/input.js:1:1]
1 │ /test
· ───┬──
· ╰── Unterminated regular expression
╰────
× Unterminated regular expression
╭─[esprima/invalid-syntax/migrated_0040/input.js:1:1]
1 │ /test
· ───┬──
· ╰── Unterminated regular expression
2 │ /
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0041/input.js:1:1]
1 │ var x = /[a-z]/\ux
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0041/input.js:1:1]
1 │ var x = /[a-z]/\ux
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0042/input.js:1:1]
1 │ var x = /[a-z\n]/\ux
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0042/input.js:1:1]
1 │ var x = /[a-z\n]/\ux
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0043/input.js:1:1]
1 │ var x = /[a-z]/\\ux
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0043/input.js:1:1]
1 │ var x = /[a-z]/\\ux
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0044/input.js:1:1]
1 │ var x = /[P QR]/\\u0067
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0044/input.js:1:1]
1 │ var x = /[P QR]/\\u0067
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0045/input.js:1:1]
1 │ 3 = 4
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0046/input.js:1:1]
1 │ func() = 4
· ───┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0047/input.js:1:1]
1 │ (1 + 1) = 10
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0048/input.js:1:1]
1 │ \u{110000}
· ────┬───
· ╰── Invalid Unicode escape sequence
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0048/input.js:1:1]
1 │ \u{110000}
· ─
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0049/input.js:1:1]
1 │ \u{}
· ─┬
· ╰── Invalid Unicode escape sequence
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0049/input.js:1:1]
1 │ \u{}
· ─
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0050/input.js:1:1]
1 │ \u{FFFF
· ───┬──
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0051/input.js:1:1]
1 │ \u{FFZ}
· ──┬─
· ╰── Invalid Unicode escape sequence
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0051/input.js:1:1]
1 │ \u{FFZ}
· ─
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0052/input.js:1:1]
1 │ 1++
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0053/input.js:1:1]
1 │ 1--
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0054/input.js:1:1]
1 │ ++1
· ┬
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0055/input.js:1:1]
1 │ --1
· ┬
· ╰── Cannot assign to this expression
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0056/input.js:1:1]
1 │ for((1 + 1) in list) process(x);
· ───────
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0057/input.js:1:1]
1 │ [
· ▲
· ╰── Expect `]` here, but found `EOF`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0058/input.js:1:1]
1 │ [,
· ▲
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0059/input.js:1:1]
1 │ 1 + {
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0060/input.js:1:1]
1 │ 1 + { t:t
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0061/input.js:1:1]
1 │ 1 + { t:t,
· ▲
╰────
× Unterminated regular expression
╭─[esprima/invalid-syntax/migrated_0062/input.js:1:1]
1 │ var x = /
· ─┬
· ╰── Unterminated regular expression
2 │ /
╰────
× Unterminated string
╭─[esprima/invalid-syntax/migrated_0063/input.js:1:1]
1 │ var x = "
· ─┬
· ╰── Unterminated string
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0064/input.js:1:1]
1 │ var if = 42
· ──
╰────
× Invalid Character `=`
╭─[esprima/invalid-syntax/migrated_0065/input.js:1:1]
1 │ i #= 42
· ▲
· ╰── Invalid Character `=`
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0065/input.js:1:1]
1 │ i #= 42
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0066/input.js:1:1]
1 │ i + 2 = 42
· ──┬──
· ╰── Cannot assign to this expression
╰────
× Invalid assignment
╭─[esprima/invalid-syntax/migrated_0067/input.js:1:1]
1 │ +i = 42
· ─┬
· ╰── Cannot assign to this expression
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0068/input.js:1:1]
1 │ 1 + (
· ▲
· ╰── Expect `)` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0069/input.js:1:1]
1 │ {
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0070/input.js:2:1]
2 │ comment */
3 │ )
· ─
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0071/input.js:1:1]
1 │ { set 1 }
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0072/input.js:1:1]
1 │ { get 2 }
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0073/input.js:1:1]
1 │ ({ set: s(if) { } })
· ──
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0074/input.js:1:1]
1 │ ({ set s(.) { } })
· ─
╰────
× A 'set' accessor must have exactly one parameter.
╭─[esprima/invalid-syntax/migrated_0075/input.js:1:1]
1 │ ({ set s() { } })
· ─┬
· ╰── A 'set' accessor must have exactly one parameter.
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0076/input.js:1:1]
1 │ ({ set: s() { } })
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0077/input.js:1:1]
1 │ ({ set: s(a, b) { } })
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0078/input.js:1:1]
1 │ ({ get: g(d) { } })
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0080/input.js:1:1]
1 │ ({[a,b]:0})
· ┬
· ╰── Expect `]` here, but found `,`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0081/input.js:1:1]
1 │ ({get[a,b]:0})
· ┬
· ╰── Expect `]` here, but found `,`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0082/input.js:1:1]
1 │ ({(a):0})
· ─
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0083/input.js:1:1]
1 │ ({get{a}:0})
· ┬
· ╰── Expect `,` here, but found `{`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0084/input.js:1:1]
1 │ ({get
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0087/input.js:1:1]
1 │ "use strict"; (eval = 10) => 42
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0088/input.js:1:1]
1 │ "use strict"; eval => 42
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0089/input.js:1:1]
1 │ "use strict"; arguments => 42
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0090/input.js:1:1]
1 │ "use strict"; (eval, a) => 42
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0091/input.js:1:1]
1 │ "use strict"; (arguments, a) => 42
· ─────────
╰────
× Identifier `a` has already been declared
╭─[esprima/invalid-syntax/migrated_0092/input.js:1:1]
1 │ (a, a) => 42
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× Identifier `a` has already been declared
╭─[esprima/invalid-syntax/migrated_0093/input.js:1:1]
1 │ "use strict"; (a, a) => 42
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `a` has already been declared here
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0094/input.js:1:1]
1 │ "use strict"; (a) => 00
· ──
╰────
help: for octal literals use the '0o' prefix instead
× Empty parenthesized expression
╭─[esprima/invalid-syntax/migrated_0095/input.js:1:1]
1 │ () <= 42
· ▲
· ╰── Expected an expression here
╰────
× Empty parenthesized expression
╭─[esprima/invalid-syntax/migrated_0096/input.js:1:1]
1 │ () ? 42
· ▲
· ╰── Expected an expression here
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0096/input.js:1:1]
1 │ () ? 42
· ▲
· ╰── Expect `:` here, but found `EOF`
╰────
× Empty parenthesized expression
╭─[esprima/invalid-syntax/migrated_0097/input.js:1:1]
1 │ () + 42
· ▲
· ╰── Expected an expression here
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0098/input.js:1:1]
1 │ (10) => 00
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0099/input.js:1:1]
1 │ (10, 20) => 00
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0100/input.js:1:1]
1 │ "use strict"; (eval) => 42
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0101/input.js:1:1]
1 │ (eval) => { "use strict"; 42 }
· ────
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0102/input.js:1:1]
1 │ p = { q/ }
· ┬
· ╰── Expect `,` here, but found `/`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0103/input.js:1:1]
1 │ p = { "q"/ }
· ─
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0112/input.js:1:1]
1 │ a b;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[esprima/invalid-syntax/migrated_0113/input.js:1:1]
1 │ if.a;
· ┬
· ╰── Expect `(` here, but found `.`
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0114/input.js:1:1]
1 │ a if;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0115/input.js:1:1]
1 │ a enum;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Illegal break statement
╭─[esprima/invalid-syntax/migrated_0116/input.js:1:1]
1 │ break
· ─────
╰────
help: A `break` statement can only be used within an enclosing iteration or switch statement.
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0117/input.js:1:1]
1 │ break 1;
· ─
╰────
× Illegal continue statement: no surrounding iteration statement
╭─[esprima/invalid-syntax/migrated_0118/input.js:1:1]
1 │ continue
· ────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0119/input.js:1:1]
1 │ continue 2;
· ─
╰────
× Illegal newline after throw
╭─[esprima/invalid-syntax/migrated_0120/input.js:1:1]
1 │ throw
· ──┬──
· ╰── throw starts here
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0120/input.js:1:1]
1 │ throw
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0121/input.js:1:1]
1 │ throw;
· ─
╰────
× Illegal newline after throw
╭─[esprima/invalid-syntax/migrated_0122/input.js:1:1]
1 │ throw
· ──┬──
· ╰── throw starts here
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0122/input.js:1:1]
1 │ throw
· ▲
╰────
× Only a single declaration is allowed in a `for...in` statement
╭─[esprima/invalid-syntax/migrated_0123/input.js:1:1]
1 │ for (var i, i2 in {});
· ─────────
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0124/input.js:1:1]
1 │ for ((i in {}));
· ┬
· ╰── Expect `;` here, but found `)`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0125/input.js:1:1]
1 │ for (i + 1 in {});
· ─────
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0126/input.js:1:1]
1 │ for (+i in {});
· ──
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0127/input.js:1:1]
1 │ if(false)
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0128/input.js:1:1]
1 │ if(false) doThis(); else
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0129/input.js:1:1]
1 │ do
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0130/input.js:1:1]
1 │ while(false)
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0131/input.js:1:1]
1 │ for(;;)
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0132/input.js:1:1]
1 │ with(x)
· ▲
╰────
× Missing catch or finally clause
╭─[esprima/invalid-syntax/migrated_0133/input.js:1:1]
1 │ try { }
· ┬
· ╰── Expected `catch` or `finally` here
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0134/input.js:1:1]
1 │ try {} catch (42) {}
· ──
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0135/input.js:1:1]
1 │ try {} catch (answer()) {}
· ┬
· ╰── Expect `)` here, but found `(`
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0136/input.js:1:1]
1 │ try {} catch (-x) {}
· ─
╰────
× Invalid Character `‿`
╭─[esprima/invalid-syntax/migrated_0137/input.js:1:1]
1 │ \u203F = 10
· ▲
· ╰── Invalid Character `‿`
╰────
× Missing initializer in const declaration
╭─[esprima/invalid-syntax/migrated_0138/input.js:1:1]
1 │ const x = 12, y;
· ┬
· ╰── const declaration need an initializer
╰────
× Missing initializer in const declaration
╭─[esprima/invalid-syntax/migrated_0139/input.js:1:1]
1 │ const x, y = 12;
· ┬
· ╰── const declaration need an initializer
╰────
× Missing initializer in const declaration
╭─[esprima/invalid-syntax/migrated_0140/input.js:1:1]
1 │ const x;
· ┬
· ╰── const declaration need an initializer
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0141/input.js:1:1]
1 │ if(true) let a = 1;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Lexical declaration cannot appear in a single-statement context
╭─[esprima/invalid-syntax/migrated_0142/input.js:1:1]
1 │ if(true) const a = 1;
· ──────┬─────
· ╰── Lexical declaration is not allowed here
╰────
help: Wrap this declaration in a block statement
× Identifier `default` has already been declared
╭─[esprima/invalid-syntax/migrated_0143/input.js:1:1]
1 │ switch (c) { default: default: }
· ────┬─── ────┬───
· │ ╰── It can not be redeclared here
· ╰── `default` has already been declared here
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0144/input.js:1:1]
1 │ new X()."s"
· ───
╰────
× Unterminated multiline comment
╭─[esprima/invalid-syntax/migrated_0145/input.js:1:1]
1 │ /*
· ─┬─
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[esprima/invalid-syntax/migrated_0146/input.js:1:1]
1 │ /*
· ─┬─
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[esprima/invalid-syntax/migrated_0147/input.js:1:1]
1 │ /**
· ──┬─
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[esprima/invalid-syntax/migrated_0148/input.js:1:1]
1 │ ╭─▶ /*
2 │ │
3 │ ├─▶ *
· ╰──── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[esprima/invalid-syntax/migrated_0149/input.js:1:1]
1 │ /*hello
· ────┬───
· ╰── Unterminated multiline comment
╰────
× Unterminated multiline comment
╭─[esprima/invalid-syntax/migrated_0150/input.js:1:1]
1 │ /*hello *
· ─────┬─────
· ╰── Unterminated multiline comment
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0151/input.js:1:1]
1 │ ]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0152/input.js:1:1]
1 │ ]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0153/input.js:1:1]
1 │ ]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0154/input.js:1:1]
1 │ ]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0155/input.js:1:1]
1 │ //
2 │ ]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0156/input.js:2:1]
2 │
]
· ─
╰────
× Unterminated regular expression
╭─[esprima/invalid-syntax/migrated_0157/input.js:1:1]
1 │ /a\
· ──┬─
· ╰── Unterminated regular expression
2 │ /
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0158/input.js:2:1]
2 │
3 │ ]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0159/input.js:1:1]
1 │ /*
2 │ */]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0160/input.js:2:1]
2 │
*/]
· ─
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0161/input.js:2:1]
2 │
3 │ */]
· ─
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0162/input.js:1:1]
1 │ \
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Character `\`
╭─[esprima/invalid-syntax/migrated_0163/input.js:1:1]
1 │ \u005c
· ▲
· ╰── Invalid Character `\`
╰────
× Invalid Unicode escape sequence
╭─[esprima/invalid-syntax/migrated_0164/input.js:1:1]
1 │ \x
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Character ``
╭─[esprima/invalid-syntax/migrated_0165/input.js:1:1]
1 │ \u0000
· ▲
· ╰── Invalid Character ``
╰────
× Invalid Character ``
╭─[esprima/invalid-syntax/migrated_0166/input.js:1:1]
1 │ \u200C = []
· ▲
· ╰── Invalid Character ``
╰────
× Invalid Character ``
╭─[esprima/invalid-syntax/migrated_0167/input.js:1:1]
1 │ \u200D = []
· ▲
· ╰── Invalid Character ``
╰────
× Unterminated string
╭─[esprima/invalid-syntax/migrated_0168/input.js:1:1]
1 │ "\
· ─┬─
· ╰── Unterminated string
╰────
× Invalid escape sequence
╭─[esprima/invalid-syntax/migrated_0169/input.js:1:1]
1 │ "\u
· ─┬
· ╰── Invalid escape sequence
╰────
× Unterminated string
╭─[esprima/invalid-syntax/migrated_0169/input.js:1:1]
1 │ "\u
· ──┬─
· ╰── Unterminated string
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0170/input.js:1:1]
1 │ try { } catch() {}
· ─
╰────
× TS1108: A 'return' statement can only be used within a function body
╭─[esprima/invalid-syntax/migrated_0171/input.js:1:1]
1 │ return
· ───┬──
· ╰── A 'return' statement can only be used within a function body.
╰────
× Illegal break statement
╭─[esprima/invalid-syntax/migrated_0172/input.js:1:1]
1 │ break
· ─────
╰────
help: A `break` statement can only be used within an enclosing iteration or switch statement.
× Illegal continue statement: no surrounding iteration statement
╭─[esprima/invalid-syntax/migrated_0173/input.js:1:1]
1 │ continue
· ────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Illegal continue statement: no surrounding iteration statement
╭─[esprima/invalid-syntax/migrated_0174/input.js:1:1]
1 │ switch (x) { default: continue; }
· ─────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Expect token
╭─[esprima/invalid-syntax/migrated_0175/input.js:1:1]
1 │ do { x } *
· ┬
· ╰── Expect `while` here, but found `*`
╰────
× Use of undefined label
╭─[esprima/invalid-syntax/migrated_0176/input.js:1:1]
1 │ while (true) { break x; }
· ┬
· ╰── This label is used, but not defined
╰────
× Use of undefined label
╭─[esprima/invalid-syntax/migrated_0177/input.js:1:1]
1 │ while (true) { continue x; }
· ┬
· ╰── This label is used, but not defined
╰────
× Jump target cannot cross function boundary.
╭─[esprima/invalid-syntax/migrated_0178/input.js:1:1]
1 │ x: while (true) { (function () { break x; }); }
· ─
╰────
× Jump target cannot cross function boundary.
╭─[esprima/invalid-syntax/migrated_0179/input.js:1:1]
1 │ x: while (true) { (function () { continue x; }); }
· ─
╰────
× Illegal break statement
╭─[esprima/invalid-syntax/migrated_0180/input.js:1:1]
1 │ x: while (true) { (function () { break; }); }
· ──────
╰────
help: A `break` statement can only be used within an enclosing iteration or switch statement.
× Illegal continue statement: no surrounding iteration statement
╭─[esprima/invalid-syntax/migrated_0181/input.js:1:1]
1 │ x: while (true) { (function () { continue; }); }
· ─────────
╰────
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
× Identifier `x` has already been declared
╭─[esprima/invalid-syntax/migrated_0182/input.js:1:1]
1 │ x: while (true) { x: while (true) { } }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `x` has already been declared here
╰────
× Delete of an unqualified identifier in strict mode.
╭─[esprima/invalid-syntax/migrated_0183/input.js:1:1]
1 │ (function () { 'use strict'; delete i; }())
· ─
╰────
× 'with' statements are not allowed
╭─[esprima/invalid-syntax/migrated_0184/input.js:1:1]
1 │ (function () { 'use strict'; with (i); }())
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0185/input.js:1:1]
1 │ function hello() {'use strict'; var eval = 10; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0186/input.js:1:1]
1 │ function hello() {'use strict'; var arguments = 10; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0187/input.js:1:1]
1 │ function hello() {'use strict'; try { } catch (eval) { } }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0188/input.js:1:1]
1 │ function hello() {'use strict'; try { } catch (arguments) { } }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0189/input.js:1:1]
1 │ function hello() {'use strict'; eval = 10; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0190/input.js:1:1]
1 │ function hello() {'use strict'; arguments = 10; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0191/input.js:1:1]
1 │ function hello() {'use strict'; ++eval; }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0192/input.js:1:1]
1 │ function hello() {'use strict'; --eval; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0193/input.js:1:1]
1 │ function hello() {'use strict'; ++arguments; }
· ─────────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0194/input.js:1:1]
1 │ function hello() {'use strict'; --arguments; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0195/input.js:1:1]
1 │ function hello() {'use strict'; eval++; }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0196/input.js:1:1]
1 │ function hello() {'use strict'; eval--; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0197/input.js:1:1]
1 │ function hello() {'use strict'; arguments++; }
· ─────────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0198/input.js:1:1]
1 │ function hello() {'use strict'; arguments--; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0199/input.js:1:1]
1 │ function hello() {'use strict'; function eval() { } }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0200/input.js:1:1]
1 │ function hello() {'use strict'; function arguments() { } }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0201/input.js:1:1]
1 │ function eval() {'use strict'; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0202/input.js:1:1]
1 │ function arguments() {'use strict'; }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0203/input.js:1:1]
1 │ function hello() {'use strict'; (function eval() { }()) }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0204/input.js:1:1]
1 │ function hello() {'use strict'; (function arguments() { }()) }
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0205/input.js:1:1]
1 │ (function eval() {'use strict'; })()
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0206/input.js:1:1]
1 │ (function arguments() {'use strict'; })()
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0207/input.js:1:1]
1 │ function hello() {'use strict'; ({ s: function eval() { } }); }
· ────
╰────
× The keyword 'package' is reserved
╭─[esprima/invalid-syntax/migrated_0208/input.js:1:1]
1 │ (function package() {'use strict'; })()
· ───────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0209/input.js:1:1]
1 │ function hello() {'use strict'; ({ i: 10, set s(eval) { } }); }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0210/input.js:1:1]
1 │ function hello() {'use strict'; ({ set s(eval) { } }); }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0211/input.js:1:1]
1 │ function hello() {'use strict'; ({ s: function s(eval) { } }); }
· ────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0212/input.js:1:1]
1 │ function hello(eval) {'use strict';}
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0213/input.js:1:1]
1 │ function hello(arguments) {'use strict';}
· ─────────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0214/input.js:1:1]
1 │ function hello() { 'use strict'; function inner(eval) {} }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0215/input.js:1:1]
1 │ function hello() { 'use strict'; function inner(arguments) {} }
· ─────────
╰────
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0216/input.js:1:1]
1 │ "\1"; 'use strict';
· ────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0217/input.js:1:1]
1 │ function hello() { 'use strict'; "\1"; }
· ────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0218/input.js:1:1]
1 │ function hello() { 'use strict'; 021; }
· ───
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0219/input.js:1:1]
1 │ function hello() { 'use strict'; ({ "\1": 42 }); }
· ────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0220/input.js:1:1]
1 │ function hello() { 'use strict'; ({ 021: 42 }); }
· ───
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0221/input.js:1:1]
1 │ function hello() { "octal directive\1"; "use strict"; }
· ───────────────────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0222/input.js:1:1]
1 │ function hello() { "octal directive\1"; "octal directive\2"; "use strict"; }
· ───────────────────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0222/input.js:1:1]
1 │ function hello() { "octal directive\1"; "octal directive\2"; "use strict"; }
· ───────────────────
╰────
help: for octal literals use the '0o' prefix instead
× '0'-prefixed octal literals and octal escape sequences are deprecated
╭─[esprima/invalid-syntax/migrated_0223/input.js:1:1]
1 │ function hello() { "use strict"; function inner() { "octal directive\1"; } }
· ───────────────────
╰────
help: for octal literals use the '0o' prefix instead
× The keyword 'implements' is reserved
╭─[esprima/invalid-syntax/migrated_0224/input.js:1:1]
1 │ function hello() { "use strict"; var implements; }
· ──────────
╰────
× The keyword 'interface' is reserved
╭─[esprima/invalid-syntax/migrated_0225/input.js:1:1]
1 │ function hello() { "use strict"; var interface; }
· ─────────
╰────
× The keyword 'package' is reserved
╭─[esprima/invalid-syntax/migrated_0226/input.js:1:1]
1 │ function hello() { "use strict"; var package; }
· ───────
╰────
× The keyword 'private' is reserved
╭─[esprima/invalid-syntax/migrated_0227/input.js:1:1]
1 │ function hello() { "use strict"; var private; }
· ───────
╰────
× The keyword 'protected' is reserved
╭─[esprima/invalid-syntax/migrated_0228/input.js:1:1]
1 │ function hello() { "use strict"; var protected; }
· ─────────
╰────
× The keyword 'public' is reserved
╭─[esprima/invalid-syntax/migrated_0229/input.js:1:1]
1 │ function hello() { "use strict"; var public; }
· ──────
╰────
× The keyword 'static' is reserved
╭─[esprima/invalid-syntax/migrated_0230/input.js:1:1]
1 │ function hello() { "use strict"; var static; }
· ──────
╰────
× The keyword 'yield' is reserved
╭─[esprima/invalid-syntax/migrated_0231/input.js:1:1]
1 │ function hello() { "use strict"; var yield; }
· ─────
╰────
× The keyword 'let' is reserved
╭─[esprima/invalid-syntax/migrated_0232/input.js:1:1]
1 │ function hello() { "use strict"; var let; }
· ───
╰────
× The keyword 'static' is reserved
╭─[esprima/invalid-syntax/migrated_0233/input.js:1:1]
1 │ function hello(static) { "use strict"; }
· ──────
╰────
× The keyword 'static' is reserved
╭─[esprima/invalid-syntax/migrated_0234/input.js:1:1]
1 │ function static() { "use strict"; }
· ──────
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0235/input.js:1:1]
1 │ function eval(a) { "use strict"; }
· ────
╰────
× Cannot assign to 'arguments' in strict mode
╭─[esprima/invalid-syntax/migrated_0236/input.js:1:1]
1 │ function arguments(a) { "use strict"; }
· ─────────
╰────
× The keyword 'static' is reserved
╭─[esprima/invalid-syntax/migrated_0239/input.js:1:1]
1 │ "use strict"; function static() { }
· ──────
╰────
× Identifier `t` has already been declared
╭─[esprima/invalid-syntax/migrated_0240/input.js:1:1]
1 │ function a(t, t) { "use strict"; }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0241/input.js:1:1]
1 │ function a(eval) { "use strict"; }
· ────
╰────
× The keyword 'package' is reserved
╭─[esprima/invalid-syntax/migrated_0242/input.js:1:1]
1 │ function a(package) { "use strict"; }
· ───────
╰────
× Identifier `t` has already been declared
╭─[esprima/invalid-syntax/migrated_0243/input.js:1:1]
1 │ function a() { "use strict"; function b(t, t) { }; }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Identifier `t` has already been declared
╭─[esprima/invalid-syntax/migrated_0244/input.js:1:1]
1 │ (function a(t, t) { "use strict"; })
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Identifier `t` has already been declared
╭─[esprima/invalid-syntax/migrated_0245/input.js:1:1]
1 │ function a() { "use strict"; (function b(t, t) { }); }
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `t` has already been declared here
╰────
× Cannot assign to 'eval' in strict mode
╭─[esprima/invalid-syntax/migrated_0246/input.js:1:1]
1 │ (function a(eval) { "use strict"; })
· ────
╰────
× The keyword 'package' is reserved
╭─[esprima/invalid-syntax/migrated_0247/input.js:1:1]
1 │ (function a(package) { "use strict"; })
· ───────
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/invalid-syntax/migrated_0248/input.js:1:1]
1 │ __proto__: __proto__: 42;
· ────┬──── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/invalid-syntax/migrated_0249/input.js:1:1]
1 │ "use strict"; function t(__proto__, __proto__) { }
· ────┬──── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Identifier `__proto__` has already been declared
╭─[esprima/invalid-syntax/migrated_0250/input.js:1:1]
1 │ x = { __proto__: 42, __proto__: 43 }
· ────┬──── ────┬────
· │ ╰── It can not be redeclared here
· ╰── `__proto__` has already been declared here
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0252/input.js:1:1]
1 │ var
· ▲
╰────
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0254/input.js:1:1]
1 │ const
· ▲
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0255/input.js:1:1]
1 │ { ; ;
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0256/input.js:1:1]
1 │ function t() { ; ;
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0257/input.js:1:1]
1 │ 'use strict'; a package
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Rest element must be last element
╭─[esprima/invalid-syntax/migrated_0258/input.js:1:1]
1 │ function f(a, ...b, c){}
· ──┬─
· ╰── Rest element must be last element
╰────
× A rest parameter cannot have an initializer
╭─[esprima/invalid-syntax/migrated_0260/input.js:1:1]
1 │ function x(...a = 1){}
· ────────
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0261/input.js:1:1]
1 │ class
· ▲
· ╰── Expect `{` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0262/input.js:1:1]
1 │ class
· ▲
· ╰── Expect `{` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0263/input.js:1:1]
1 │ class;
· ┬
· ╰── Expect `{` here, but found `;`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0264/input.js:1:1]
1 │ class A extends a + b {}
· ┬
· ╰── Expect `{` here, but found `+`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0265/input.js:1:1]
1 │ class A
· ▲
· ╰── Expect `{` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0266/input.js:1:1]
1 │ class A {
· ▲
· ╰── Expect `}` here, but found `EOF`
╰────
× Expect token
╭─[esprima/invalid-syntax/migrated_0267/input.js:1:1]
1 │ class A;
· ┬
· ╰── Expect `{` here, but found `;`
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0268/input.js:1:1]
1 │ class A {a:0}
· ▲
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0269/input.js:1:1]
1 │ class A {a(){},b(){}}
· ─
╰────
× Classes may not have a static property named prototype
╭─[esprima/invalid-syntax/migrated_0270/input.js:1:1]
1 │ class A {static prototype(){}}
· ────┬────
· ╰── Classes may not have a static property named prototype
╰────
× Classes may not have a static property named prototype
╭─[esprima/invalid-syntax/migrated_0271/input.js:1:1]
1 │ class A {static "prototype"(){}}
· ─────┬─────
· ╰── Classes may not have a static property named prototype
╰────
× Constructor can't have get/set modifier
╭─[esprima/invalid-syntax/migrated_0272/input.js:1:1]
1 │ class A {get constructor(){}}
· ─────┬─────
· ╰── Constructor can't have get/set modifier
╰────
× Constructor can't have get/set modifier
╭─[esprima/invalid-syntax/migrated_0273/input.js:1:1]
1 │ class A {set constructor(m){}}
· ─────┬─────
· ╰── Constructor can't have get/set modifier
╰────
× Multiple constructor implementations are not allowed.
╭─[esprima/invalid-syntax/migrated_0274/input.js:1:1]
1 │ class A {constructor(){} "constructor"(){}}
· ─────┬───── ──────┬──────
· │ ╰── it cannot be redeclared here
· ╰── constructor has already been declared here
╰────
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0275/input.js:1:1]
1 │ class A {a static(){}}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[esprima/invalid-syntax/migrated_0276/input.js:1:1]
1 │ class A {static static static(){}}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[esprima/invalid-syntax/migrated_0277/input.js:1:1]
1 │ class A {a(enum){}}
· ────
╰────
× The keyword 'static' is reserved
╭─[esprima/invalid-syntax/migrated_0278/input.js:1:1]
1 │ class A {static [static](){};}
· ──────
╰────
× A 'set' accessor function argument must not be a rest parameter
╭─[esprima/rest-parameter/invalid-setter-rest/input.js:1:1]
1 │ x = { set f(...y) {} }
· ──┬─
· ╰── A 'set' accessor function argument must not be a rest parameter
╰────
× Invalid Unicode escape sequence
╭─[esprima/statement-expression/migrated_0002/input.js:1:1]
1 │ \\u0061
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[esprima/statement-expression/migrated_0003/input.js:1:1]
1 │ a\\u0061
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[esprima/statement-expression/migrated_0004/input.js:1:1]
1 │ \\u0061a
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Invalid Unicode escape sequence
╭─[esprima/statement-expression/migrated_0005/input.js:1:1]
1 │ \\u0061a
· ┬
· ╰── Invalid Unicode escape sequence
╰────
× Missing initializer in destructuring declaration
╭─[esprima/statement-variable/complex-pattern-requires-init/input.js:1:1]
1 │ var []
· ─┬
· ╰── Missing initializer in destructuring declaration
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-octal/input.js:1:1]
1 │ `\1`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
2 │ `\1${x}\2${y}\3`;
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-octal/input.js:1:1]
1 │ `\1`;
2 │ `\1${x}\2${y}\3`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-octal/input.js:1:1]
1 │ `\1`;
2 │ `\1${x}\2${y}\3`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-octal/input.js:1:1]
1 │ `\1`;
2 │ `\1${x}\2${y}\3`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string-babel-7/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-octal/input.js:1:1]
1 │ `\1`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
2 │ `\1${x}\2${y}\3`;
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-octal/input.js:1:1]
1 │ `\1`;
2 │ `\1${x}\2${y}\3`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-octal/input.js:1:1]
1 │ `\1`;
2 │ `\1${x}\2${y}\3`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-octal/input.js:1:1]
1 │ `\1`;
2 │ `\1${x}\2${y}\3`;
· ─┬
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
╰────
× Bad escape sequence in untagged template literal
╭─[tokens/template-string/invalid-unicode-escape-codepoint/input.js:1:1]
1 │ `\u{g}`;
2 │ `\u{g}${x}\u{g}${y}\u{g}`;
· ──┬──
· ╰── Bad escape sequence in untagged template literal
╰────
× Expect token
╭─[typescript/arrow-function/arrow-like-in-conditional-2/input.ts:1:1]
1 │ 0 ? v => (sum = v) : v => 0;
· ┬
· ╰── Expect `:` here, but found `;`
╰────
× Automatic Semicolon Insertion
╭─[typescript/arrow-function/async-arrow-function-after-binary-operator/input.ts:1:1]
1 │ 4 + async<number>() => 2
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[typescript/arrow-function/generic-tsx/input.ts:3:1]
3 │
4 │ <T,>(a: T): T => a;
· ─
╰────
× Keywords cannot contain escape characters
╭─[typescript/assert-predicate/invalid-escaped-asserts-keyword/input.ts:1:1]
1 │ declare function assertIsString(value: unknown): \u{61}sserts value;
· ──────┬─────
· ╰── keyword cannot contain escape characters
╰────
× Invalid assignment
╭─[typescript/assign/parenthesized-object-assign/input.ts:1:1]
1 │ ({}) = x
· ──┬─
· ╰── Cannot assign to this expression
╰────
× Expect token
╭─[typescript/async-call/with-optional-parameter/input.ts:1:1]
1 │ async(x?)
· ┬
· ╰── Expect `=>` here, but found `EOF`
╰────
× Automatic Semicolon Insertion
╭─[typescript/cast/arrow-async-parameter-as/input.ts:1:1]
1 │ async (a as T) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/cast/arrow-async-parameter-assertion/input.ts:1:1]
1 │ async (<T> a) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/cast/arrow-parameter-as/input.ts:1:1]
1 │ (a as T) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/cast/arrow-parameter-assertion/input.ts:1:1]
1 │ (<T> a) => {};
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Expect token
╭─[typescript/cast/invalid/input.ts:1:1]
1 │ (a:b);
· ┬
· ╰── Expect `=>` here, but found `;`
2 │ (a:b,c:d);
╰────
× Automatic Semicolon Insertion
╭─[typescript/cast/null-assertion-invalid-arrow-param/input.ts:1:1]
1 │ (a!) => b;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ (a! = b) => c;
╰────
help: Try insert a semicolon here
× Expect token
╭─[typescript/cast/parameter-typecast/input.ts:1:1]
1 │ func(a: T);
· ┬
· ╰── Expect `,` here, but found `:`
2 │ func<T>(a: T);
╰────
× Automatic Semicolon Insertion
╭─[typescript/cast/satisfies-const-error/input.ts:1:1]
1 │ x satisfies const
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/class/declare-new-line-abstract/input.ts:1:1]
1 │ declare abstract
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ class A {}
╰────
help: Try insert a semicolon here
× Expect token
╭─[typescript/class/extends-empty/input.ts:1:1]
1 │ interface foo extends {
2 │ }
· ▲
· ╰── Expect `{` here, but found `EOF`
╰────
× Unexpected token
╭─[typescript/class/extends-implements-empty/input.ts:1:1]
1 │ class Foo extends Bar implements {
· ─
2 │ }
╰────
× Unexpected token
╭─[typescript/class/implements-empty/input.ts:1:1]
1 │ class Foo implements {
· ─
2 │ }
╰────
× The keyword 'private' is reserved
╭─[typescript/class/modifier-name-parameters/input.ts:1:1]
1 │ class Foo {
2 │ constructor(private, public, static) {
· ───────
3 │ }
╰────
× The keyword 'public' is reserved
╭─[typescript/class/modifier-name-parameters/input.ts:1:1]
1 │ class Foo {
2 │ constructor(private, public, static) {
· ──────
3 │ }
╰────
× The keyword 'static' is reserved
╭─[typescript/class/modifier-name-parameters/input.ts:1:1]
1 │ class Foo {
2 │ constructor(private, public, static) {
· ──────
3 │ }
╰────
× Automatic Semicolon Insertion
╭─[typescript/class/optional-async-error/input.js:2:1]
2 │ class A extends B {
3 │ async? method(val: string): Promise<void>;
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
4 │ }
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[typescript/const/invalid-initializer-ambient-context/input.ts:1:1]
1 │ declare module N {
2 │ export const not_enum = N[not + enum];
· ────
3 │ export const binary_expression = 1 + 2;
╰────
× Missing initializer in const declaration
╭─[typescript/const/no-initializer/input.ts:1:1]
1 │ const x: number;
· ┬
· ╰── const declaration need an initializer
╰────
× Missing initializer in const declaration
╭─[typescript/const/reserved-word/input.ts:1:1]
1 │ const b: const;
· ┬
· ╰── const declaration need an initializer
╰────
× Missing initializer in destructuring declaration
╭─[typescript/declare/destructure-new-line/input.ts:1:1]
1 │ declare
2 │ const { x, y }: { x: number, y: number };
· ────┬───
· ╰── Missing initializer in destructuring declaration
╰────
× Unexpected exponentiation expression
╭─[typescript/exponentiation/await-non-null-before-exponential/input.ts:1:1]
1 │ async (a) => await a! ** 6;
· ─────────────
╰────
help: Wrap await expression in parentheses to enforce operator precedence
× Unexpected exponentiation expression
╭─[typescript/exponentiation/unary-non-null-before-exponential/input.ts:1:1]
1 │ (a) => +a! ** 6;
· ────────
╰────
help: Wrap unary expression in parentheses to enforce operator precedence
× Unexpected token
╭─[typescript/export/declare-invalid/input.ts:1:1]
1 │ export declare foo;
· ───
╰────
× Automatic Semicolon Insertion
╭─[typescript/interface/declare-new-line/input.ts:1:1]
1 │ declare interface
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ I
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[typescript/interface/export-default/input.ts:1:1]
1 │ export default interface {}
· ─
╰────
× A 'get' accessor must not have any formal parameters.
╭─[typescript/interface/get-set-invalid-parameters-babel-7/input.ts:1:1]
1 │ interface Foo {
2 │ get foo(param): string;
· ───┬───
· ╰── A 'get' accessor must not have any formal parameters.
3 │ set foo();
╰────
× A 'set' accessor must have exactly one parameter.
╭─[typescript/interface/get-set-invalid-parameters-babel-7/input.ts:2:1]
2 │ get foo(param): string;
3 │ set foo();
· ─┬
· ╰── A 'set' accessor must have exactly one parameter.
4 │ }
╰────
× A 'get' accessor must not have any formal parameters.
╭─[typescript/interface/get-set-invalid-parameters/input.ts:1:1]
1 │ interface Foo {
2 │ get foo(param): string;
· ───┬───
· ╰── A 'get' accessor must not have any formal parameters.
3 │ set foo();
╰────
× A 'set' accessor must have exactly one parameter.
╭─[typescript/interface/get-set-invalid-parameters/input.ts:2:1]
2 │ get foo(param): string;
3 │ set foo();
· ─┬
· ╰── A 'set' accessor must have exactly one parameter.
4 │ }
╰────
× TS1095: A 'set' accessor cannot have a return type annotation
╭─[typescript/interface/get-set-invalid-return-types-babel-7/input.ts:1:1]
1 │ interface Foo {
2 │ set foo(param): string;
· ────┬───
· ╰── A 'set' accessor cannot have a return type annotation
3 │ }
╰────
× TS1095: A 'set' accessor cannot have a return type annotation
╭─[typescript/interface/get-set-invalid-return-types/input.ts:1:1]
1 │ interface Foo {
2 │ set foo(param): string;
· ────┬───
· ╰── A 'set' accessor cannot have a return type annotation
3 │ }
╰────
× A 'set' accessor must have exactly one parameter.
╭─[typescript/interface/get-set-invalid-this-parameters-babel-7/input.ts:2:1]
2 │ get bar(this: Foo);
3 │ set bar(this: Foo);
· ─────┬─────
· ╰── A 'set' accessor must have exactly one parameter.
4 │ }
╰────
× A 'set' accessor must have exactly one parameter.
╭─[typescript/interface/get-set-invalid-this-parameters/input.ts:2:1]
2 │ get bar(this: Foo);
3 │ set bar(this: Foo);
· ─────┬─────
· ╰── A 'set' accessor must have exactly one parameter.
4 │ }
╰────
× Expect token
╭─[typescript/interface/get-set-type-parameters-babel-7/input.ts:1:1]
1 │ interface Foo {
2 │ get foo<T>(): string;
· ┬
· ╰── Expect `(` here, but found `<`
3 │ set bar<T>(v);
╰────
× Expect token
╭─[typescript/interface/get-set-type-parameters/input.ts:1:1]
1 │ interface Foo {
2 │ get foo<T>(): string;
· ┬
· ╰── Expect `(` here, but found `<`
3 │ set bar<T>(v);
╰────
× Automatic Semicolon Insertion
╭─[typescript/interface/invalid-abstract-interface/input.ts:1:1]
1 │ abstract interface
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ Foo {}
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/interface/new-line-error/input.ts:1:1]
1 │ interface
2 │ F {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× The keyword 'interface' is reserved
╭─[typescript/interface/new-line/input.ts:1:1]
1 │ interface
· ─────────
2 │ F
╰────
× Automatic Semicolon Insertion
╭─[typescript/module-namespace/module-declare-new-line/input.ts:5:1]
5 │
6 │ declare module
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
7 │ 'bar'
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/module-namespace/module-new-line-error/input.ts:1:1]
1 │ module
2 │ Foo {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/module-namespace/namespace-declare-new-line/input.ts:5:1]
5 │
6 │ declare namespace
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
7 │ barbar
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/module-namespace/namespace-new-line-error/input.ts:1:1]
1 │ namespace
2 │ Foo {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
╰────
help: Try insert a semicolon here
× `await` is only allowed within async functions and at the top levels of modules
╭─[typescript/module-namespace/top-level-await/input.ts:1:1]
1 │ namespace N {
2 │ const x = await 42;
· ─────
3 │ }
╰────
× Identifier `A` has already been declared
╭─[typescript/scope/redeclaration-class-class/input.ts:1:1]
1 │ class A {}
· ┬
· ╰── `A` has already been declared here
2 │ class A {}
· ┬
· ╰── It can not be redeclared here
╰────
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-block-with-accessibility-private-02/input.ts:1:1]
1 │ class Foo {
2 │ static private {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-block-with-accessibility-protected-02/input.ts:1:1]
1 │ class Foo {
2 │ static protected {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-block-with-accessibility-public-02/input.ts:1:1]
1 │ class Foo {
2 │ static public {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-block-with-modifier-abstract-02/input.ts:1:1]
1 │ class Foo {
2 │ static abstract {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-block-with-modifier-override-02/input.ts:1:1]
1 │ class Foo {
2 │ static override {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-blocks-with-modifer-declare-02/input.ts:1:1]
1 │ class Foo {
2 │ static declare {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Automatic Semicolon Insertion
╭─[typescript/static-blocks/invalid-static-blocks-with-modifier-readonly-02/input.ts:1:1]
1 │ class Foo {
2 │ static readonly {}
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
3 │ }
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[typescript/tsx/anonymous-function-generator-invalid/input.ts:1:1]
1 │ const fn = function* <,>(input: T): Generator<number> {
· ─
2 │ yield 2;
╰────
× Expect token
╭─[typescript/tsx/cast-invalid/input.tsx:2:1]
2 │ return (
3 │ <div propA={[ key: value ]} propsB={(a: b)} />
· ┬
· ╰── Expect `,` here, but found `:`
4 │ );
╰────
× Automatic Semicolon Insertion
╭─[typescript/type-alias/declare-new-line/input.ts:1:1]
1 │ declare type
· ┬
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
2 │ T = number
╰────
help: Try insert a semicolon here
× Unexpected token
╭─[typescript/type-arguments/new-without-arguments-missing-semicolon/input.ts:1:1]
1 │ new A<T> if (0);
· ──
╰────
× Unexpected token
╭─[typescript/type-only-import-export-specifiers/export-invalid-type-only-keyword/input.ts:1:1]
1 │ const if = {};
· ──
2 │ export { type if };
╰────
× Keywords cannot contain escape characters
╭─[typescript/type-only-import-export-specifiers/expport-invalid-escaped-type-only/input.ts:1:1]
1 │ export { typ\u0065 as } from "x";
· ────┬────
· ╰── keyword cannot contain escape characters
╰────
× Keywords cannot contain escape characters
╭─[typescript/type-only-import-export-specifiers/import-invalid-escaped-type-only/input.ts:1:1]
1 │ import { typ\u0065 as } from "x";
· ────┬────
· ╰── keyword cannot contain escape characters
╰────
× Unexpected token
╭─[typescript/type-only-import-export-specifiers/import-invalid-named-type-as-keyword/input.ts:1:1]
1 │ import { type as if } from "mod";
· ──
╰────
× Unexpected token
╭─[typescript/type-only-import-export-specifiers/import-invalid-type-named-keywords/input.ts:1:1]
1 │ import { type if } from "./mod.js";
· ──
╰────
× Unexpected token
╭─[typescript/type-only-import-export-specifiers/import-invalid-type-only-as-as-keyword/input.ts:1:1]
1 │ import { type as as if } from "mod";
· ──
╰────
× Unexpected token
╭─[typescript/type-only-import-export-specifiers/import-invalid-type-only-as-string/input.ts:1:1]
1 │ import { type foo as "bar" } from "mod";
· ─────
╰────
× Expect token
╭─[typescript/types-arrow-function-babel-7/invalid-incomplete-array-like/input.ts:1:1]
1 │ type F = ([
· ▲
· ╰── Expect `)` here, but found `EOF`
╰────
× Expect token
╭─[typescript/types-arrow-function-babel-7/invalid-incomplete-object-like/input.ts:1:1]
1 │ type F = ({
· ▲
· ╰── Expect `)` here, but found `EOF`
╰────
× Expect token
╭─[typescript/types-arrow-function/invalid-incomplete-array-like/input.ts:1:1]
1 │ type F = ([
· ▲
· ╰── Expect `)` here, but found `EOF`
╰────
× Expect token
╭─[typescript/types-arrow-function/invalid-incomplete-object-like/input.ts:1:1]
1 │ type F = ({
· ▲
· ╰── Expect `)` here, but found `EOF`
╰────
× Unexpected token
╭─[typescript/types/const-type-parameters-invalid-babel-7/input.ts:1:1]
1 │ type T<const U> = {};
· ─────
╰────
× Unexpected token
╭─[typescript/types/const-type-parameters-invalid/input.ts:1:1]
1 │ type T<const U> = {};
· ─────
╰────
× Keywords cannot contain escape characters
╭─[typescript/types/import-type-escaped-error/input.ts:1:1]
1 │ import typ\u{65} typescript from "typescript";
· ────┬────
· ╰── keyword cannot contain escape characters
╰────
× Unexpected token
╭─[typescript/types/literal-string-3/input.ts:1:1]
1 │ let x: `foo-${bar + baz}`;
· ─
╰────
× Unexpected token
╭─[typescript/types/mapped-as-invalid/input.ts:1:1]
1 │ type Foo<T> = { [K in keyof T as]: T[K] };
· ─
╰────
× Expect token
╭─[typescript/types/tuple-invalid-label-1/input.ts:1:1]
1 │ type T = [x.y: A];
· ┬
· ╰── Expect `,` here, but found `:`
╰────
× Expect token
╭─[typescript/types/tuple-invalid-label-2/input.ts:1:1]
1 │ type T = [x<y>: A];
· ┬
· ╰── Expect `,` here, but found `:`
╰────
× Expect token
╭─[typescript/types/tuple-labeled-invalid-optional/input.ts:1:1]
1 │ type T = [x: A?];
· ┬
· ╰── Expect `,` here, but found `?`
╰────
× Expect token
╭─[typescript/types/variance-annotations-babel-7/input.ts:94:1]
94 │
95 │ type T20<public T> = T; // Error
· ┬
· ╰── Expect `,` here, but found `Identifier`
96 │ type T21<in out in T> = T; // Error
╰────
× Expect token
╭─[typescript/types/variance-annotations-with-jsx-babel-7/input.tsx:97:1]
97 │
98 │ type T20<public T> = T; // Error
· ┬
· ╰── Expect `,` here, but found `Identifier`
99 │ type T21<in out in T> = T; // Error
╰────
× Expect token
╭─[typescript/types/variance-annotations-with-jsx/input.tsx:97:1]
97 │
98 │ type T20<public T> = T; // Error
· ┬
· ╰── Expect `,` here, but found `Identifier`
99 │ type T21<in out in T> = T; // Error
╰────
× Expect token
╭─[typescript/types/variance-annotations/input.ts:94:1]
94 │
95 │ type T20<public T> = T; // Error
· ┬
· ╰── Expect `,` here, but found `Identifier`
96 │ type T21<in out in T> = T; // Error
╰────
× Unexpected token
╭─[typescript/variable-declarator/definite-assignment-not-allowed/input.ts:1:1]
1 │ let {}! = {};
· ─
╰────