diff --git a/tasks/coverage/codegen_babel.snap b/tasks/coverage/codegen_babel.snap index 34d3916ec4776..a67ed69109391 100644 --- a/tasks/coverage/codegen_babel.snap +++ b/tasks/coverage/codegen_babel.snap @@ -1,9 +1,5 @@ commit: 12619ffe codegen_babel Summary: -AST Parsed : 2771/2771 (100.00%) -Positive Passed: 2767/2771 (99.86%) -Normal: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/sequence-expression/input.js -Normal: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression-parenthesized/input.js -Normal: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/issue-11387/input.js -Normal: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/legacy-decorators/abstract-class/input.ts +AST Parsed : 2101/2101 (100.00%) +Positive Passed: 2101/2101 (100.00%) diff --git a/tasks/coverage/minifier_babel.snap b/tasks/coverage/minifier_babel.snap index 47b27af7d5284..f525664cad300 100644 --- a/tasks/coverage/minifier_babel.snap +++ b/tasks/coverage/minifier_babel.snap @@ -1,8 +1,5 @@ commit: 12619ffe minifier_babel Summary: -AST Parsed : 2305/2305 (100.00%) -Positive Passed: 2302/2305 (99.87%) -Compress: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/sequence-expression/input.js -Compress: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression-parenthesized/input.js -Compress: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/issue-11387/input.js +AST Parsed : 1638/1638 (100.00%) +Positive Passed: 1638/1638 (100.00%) diff --git a/tasks/coverage/parser_babel.snap b/tasks/coverage/parser_babel.snap index eb353d9c04238..f0d8f35f88ed0 100644 --- a/tasks/coverage/parser_babel.snap +++ b/tasks/coverage/parser_babel.snap @@ -1,9 +1,9 @@ commit: 12619ffe parser_babel Summary: -AST Parsed : 2268/2771 (81.85%) -Positive Passed: 2130/2771 (76.87%) -Negative Passed: 1656/1820 (90.99%) +AST Parsed : 2093/2101 (99.62%) +Positive Passed: 2083/2101 (99.14%) +Negative Passed: 1380/1501 (91.94%) Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/annex-b/disabled/1.1-html-comments-close/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/annex-b/disabled/3.1-sloppy-labeled-functions/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/annex-b/disabled/3.1-sloppy-labeled-functions-if-body/input.js @@ -17,27 +17,14 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/co Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/categorized/invalid-fn-decl-labeled-inside-loop/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/escape-string/non-octal-eight-and-nine/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/escape-string/non-octal-eight-and-nine-before-use-strict/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/regression/non-octal-float-strict-mode/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-func/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-module/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-module-sloppy/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-var-sloppy/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/545/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-in-object-method/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-arguments-module/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/destructuring/error-operator-for-default/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/for-of/invalid-let-as-identifier/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-xml-comment-in-module/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/object/disallow-duplicate-method-params/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/297/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/334/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/335/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/357/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/359/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/361/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/363/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/365/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/367/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/async-await-as-arrow-binding-identifier/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-binding-inside-arrow-params-inside-async-arrow-params/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/24/input.js @@ -45,47 +32,13 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/comma-after-spread-for-in/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/comma-after-spread-nested/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/no-pattern-in-rest/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/no-pattern-in-rest-with-flow/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/no-pattern-in-rest-with-ts/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-trailing-comma/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-trailing-comma/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-param-strict-mode/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property-reserved/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-09/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0101/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0276/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/declare-field-initializer/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/declare-method/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-constructor/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-field-initializer/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-method/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/static-declare-field/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/comment/11-nested-comments-invalid/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/comment/12-line-comment-nested-invalid/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/comment/13-nested-flow-comments-invalid/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/assignment-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/binary-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/call-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/class-declaration/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/conditional-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/function-declaration/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/member-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/new-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/sequence-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/unary-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/variable/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-type-invalid/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-type-invalid-2/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-fragment/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-jsx-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no_plugin/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no_plugin-non-BMP-identifier/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/attribute-empty-expression/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/html-comment-module/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/jsx-text-closing-angle-bracket/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/jsx-text-closing-curly-brace/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/unicode-escape-in-identifier/input.js -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/cast/satisfies-const-error/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/cast/unparenthesized-assert-and-assign/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/cast/unparenthesized-type-assertion-and-assign/input.ts @@ -120,6 +73,9 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/ty Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/disallow-jsx-ambiguity/type-parameter-babel-7/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/dts/invalid-class-implementation/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/dts/invalid-class-initializer/input.ts +Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/expect-plugin/export-interface/input.js +Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/expect-plugin/export-type/input.js +Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/expect-plugin/export-type-named/input.js Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/export/equals-in-script/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/import/equals-in-script/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/import/equals-require-in-script/input.ts @@ -134,7 +90,6 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/ty Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/interface/invalid-modifiers-method/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/interface/invalid-modifiers-method-babel-7/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/interface/invalid-modifiers-property/input.ts -Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/interface/new-line/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/regression/keyword-qualified-type-disallowed/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/static-blocks/invalid-static-block-with-accessibility-private-01/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/static-blocks/invalid-static-block-with-accessibility-protected-01/input.ts @@ -145,12 +100,14 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/ty Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/static-blocks/invalid-static-block-with-modifier-static/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/static-blocks/invalid-static-blocks-with-modifer-declare-01/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/static-blocks/invalid-static-blocks-with-modifier-readonly-01/input.ts +Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/tsx/invalid-gt-arrow-like/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/call-optional-chain-invalid/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-function/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-interface-extends/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-interface-implements/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-new/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-superclass/input.ts +Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-tsx/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-type-import/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-type-ref/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/instantiation-expression-property-access/input.ts @@ -168,95 +125,6 @@ Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/ty Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/tuple-labeled-invalid-optional/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/tuple-optional-invalid/input.ts Expect Syntax Error: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/tuple-required-after-labeled-optional/input.ts -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/basic/export-default-anonymous-class/input.js - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/basic/export-default-anonymous-class/input.js:4:1] - 3 │ */ - 4 │ export default class { - · ────── - 5 │ /** - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-after-export/input.js - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-after-export/input.js:1:9] - 1 │ /* 1 */ export /* 2 */ @dec1 /* 3 */ @dec2 - · ────── - 2 │ /* 4 */ class /* 5 */ C /* 6 */ { /* 7 */ } /* 8 */ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-after-export/input.js:4:9] - 3 │ - 4 │ /* A */ export /* B */ default /* C */ @dec1 /* D */ @dec2 - · ────── - 5 │ /* E */ class /* F */ { /* G */ } /* H */ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-before-export/input.js - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-before-export/input.js:2:1] - 1 │ /* 1 */ @dec1 /* 2 */ @dec2 /* 3 */ - 2 │ export /* 4 */ class /* 5 */ C /* 6 */ { /* 7 */ } /* 8 */ - · ────── - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-before-export/input.js:5:1] - 4 │ /* A */ @dec1 /* B */ @dec2 /* C */ - 5 │ export /* D */ default /* E */ class /* F */ { /* G */ } /* H */ - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-legacy-before-export/input.js - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-legacy-before-export/input.js:2:1] - 1 │ /* 1 */ @dec1 /* 2 */ @dec2 /* 3 */ - 2 │ export /* 4 */ class /* 5 */ C /* 6 */ { /* 7 */ } /* 8 */ - · ────── - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-legacy-before-export/input.js:5:1] - 4 │ /* A */ @dec1 /* B */ @dec2 /* C */ - 5 │ export /* D */ default /* E */ class /* F */ { /* G */ } /* H */ - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/interpreter-directive/interpreter-directive-import/input.js - - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/interpreter-directive/interpreter-directive-import/input.js:3:1] - 2 │ - 3 │ import {spawn} from 'foobar'; - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/regression/10892/input.js - - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/regression/10892/input.js:1:1] - 1 │ import { foo } from "bar" - · ────── - 2 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/comments/regression/10892/input.js:6:1] - 5 │ */ - 6 │ export default { - · ────── - 7 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowAwaitOutsideFunction-true/input.js - - × Expected `(` but found `await` - ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowAwaitOutsideFunction-true/input.js:1:5] - 1 │ for await (const i of imports) {} - · ──┬── - · ╰── `(` expected - ╰──── Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-true/input.js × Unexpected new.target expression @@ -274,17198 +142,9592 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/o · ────────── ╰──── help: new.target is only allowed in constructors and functions invoked using thew `new` operator -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowUndeclaredExports/input.js +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx-babel-7/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowUndeclaredExports/input.js:1:1] - 1 │ export { foo }; - · ────── + × Expected `<` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx-babel-7/input.ts:3:1] + 2 │ (a: T): T => a; ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/constructor-with-modifier-names/input.ts - × Export 'foo' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowUndeclaredExports/input.js:1:10] - 1 │ export { foo }; - · ─── + × Multiple constructor implementations are not allowed. + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/constructor-with-modifier-names/input.ts:2:3] + 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: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-1/input.js +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/declare/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-1/input.js:3:1] - 2 │ - 3 │ export { a }; - · ────── + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/declare/input.ts:3:5] + 2 │ [x: string]: any; + 3 │ x; + · ┬ + · ╰── `x` has already been declared here + 4 │ x: number; + · ┬ + · ╰── It can not be redeclared here + 5 │ f(); ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-2/input.js +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-2/input.js:1:1] - 1 │ export { a }; - · ────── - 2 │ function a() {} + × Identifier `show` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts:2:12] + 1 │ class MyClass extends BaseClass { + 2 │ override show() {} + · ──┬─ + · ╰── `show` has already been declared here + 3 │ public override show() {} + · ──┬─ + · ╰── It can not be redeclared here + 4 │ override size = 5; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-var/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-var/input.js:4:1] - 3 │ } - 4 │ export { encrypt } - · ────── + × Identifier `size` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts:4:12] + 3 │ public override show() {} + 4 │ override size = 5; + · ──┬─ + · ╰── `size` has already been declared here + 5 │ override readonly size = 5; + · ──┬─ + · ╰── It can not be redeclared here + 6 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/flow/input.js +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/parameter-properties/input.ts - × Expected `from` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/flow/input.js:1:13] - 1 │ import type { Foo } from "bar"; - · ┬ - · ╰── `from` expected - 2 │ export type { Foo }; + × A required parameter cannot follow an optional parameter. + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/parameter-properties/input.ts:7:9] + 6 │ private pi?: number, + 7 │ public readonly pur, + · ─────────────────── + 8 │ // Also works on AssignmentPattern ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/import-meta/input.js +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/import-meta/input.js:1:13] - 1 │ console.log(import.meta); - · ─────────── + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:2:5] + 1 │ class C { + 2 │ x; + · ┬ + · ╰── `x` has already been declared here + 3 │ x?; + · ┬ + · ╰── It can not be redeclared here + 4 │ x: number; ╰──── - help: import.meta is only allowed in module code -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-all/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-all/input.js:1:1] - 1 │ export * from "foo"; - · ────── + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:3:5] + 2 │ x; + 3 │ x?; + · ┬ + · ╰── `x` has already been declared here + 4 │ x: number; + · ┬ + · ╰── It can not be redeclared here + 5 │ x: number = 1; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-default/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-default/input.js:1:1] - 1 │ export default {}; - · ────── + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:4:5] + 3 │ x?; + 4 │ x: number; + · ┬ + · ╰── `x` has already been declared here + 5 │ x: number = 1; + · ┬ + · ╰── It can not be redeclared here + 6 │ x!; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-named/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-named/input.js:1:1] - 1 │ export function fn(){} - · ────── + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:5:5] + 4 │ x: number; + 5 │ x: number = 1; + · ┬ + · ╰── `x` has already been declared here + 6 │ x!; + · ┬ + · ╰── It can not be redeclared here + 7 │ x!: number; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-import/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-import/input.js:1:1] - 1 │ import "foo"; - · ────── + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:6:5] + 5 │ x: number = 1; + 6 │ x!; + · ┬ + · ╰── `x` has already been declared here + 7 │ x!: number; + · ┬ + · ╰── It can not be redeclared here + 8 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/327/input.js +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/eval/input.ts - × TS(1108): A 'return' statement can only be used within a function body. - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/327/input.js:1:1] - 1 │ return {} / 2 - · ────── + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval/input.ts:3:25] + 2 │ export namespace ns { + 3 │ export function eval(): void; + · ──── + 4 │ export function arguments(): void; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/328/input.js - × TS(1108): A 'return' statement can only be used within a function body. - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/328/input.js:1:1] - 1 │ return - · ────── - 2 │ {} + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval/input.ts:4:25] + 3 │ export function eval(): void; + 4 │ export function arguments(): void; + · ───────── + 5 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-builtin/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-builtin/input.js:3:1] - 2 │ - 3 │ export { toString }; - · ────── + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval/input.ts:8:18] + 7 │ + 8 │ declare function eval(): void; + · ──── + 9 │ declare function arguments(): void; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:1:1] - 1 │ export const { foo } = bar; - · ────── - 2 │ export const { foo: foo2 } = bar; - ╰──── + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/typescript/declare/eval/input.ts:9:18] + 8 │ declare function eval(): void; + 9 │ declare function arguments(): void; + · ───────── + 10 │ + ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/function/declare-pattern-parameters/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:2:1] - 1 │ export const { foo } = bar; - 2 │ export const { foo: foo2 } = bar; - · ────── - 3 │ export const { foo: { baz } } = bar; + × A required parameter cannot follow an optional parameter. + ╭─[babel/packages/babel-parser/test/fixtures/typescript/function/declare-pattern-parameters/input.ts:1:25] + 1 │ declare function f([]?, {}) + · ── ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/interface/get-set-properties/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:3:1] - 2 │ export const { foo: foo2 } = bar; - 3 │ export const { foo: { baz } } = bar; - · ────── - 4 │ export const { foo: { baz: { qux } } } = bar; + × Expected `(` but found `:` + ╭─[babel/packages/babel-parser/test/fixtures/typescript/interface/get-set-properties/input.ts:2:10] + 1 │ interface Foo { + 2 │ get foo: string; + · ┬ + · ╰── `(` expected + 3 │ set bar: string; ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:4:1] - 3 │ export const { foo: { baz } } = bar; - 4 │ export const { foo: { baz: { qux } } } = bar; - · ────── - 5 │ export const { foo: { baz: { qux2 } }, foo3 } = bar; + × Expected `,` but found `extends` + ╭─[babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param/input.ts:1:31] + 1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G; + · ───┬─── + · ╰── `,` expected ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:5:1] - 4 │ export const { foo: { baz: { qux } } } = bar; - 5 │ export const { foo: { baz: { qux2 } }, foo3 } = bar; - · ────── - 6 │ export const [foo4] = bar; + × Expected `,` but found `extends` + ╭─[babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts:1:31] + 1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G; + · ───┬─── + · ╰── `,` expected ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/class-heritage/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:6:1] - 5 │ export const { foo: { baz: { qux2 } }, foo3 } = bar; - 6 │ export const [foo4] = bar; - · ────── - 7 │ export const [[baz2]] = bar; + × Expected `{` but found `<<` + ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/class-heritage/input.ts:1:17] + 1 │ (class extends f<(v: T) => void> {}); + · ─┬ + · ╰── `{` expected ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/input.tsx - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:7:1] - 6 │ export const [foo4] = bar; - 7 │ export const [[baz2]] = bar; - · ────── - 8 │ export const [{ foo: [baz3] }, { foo2: [baz4] }] = bar; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/input.tsx:1:11] + 1 │ (v: T) => void> /> + · ── ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/class-heritage/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:8:1] - 7 │ export const [[baz2]] = bar; - 8 │ export const [{ foo: [baz3] }, { foo2: [baz4] }] = bar; - · ────── - 9 │ export const { foo: { baz: { qux3 } }, foo2: { baz2: [qux4]} } = bar; - ╰──── + × Expected `{` but found `<<` + ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/class-heritage/input.ts:1:17] + 1 │ (class extends f<(v: T) => void> {}); + · ─┬ + · ╰── `{` expected + ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/jsx-opening-element/input.tsx - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:9:1] - 8 │ export const [{ foo: [baz3] }, { foo2: [baz4] }] = bar; - 9 │ export const { foo: { baz: { qux3 } }, foo2: { baz2: [qux4]} } = bar; - · ────── - 10 │ export const { foo: { baz: { qux5 } }, foo2: { baz2: [{qux6}]} } = bar; - ╰──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/jsx-opening-element/input.tsx:1:11] + 1 │ (v: T) => void> /> + · ── + ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:10:1] - 9 │ export const { foo: { baz: { qux3 } }, foo2: { baz2: [qux4]} } = bar; - 10 │ export const { foo: { baz: { qux5 } }, foo2: { baz2: [{qux6}]} } = bar; - · ────── - 11 │ export const { Foo } = bar; + × Identifier `method` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters/input.ts:29:3] + 28 │ class _ { + 29 │ method() {} + · ───┬── + · ╰── `method` has already been declared here + 30 │ method() {} + · ───┬── + · ╰── It can not be redeclared here + 31 │ method() {} ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:11:1] - 10 │ export const { foo: { baz: { qux5 } }, foo2: { baz2: [{qux6}]} } = bar; - 11 │ export const { Foo } = bar; - · ────── - 12 │ export const { foo: [ ,, qux7 ] } = bar; + × Identifier `method` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters/input.ts:30:3] + 29 │ method() {} + 30 │ method() {} + · ───┬── + · ╰── `method` has already been declared here + 31 │ method() {} + · ───┬── + · ╰── It can not be redeclared here + 32 │ } ╰──── +Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters-babel-7/input.ts - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js:12:1] - 11 │ export const { Foo } = bar; - 12 │ export const { foo: [ ,, qux7 ] } = bar; - · ────── + × Identifier `method` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters-babel-7/input.ts:29:3] + 28 │ class _ { + 29 │ method() {} + · ───┬── + · ╰── `method` has already been declared here + 30 │ method() {} + · ───┬── + · ╰── It can not be redeclared here + 31 │ method() {} ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-declaration-trailing-comma/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-declaration-trailing-comma/input.js:1:1] - 1 │ export { - · ────── - 2 │ /* One */ Foo - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-class-declaration/input.js + × Identifier `method` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters-babel-7/input.ts:30:3] + 29 │ method() {} + 30 │ method() {} + · ───┬── + · ╰── `method` has already been declared here + 31 │ method() {} + · ───┬── + · ╰── It can not be redeclared here + 32 │ } + ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-class-declaration/input.js:1:1] - 1 │ export default class Foo {} - · ────── + × Identifier `f` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/annex-b/disabled/3.4-var-redeclaration-catch-binding/input.js:2:17] + 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 to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-class-expression/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-class-expression/input.js:1:1] - 1 │ export default (class Foo {}); - · ────── + × Identifier `f` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/annex-b/enabled/3.4-var-redeclaration-catch-binding/input.js:2:17] + 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 to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-declaration/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-declaration/input.js:1:1] - 1 │ export default function a() {} - · ────── + × Expected `;` but found `Identifier` + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/for-missing-semicolons/input.js:3:3] + 2 │ var a = 1 + 3 │ a < 3 + · ┬ + · ╰── `;` expected + 4 │ a++ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/input.js:1:1] - 1 │ export default function () {} - · ────── - 2 │ (foo); + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-1/input.js:1:2] + 1 │ (a = 1) = t + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-expression/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-expression/input.js:1:1] - 1 │ export default (function a() {}); - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-2/input.js:1:3] + 1 │ [(a = 1)] = t + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-from-valid-reserved-word/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-from-valid-reserved-word/input.js:1:1] - 1 │ export { if } from 'foo' - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-3/input.js:1:2] + 1 │ [({ a: [b = 2]})] = t + · ─────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/import-declaration-trailing-comma/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-declaration-trailing-comma/input.js:1:1] - 1 │ import { - · ────── - 2 │ /* One */ Foo + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-4/input.js:1:7] + 1 │ [{b: [([a = 1])]}] = t + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/301/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/301/input.js:1:1] - 1 │ import foo, * as bar from 'baz'; - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-5/input.js:1:2] + 1 │ [([x])] = t; + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/338/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/338/input.js:1:1] - 1 │ export default function foo() {} false - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-6/input.js:1:2] + 1 │ (a += 1) = t + · ────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/354/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/354/input.js:1:1] - 1 │ export default /foo/ - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-7/input.js:1:2] + 1 │ (a -= 1) = t + · ────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/380/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/380/input.js:1:1] - 1 │ export var foo = 1; - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-8/input.js:1:2] + 1 │ (b = (a -= 1)) = t + · ──────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/381/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/381/input.js:1:1] - 1 │ export const foo = 1; - · ────── + × Invalid function declaration + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-fn-decl-inside-loop/input.js:1:11] + 1 │ while (1) function foo(){} + · ──────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/382/input.js + 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 - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/382/input.js:1:1] - 1 │ export let foo = 1; - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-left-hand-side-in-postfix-operation/input.js:1:1] + 1 │ a++ = t + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/383/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/383/input.js:1:1] - 1 │ export class Foo {} - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-left-hand-side-in-prefix-operation/input.js:1:1] + 1 │ ++a = t + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/384/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/384/input.js:1:1] - 1 │ export function foo() {} - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/malformed-switch/input.js:2:3] + 1 │ switch (x) { + 2 │ var y = 5; + · ─── + 3 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/385/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/385/input.js:1:1] - 1 │ export async function foo() {} - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern/input.js:1:1] + 1 │ ({x}) = {x: 1}; + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/391/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/391/input.js:1:1] - 1 │ export function* foo() {}; - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-2/input.js:1:7] + 1 │ [{b: [([a = 1])]}] = t + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/72/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/72/input.js:1:1] - 1 │ export var document - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-3/input.js:1:2] + 1 │ [({ a: [b = 2]})] = t + · ─────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/73/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/73/input.js:1:1] - 1 │ export var document = { } - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-4/input.js:1:3] + 1 │ [(a = 1)] = t + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/74/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/74/input.js:1:1] - 1 │ export let document - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-5/input.js:1:2] + 1 │ (a = 1) = t + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/75/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/75/input.js:1:1] - 1 │ export let document = { } - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-6/input.js:1:1] + 1 │ ([a]) = [] + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/76/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/76/input.js:1:1] - 1 │ export const document = { } - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-left-hand-side/input.js:1:2] + 1 │ (!a) += 1 + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/77/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/77/input.js:1:1] - 1 │ export function parse() { } - · ────── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-pattern-in-rest-binding/input.js:1:11] + 1 │ ([...(a)]) => {} + · ▲ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/78/input.js + help: Try insert a semicolon here - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/78/input.js:1:1] - 1 │ export class Class {} - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/valid-parenthesized-assignment-array-pattern-3/input.js:1:2] + 1 │ [([x])] = t; + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/79/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/79/input.js:1:1] - 1 │ export default 42 - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-keyword/invalid/input.js:3:1] + 2 │ br\u{65}ak + 3 │ }; + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/80/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/80/input.js:1:1] - 1 │ export default function () {} - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:1:1] + 1 │ "\01 foo \02 bar \03"; + · ───────────────────── + 2 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/81/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/81/input.js:1:1] - 1 │ export default function f() {} - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:3:1] + 2 │ + 3 │ "\4"; + · ──── + 4 │ "\5"; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/82/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/82/input.js:1:1] - 1 │ export default class {} - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:4:1] + 3 │ "\4"; + 4 │ "\5"; + · ──── + 5 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/83/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/83/input.js:1:1] - 1 │ export default class A {} - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:8:1] + 7 │ + 8 │ "\4"; + · ──── + 9 │ "\5"; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/85/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/85/input.js:1:1] - 1 │ export * from "crypto" - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/86/input.js + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:9:1] + 8 │ "\4"; + 9 │ "\5"; + · ──── + 10 │ + ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/86/input.js:1:1] - 1 │ export { encrypt } - · ────── - 2 │ function encrypt () {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/87/input.js + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:11:1] + 10 │ + 11 │ "\04 foo \05 bar \06"; + · ───────────────────── + ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/87/input.js:3:1] - 2 │ class decrypt{} - 3 │ export { encrypt, decrypt } - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:2:3] + 1 │ function a() { + 2 │ "\5"; + · ──── + 3 │ "use strict"; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/88/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/88/input.js:1:1] - 1 │ import encrypt from ""; - · ────── - 2 │ export { encrypt as default } + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:7:3] + 6 │ function b() { + 7 │ "\4"; + · ──── + 8 │ "\5"; ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/88/input.js:2:1] - 1 │ import encrypt from ""; - 2 │ export { encrypt as default } - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:8:3] + 7 │ "\4"; + 8 │ "\5"; + · ──── + 9 │ "use strict"; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/89/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/89/input.js:3:1] - 2 │ class decrypt {} - 3 │ export { encrypt, decrypt as dec } - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/90/input.js + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:14:3] + 13 │ "use strict"; + 14 │ "\5"; + · ──── + 15 │ } + ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/90/input.js:1:1] - 1 │ export { default } from "other" - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/91/input.js + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:19:3] + 18 │ "use strict"; + 19 │ "\4"; + · ──── + 20 │ "\5"; + ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/91/input.js:1:1] - 1 │ import "jquery" - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/92/input.js + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:20:3] + 19 │ "\4"; + 20 │ "\5"; + · ──── + 21 │ } + ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/92/input.js:1:1] - 1 │ import $ from "jquery" - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/numeric-escape-in-directive/input.js:1:53] + 1 │ function hello() { "use strict"; function inner() { "octal directive\1"; } } + · ─────────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/93/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/93/input.js:1:1] - 1 │ import { encrypt, decrypt } from "crypto" - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/numeric-escape-in-property-name/input.js:1:37] + 1 │ function hello() { 'use strict'; ({ "\1": 42 }); } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/94/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/94/input.js:1:1] - 1 │ import { encrypt as enc } from "crypto" - · ────── + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-template/non-octal-eight/input.js:1:2] + 1 │ `\8`; + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/95/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/95/input.js:1:1] - 1 │ import crypto, { decrypt, encrypt as enc } from "crypto" - · ────── + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/core/escape-template/non-octal-nine/input.js:1:2] + 1 │ `\9`; + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/97/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/97/input.js:1:1] - 1 │ import { null as nil } from "bar" - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict/input.js:1:15] + 1 │ "use strict"; 04; 05; + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/98/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/98/input.js:1:1] - 1 │ import * as crypto from "crypto" - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict/input.js:1:19] + 1 │ "use strict"; 04; 05; + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/25/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/25/input.js:1:1] - 1 │ export async function foo() {} - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict-function/input.js:3:3] + 2 │ "use strict"; + 3 │ 05; + · ── + 4 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/input.js + help: for octal literals use the '0o' prefix instead - × `await` is only allowed within async functions and at the top levels of modules - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/input.js:1:1] - 1 │ await 1 - · ───── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict-function/input.js:8:3] + 7 │ "use strict"; + 8 │ 04; + · ── + 9 │ 05; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export/input.js + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export/input.js:1:1] - 1 │ export async function foo() {} - · ────── - 2 │ export default async function bar() {} - ╰──── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict-function/input.js:9:3] + 8 │ 04; + 9 │ 05; + · ── + 10 │ } + ╰──── + help: for octal literals use the '0o' prefix instead - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export/input.js:2:1] - 1 │ export async function foo() {} - 2 │ export default async function bar() {} - · ────── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-escape-get/input.js:1:4] + 1 │ ({ ge\u0074 x() {} }) + · ──────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-arrow/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-arrow/input.js:1:1] - 1 │ export default async () => await foo() - · ────── + × A 'get' accessor must not have any formal parameters. + ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-getter-param/input.js:1:12] + 1 │ ({ get prop(x) {} }) + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-default-newline/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-default-newline/input.js:1:1] - 1 │ export default async - · ────── - 2 │ function bar() {} + × A 'set' accessor must have exactly one parameter. + ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-setter-no-param/input.js:1:9] + 1 │ ({ set x(){} }) + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js:1:11] - 1 │ const x = import.meta; - · ─────────── - 2 │ const url = import.meta.url; + × A 'set' accessor must have exactly one parameter. + ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-setter-two-params/input.js:1:12] + 1 │ ({ set prop(x, y) {} }) + · ────── ╰──── - help: import.meta is only allowed in module code - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js:2:13] - 1 │ const x = import.meta; - 2 │ const url = import.meta.url; - · ─────────── - 3 │ import.meta; + × Expected `(` but found `await` + ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowAwaitOutsideFunction-false/input.js:1:5] + 1 │ for await (const i of imports) {} + · ──┬── + · ╰── `(` expected ╰──── - help: import.meta is only allowed in module code - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js:3:1] - 2 │ const url = import.meta.url; - 3 │ import.meta; - · ─────────── - 4 │ import.meta.url; + × Unexpected new.target expression + ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-false/input.js:1:11] + 1 │ const x = new.target; + · ────────── ╰──── - help: import.meta is only allowed in module code + help: new.target is only allowed in constructors and functions invoked using thew `new` operator - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js:4:1] - 3 │ import.meta; - 4 │ import.meta.url; - · ─────────── - 5 │ import.meta.couldBeMutable = true; + × Unexpected new.target expression + ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-false-2/input.js:1:17] + 1 │ const y = () => new.target; + · ────────── ╰──── - help: import.meta is only allowed in module code + help: new.target is only allowed in constructors and functions invoked using thew `new` operator - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js:5:1] - 4 │ import.meta.url; - 5 │ import.meta.couldBeMutable = true; - · ─────────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/regression/13694-invalid-dot-bracketL-member/input.js:1:3] + 1 │ a.[b] + · ─ ╰──── - help: import.meta is only allowed in module code -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-const-number/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-const-number/input.js:1:1] - 1 │ export const foo = 1; - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/regression/T2921/input.js:1:5] + 1 │ a <== b; + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-array/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-array/input.js:1:1] - 1 │ export default []; - · ────── + × Decimals with leading zeros are not allowed in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/regression/non-octal-float-strict-mode/input.js:1:1] + 1 │ 09.5 + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-class/input.js + help: remove the leading zero - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-class/input.js:1:1] - 1 │ export default class {} - · ────── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/core/regression/octal-float-fail/input.js:1:3] + 1 │ 07.5 + · ▲ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-expression/input.js + help: Try insert a semicolon here - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-expression/input.js:1:1] - 1 │ export default (1 + 2); - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-lex/input.js:2:5] + 1 │ let bar; + 2 │ var foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 3 │ let foo = 1; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier/input.js:1:1] - 1 │ export default from; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-lex-nested/input.js:3:7] + 2 │ let bar; + 3 │ var foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 4 │ let foo = 1; + · ─┬─ + · ╰── It can not be redeclared here + 5 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-2/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-2/input.js:1:1] - 1 │ export default from (bar); - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-var/input.js:2:5] + 1 │ let bar; + 2 │ let foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 3 │ var foo = 1; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-3/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-3/input.js:1:1] - 1 │ export default from ?? 42; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-var-nested/input.js:3:7] + 2 │ let bar; + 3 │ let foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 4 │ var foo = 1; + · ─┬─ + · ╰── It can not be redeclared here + 5 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-function/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-function/input.js:1:1] - 1 │ export default function () {} - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-arr-destr/input.js:2:11] + 1 │ try { + 2 │ } catch ([foo, foo]) { + · ─┬─ ─┬─ + · │ ╰── It can not be redeclared here + · ╰── `foo` has already been declared here + 3 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/input.js:1:1] - 1 │ export default function foo() {} - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-dbl-let/input.js:1:5] + 1 │ let foo; try {} catch (foo) {} let foo; + · ─┬─ ─┬─ + · │ ╰── It can not be redeclared here + · ╰── `foo` has already been declared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-number/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-number/input.js:1:1] - 1 │ export default 42; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-let/input.js:2:10] + 1 │ try { + 2 │ } catch (foo) { + · ─┬─ + · ╰── `foo` has already been declared here + 3 │ let foo; + · ─┬─ + · ╰── It can not be redeclared here + 4 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-object/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-object/input.js:1:1] - 1 │ export default { foo: 1 }; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-obj-destr/input.js:2:15] + 1 │ try { + 2 │ } catch ({ a: foo, b: { c: [foo] } }) { + · ─┬─ ─┬─ + · │ ╰── It can not be redeclared here + · ╰── `foo` has already been declared here + 3 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-value/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-value/input.js:1:1] - 1 │ export default foo; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-var-arr-destr/input.js:2:11] + 1 │ try { + 2 │ } catch ([foo]) { + · ─┬─ + · ╰── `foo` has already been declared here + 3 │ var foo; + · ─┬─ + · ╰── It can not be redeclared here + 4 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-batch/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-batch/input.js:1:1] - 1 │ export * from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-var-obj-destr/input.js:2:12] + 1 │ try { + 2 │ } catch ({ foo }) { + · ─┬─ + · ╰── `foo` has already been declared here + 3 │ var foo; + · ─┬─ + · ╰── It can not be redeclared here + 4 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-default/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-default/input.js:1:1] - 1 │ export {default} from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-class/input.js:1:7] + 1 │ class foo {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ class foo {}; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-default/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-default/input.js:1:1] - 1 │ export {foo as default} from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-const/input.js:1:7] + 1 │ class foo {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ const foo = 1; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-specifier/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-specifier/input.js:1:1] - 1 │ export {foo as bar} from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-func/input.js:1:7] + 1 │ class foo {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ function foo () {}; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-specifiers/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-specifiers/input.js:1:1] - 1 │ export {foo as default, bar} from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-let/input.js:1:7] + 1 │ class foo {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ let foo = 1; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-specifier/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-specifier/input.js:1:1] - 1 │ export {foo} from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-var/input.js:1:7] + 1 │ class foo {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ var foo; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-specifiers/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-specifiers/input.js:1:1] - 1 │ export {foo, bar} from "foo"; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-const-const/input.js:1:7] + 1 │ const foo=1, foo=2; + · ─┬─ ─┬─ + · │ ╰── It can not be redeclared here + · ╰── `foo` has already been declared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-function/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-function/input.js:1:1] - 1 │ export function foo () {} - · ────── + × Identifier `f` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-gen/input.js:1:12] + 1 │ { function f() {} function* f() {} } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `f` has already been declared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/input.js:1:1] - 1 │ export function foo () {} false - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-module/input.js:1:10] + 1 │ function foo() {} + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ function foo() {} + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-let-number/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-let-number/input.js:1:1] - 1 │ export let foo = 1; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-module-sloppy/input.js:1:12] + 1 │ { function foo() {} function foo() {} } + · ─┬─ ─┬─ + · │ ╰── It can not be redeclared here + · ╰── `foo` has already been declared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-default/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-default/input.js:1:1] - 1 │ export {foo as default}; - · ────── - 2 │ var foo; + × Identifier `f` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-gen-func/input.js:1:13] + 1 │ { function* f() {} function f() {} } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `f` has already been declared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-specifier/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-specifier/input.js:2:1] - 1 │ var foo, bar; - 2 │ export {foo as bar}; - · ────── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-let-let/input.js:1:5] + 1 │ let foo, foo; + · ─┬─ ─┬─ + · │ ╰── It can not be redeclared here + · ╰── `foo` has already been declared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-specifiers/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-specifiers/input.js:1:1] - 1 │ export {foo as default, bar}; - · ────── - 2 │ var foo, bar; + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-nested-let-var/input.js:2:7] + 1 │ { + 2 │ let a; + · ┬ + · ╰── `a` has already been declared here + 3 │ { var a; } + · ┬ + · ╰── It can not be redeclared here + 4 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-empty/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-empty/input.js:1:1] - 1 │ export {}; - · ────── + × Identifier `i` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/for-var/input.js:1:10] + 1 │ for (let i = 0;;) { + · ┬ + · ╰── `i` has already been declared here + 2 │ var i; + · ┬ + · ╰── It can not be redeclared here + 3 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifier/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifier/input.js:2:1] - 1 │ let foo; - 2 │ export {foo}; - · ────── + × Export 'encrypt' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export/input.js:1:10] + 1 │ export { encrypt }; + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifiers/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifiers/input.js:2:1] - 1 │ var foo; - 2 │ export {foo, bar}; - · ────── - 3 │ var bar; + × Export 'encrypt' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-as/input.js:1:10] + 1 │ export { encrypt as decrypt }; + · ─────── + 2 │ function decrypt() {} ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifiers-comma/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifiers-comma/input.js:2:1] - 1 │ var bar; - 2 │ export {foo, bar,}; - · ────── - 3 │ var foo; + × Export 'encrypt' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-as-default/input.js:1:10] + 1 │ export { encrypt as default }; + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var/input.js:1:1] - 1 │ export var bar; - · ────── + × Export 'encrypt' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-block/input.js:4:10] + 3 │ } + 4 │ export { encrypt } + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/input.js:1:1] - 1 │ export var foo = function () {}; - · ────── + × Export 'Object' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-builtin/input.js:1:10] + 1 │ export { Object }; + · ────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var-number/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var-number/input.js:1:1] - 1 │ export var foo = 1; - · ────── + × Export 'Object' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-builtin-as/input.js:1:10] + 1 │ export { Object as Obj }; + · ────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default/input.js:1:1] - 1 │ import foo from "foo"; - · ────── + × Invalid function declaration + ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-if/input.js:2:11] + 1 │ export { encrypt }; + 2 │ if (true) function encrypt() {} + · ───────────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-named-specifiers/input.js + help: In strict mode code, functions can only be declared at top level or inside a block - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-named-specifiers/input.js:1:1] - 1 │ import foo, {bar} from "foo"; - · ────── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/108/input.js:1:17] + 1 │ var x = /[P QR]/\u0067 + · ▲ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-namespace-specifiers/input.js + help: Try insert a semicolon here - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-namespace-specifiers/input.js:1:1] - 1 │ import foo, * as bar from "foo"; - · ────── + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/345/input.js:1:2] + 1 │ { ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-as/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-as/input.js:1:1] - 1 │ import {default as foo} from "foo"; - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/346/input.js:1:1] + 1 │ } + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-jquery/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-jquery/input.js:1:1] - 1 │ import $ from "jquery" - · ────── + × Invalid Character `a` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/347/input.js:1:3] + 1 │ 3ea + · ▲ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-module/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-module/input.js:1:1] - 1 │ import "foo"; - · ────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/347/input.js:1:3] + 1 │ 3ea + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifier/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifier/input.js:1:1] - 1 │ import {bar as baz} from "foo"; - · ────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/348/input.js:1:2] + 1 │ 3in [] + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifiers/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifiers/input.js:1:1] - 1 │ import {bar as baz, xyz} from "foo"; - · ────── + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/349/input.js:1:3] + 1 │ 3e ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-empty/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-empty/input.js:1:1] - 1 │ import {} from "foo"; - · ────── + × Invalid Number invalid float + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/349/input.js:1:1] + 1 │ 3e + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifier/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifier/input.js:1:1] - 1 │ import {bar} from "foo"; - · ────── + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/350/input.js:1:4] + 1 │ 3e+ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers/input.js:1:1] - 1 │ import {bar, baz} from "foo"; - · ────── + × Invalid Number invalid float + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/350/input.js:1:1] + 1 │ 3e+ + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers-comma/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers-comma/input.js:1:1] - 1 │ import {bar, baz,} from "foo"; - · ────── + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/351/input.js:1:4] + 1 │ 3e- ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-namespace-specifier/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-namespace-specifier/input.js:1:1] - 1 │ import * as foo from "foo"; - · ────── + × Invalid Number invalid float + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/351/input.js:1:1] + 1 │ 3e- + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-null-as-nil/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-null-as-nil/input.js:1:1] - 1 │ import { null as nil } from "bar" - · ────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/352/input.js:1:2] + 1 │ 3x + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-method/flow/input.js - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/estree/class-method/flow/input.js:2:15] - 1 │ class NodeUtils extends UtilParser { - 2 │ finishNodeAt(node: T): T { - · ┬ - · ╰── `(` expected - 3 │ return node; + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/353/input.js:1:2] + 1 │ 3x0 + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-method/typescript/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/estree/class-method/typescript/input.js:1:9] - 1 │ abstract class TSAbstractClass { - · ▲ - 2 │ abstract foo(name: string): boolean; + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/354/input.js:1:3] + 1 │ 0x ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-private-property/flow/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/estree/class-private-property/flow/input.js:4:15] - 3 │ static #bar = foo; - 4 │ declare #qux: Array; - · ▲ - 5 │ } + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/357/input.js:1:3] + 1 │ 01a + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-private-property/typescript/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/estree/class-private-property/typescript/input.js:4:15] - 3 │ static #bar = foo; - 4 │ declare #qux: Array; - · ▲ - 5 │ } + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/358/input.js:1:2] + 1 │ 3in[] + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/export/batch/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/export/batch/input.js:1:1] - 1 │ export * from "foo"; - · ────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/359/input.js:1:4] + 1 │ 0x3in[] + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/export/decorator-before-export/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/export/decorator-before-export/input.js:1:6] - 1 │ @dec export class C {} - · ────── - 2 │ @dec export default class {} + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/360/input.js:1:1] + 1 │ "Hello + · ─────── + 2 │ World" ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/export/decorator-before-export/input.js:2:6] - 1 │ @dec export class C {} - 2 │ @dec export default class {} - · ────── + × Invalid Character `\` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/362/input.js:1:8] + 1 │ x\u005c ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/export/ns-from/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/export/ns-from/input.js:1:1] - 1 │ export * as A from 'test'; - · ────── + × Invalid Character `*` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/363/input.js:1:8] + 1 │ x\u002a ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/flow/string-literal-annotation/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/estree/flow/string-literal-annotation/input.js:1:6] - 1 │ var x: "string"; - · ▲ + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/364/input.js:1:1] + 1 │ / + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/import-assertions/valid-syntax-with-attributes/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/import-assertions/valid-syntax-with-attributes/input.js:1:1] - 1 │ import foo from "foo.json" assert { type: "json" }; - · ────── + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/365/input.js:1:1] + 1 │ /test + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/import-attributes/valid-syntax-with-attributes/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/import-attributes/valid-syntax-with-attributes/input.js:1:1] - 1 │ import foo from "foo.json" with { type: "json" }; - · ────── + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/366/input.js:1:17] + 1 │ var x = /[a-z]/\ux + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/module-string-names/mixed/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/module-string-names/mixed/input.js:1:1] - 1 │ import { "foo" as bar, "default" as qux } from "module-a"; - · ────── - 2 │ export * as "foo" from "module-b"; + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/366/input.js:1:16] + 1 │ var x = /[a-z]/\ux + · ▲ ╰──── + help: Try insert a semicolon here - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/module-string-names/mixed/input.js:2:1] - 1 │ import { "foo" as bar, "default" as qux } from "module-a"; - 2 │ export * as "foo" from "module-b"; - · ────── - 3 │ export { default as "quux" } from "module-b"; + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/367/input.js:1:1] + 1 │ 3 = 4 + · ─ ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/module-string-names/mixed/input.js:3:1] - 2 │ export * as "foo" from "module-b"; - 3 │ export { default as "quux" } from "module-b"; + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/368/input.js:1:1] + 1 │ func() = 4 · ────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/module-string-names/shorthand/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/estree/module-string-names/shorthand/input.js:1:1] - 1 │ export { "foo" } from "module-a"; - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/369/input.js:1:2] + 1 │ (1 + 1) = 10 + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/enum/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/enum/input.js:1:1] - 1 │ enum A { - · ──── - 2 │ a, + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/370/input.js:1:1] + 1 │ 1++ + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/import/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/import/input.js:1:6] - 1 │ let x: typeof import('./x'); - · ▲ - 2 │ let Y: import('./y').Y; + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/371/input.js:1:1] + 1 │ 1-- + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/import-require/input.js - × Expected `from` but found `=` - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/import-require/input.js:1:10] - 1 │ import x = require ("asdfasdf"); - · ┬ - · ╰── `from` expected + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/372/input.js:1:3] + 1 │ ++1 + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/literals/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/literals/input.js:1:5] - 1 │ type Foo = false; - · ▲ - 2 │ type Foo2 = true; + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/373/input.js:1:3] + 1 │ --1 + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property/input.js × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property/input.js:1:8] - 1 │ export declare const enum Foo { - · ─────── - 2 │ foo = 1, + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/374/input.js:1:5] + 1 │ for((1 + 1) in list) process(x); + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property-babel-7/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property-babel-7/input.js:1:8] - 1 │ export declare const enum Foo { - · ─────── - 2 │ foo = 1, + × Expected `]` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/375/input.js:1:2] + 1 │ [ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/optional-chaining/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/optional-chaining/input.js:1:12] - 1 │ foo?.foo(); - · ── - 2 │ foo?.foo?.(); + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/376/input.js:1:3] + 1 │ [, ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_01/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_01/input.js:1:5] - 1 │ type A = string => void - · ▲ + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/377/input.js:1:6] + 1 │ 1 + { ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_02/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_02/input.js:1:5] - 1 │ type A = Array => void - · ▲ + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/378/input.js:2:1] + 1 │ 1 + { t:t ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_03/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_03/input.js:1:9] - 1 │ var f = (): number => 123; - · ── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/379/input.js:1:11] + 1 │ 1 + { t:t, ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_04/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_04/input.js:1:9] - 1 │ var f = (): string | number => 123; + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/380/input.js:1:9] + 1 │ var x = / · ── + 2 │ / ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_05/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_05/input.js:1:12] - 1 │ var f = (x): (number => 123) => 123; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/380/input.js:2:2] + 1 │ var x = / + 2 │ / ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_06/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_06/input.js:1:5] - 1 │ type A = string | number => boolean; - · ▲ + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/381/input.js:1:9] + 1 │ var x = " + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_07/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_07/input.js:1:5] - 1 │ type A = string & number => boolean; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/382/input.js:1:5] + 1 │ var if = 42 + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_08/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_08/input.js:1:5] - 1 │ type A = ?number => boolean; - · ▲ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/383/input.js:1:1] + 1 │ i + 2 = 42 + · ───── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_09/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_09/input.js:1:5] - 1 │ type A = number[] => boolean; - · ▲ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/384/input.js:1:1] + 1 │ +i = 42 + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_10/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_10/input.js:1:5] - 1 │ type A = (string => boolean) => number - · ▲ + × Expected `)` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/385/input.js:1:6] + 1 │ 1 + ( + ╰──── + + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/386/input.js:4:2] + 3 │ + 4 │ { + ╰──── + + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/387/input.js:4:1] + 3 │ comment */ + 4 │ ) + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_11/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_11/input.js:1:5] - 1 │ type A = string => boolean | number; - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/388/input.js:1:6] + 1 │ { set 1 } + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_12/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_12/input.js:1:5] - 1 │ type A = string => boolean => number; - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/389/input.js:1:6] + 1 │ { get 2 } + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_13/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_13/input.js:1:11] - 1 │ const x = ():*=>{} + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/390/input.js:1:11] + 1 │ ({ set: s(if) { } }) · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_14/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_14/input.js:1:5] - 1 │ type T = Array<(string) => number> - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/391/input.js:1:10] + 1 │ ({ set s(.) { } }) + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_15/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_15/input.js:1:9] - 1 │ let x = (): Array<(string) => number> => [] - · ── + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/392/input.js:1:13] + 1 │ ({ set: s() { } }) + · ┬ + · ╰── `,` expected ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_01/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_01/input.js:1:8] - 1 │ declare function foo(x: number, string): void; - · ▲ + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/393/input.js:1:17] + 1 │ ({ set: s(a, b) { } }) + · ┬ + · ╰── `,` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_03/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_03/input.js:1:5] - 1 │ type A = (string) => void - · ▲ + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/394/input.js:1:14] + 1 │ ({ get: g(d) { } }) + · ┬ + · ╰── `,` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_04/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_04/input.js:1:5] - 1 │ type A = (string,) => void - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/395/input.js:1:15] + 1 │ function t(...) { } + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_05/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_05/input.js:1:5] - 1 │ type A = (Array) => void - · ▲ + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/396/input.js:1:12] + 1 │ function t(...rest, b) { } + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_06/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_06/input.js:1:5] - 1 │ type A = (Array,) => void - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/397/input.js:1:12] + 1 │ function t(if) { } + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_07/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_07/input.js:1:5] - 1 │ type A = (x: string, number) => void - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/398/input.js:1:12] + 1 │ function t(true) { } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_08/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_08/input.js:1:5] - 1 │ type A = (...Array) => void - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/399/input.js:1:12] + 1 │ function t(false) { } + · ───── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_09/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_09/input.js:1:5] - 1 │ type A = (Array, ...Array) => void - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/400/input.js:1:12] + 1 │ function t(null) { } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_10/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_10/input.js:1:12] - 1 │ var f = (x): (x: number) => 123 => 123; - · ▲ + × Expected `Identifier` but found `null` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/401/input.js:1:10] + 1 │ function null() { } + · ──┬─ + · ╰── `Identifier` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_11/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_11/input.js:1:9] - 1 │ var f = (): (number) => 123; - · ── + × Expected `Identifier` but found `true` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/402/input.js:1:10] + 1 │ function true() { } + · ──┬─ + · ╰── `Identifier` expected ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_12/input.js - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_12/input.js:1:9] - 1 │ var f = (): string | (number) => 123; - · ── + × Expected `Identifier` but found `false` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/403/input.js:1:10] + 1 │ function false() { } + · ──┬── + · ╰── `Identifier` expected ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_13/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_13/input.js:1:12] - 1 │ var f = (x): ((number) => 123) => 123; - · ▲ + × Expected `Identifier` but found `if` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/404/input.js:1:10] + 1 │ function if() { } + · ─┬ + · ╰── `Identifier` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_14/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_14/input.js:1:12] - 1 │ var f = (x): | 1 | 2 => 1; - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/405/input.js:1:2] + 1 │ a b; + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/1/input.js:1:6] - 1 │ var a: number[] - · ▲ + × Expected `(` but found `.` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/406/input.js:1:3] + 1 │ if.a; + · ┬ + · ╰── `(` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/2/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/2/input.js:1:6] - 1 │ var a: ?number[] - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/407/input.js:1:2] + 1 │ a if; + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/3/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/3/input.js:1:6] - 1 │ var a: (?number)[] - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/408/input.js:1:2] + 1 │ a class; + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/4/input.js:1:6] - 1 │ var a: () => number[] - · ▲ + × Illegal break statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/409/input.js:1:1] + 1 │ break + · ───── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/5/input.js + help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/5/input.js:1:6] - 1 │ var a: (() => number)[] - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/410/input.js:1:7] + 1 │ break 1; + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/6/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/6/input.js:1:6] - 1 │ var a: typeof A[] - · ▲ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/411/input.js:1:1] + 1 │ continue + · ──────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/7/input.js + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/7/input.js:1:6] - 1 │ var a: number[][] - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/412/input.js:1:10] + 1 │ continue 2; + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/8/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/8/input.js:1:6] - 1 │ var a: number[][][] - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/413/input.js:1:6] + 1 │ throw ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/9/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/array-types/9/input.js:1:6] - 1 │ var a: number - · ▲ - 2 │ [] + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/414/input.js:1:6] + 1 │ throw; + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-13644/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-13644/input.js:4:23] - 3 │ - 4 │ (a ? (b = c) : d => e : f); // a ? ((b = c): d => e) : f - · ┬ - · ╰── `,` expected - 5 │ (a ? (b += c) : d => e : f); // ((a ? (b += c) : (d => e)) : f) + × Only a single declaration is allowed in a `for...in` statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/415/input.js:1:6] + 1 │ for (var i, i2 in {}); + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58/input.js:3:17] - 2 │ a ? (b) : c => d; // a ? b : (c => d) - 3 │ a ? (b) : c => d : e; // a ? ((b): c => d) : e - · ▲ - 4 │ a ? (b) : (c) : d => e; // a ? b : ((c): d => e) + × Expected `;` but found `)` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/416/input.js:1:15] + 1 │ for ((i in {})); + · ┬ + · ╰── `;` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/param-type-and-return-type/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/param-type-and-return-type/input.js:2:7] - 1 │ test - 2 │ ? (x: T): U => y - · ┬ - · ╰── `,` expected - 3 │ : z + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/417/input.js:1:6] + 1 │ for (i + 1 in {}); + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/param-type-and-return-type-like/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/param-type-and-return-type-like/input.js:2:7] - 1 │ test - 2 │ ? (x: T): U => y - · ┬ - · ╰── `,` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/418/input.js:1:6] + 1 │ for (+i in {}); + · ── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/bounded-polymorphism/1/input.js - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/bounded-polymorphism/1/input.js:1:8] - 1 │ class A {} - · ┬ - · ╰── `{` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/419/input.js:1:10] + 1 │ if(false) ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/bounded-polymorphism/2/input.js - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/bounded-polymorphism/2/input.js:1:13] - 1 │ function bar() {} - · ┬ - · ╰── `(` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/420/input.js:1:25] + 1 │ if(false) doThis(); else ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/call-properties/1/input.js:1:6] - 1 │ var a : { (): number } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/421/input.js:1:3] + 1 │ do ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/call-properties/2/input.js:1:6] - 1 │ var a : { (): number; } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/422/input.js:1:13] + 1 │ while(false) ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/3/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/call-properties/3/input.js:1:6] - 1 │ var a : { (): number; y: string; (x: string): string } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/423/input.js:1:8] + 1 │ for(;;) ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/call-properties/4/input.js:1:6] - 1 │ var a : { (x: T): number; } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/424/input.js:1:8] + 1 │ with(x) ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/5/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/call-properties/5/input.js:1:10] - 1 │ interface A { (): number; } - · ▲ + × Missing catch or finally clause + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/425/input.js:1:8] + 1 │ try { } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-private-property/1/input.js:2:9] - 1 │ class A { - 2 │ #prop1: string; - · ▲ - 3 │ #prop2: number = value; + × Invalid Character `‿` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/426/input.js:1:1] + 1 │ ‿ = 10 + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-private-property/2/input.js:2:9] - 1 │ class A { - 2 │ #prop1: string; - · ▲ - 3 │ #prop2: number; + × Identifier `default` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/427/input.js:1:14] + 1 │ switch (c) { default: default: } + · ────┬─── ────┬─── + · │ ╰── It can not be redeclared here + · ╰── `default` has already been declared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/variance/input.js × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-private-property/variance/input.js:2:3] - 1 │ class A { - 2 │ +#foo; - · ─ - 3 │ -#bar; + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/428/input.js:1:9] + 1 │ new X()."s" + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-field-with-type/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-field-with-type/input.js:2:14] - 1 │ class A { - 2 │ declare foo: string - · ▲ - 3 │ } + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/429/input.js:1:1] + 1 │ /* + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/field-named-declare-with-type/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-properties/field-named-declare-with-type/input.js:2:10] - 1 │ class A { - 2 │ declare: string - · ▲ - 3 │ } + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/430/input.js:1:1] + 1 │ ╭─▶ /* + 2 │ │ + 3 │ ╰─▶ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/getter-setter/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-properties/getter-setter/input.js:1:8] - 1 │ declare class B { - · ▲ - 2 │ get a(): number; + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/431/input.js:1:1] + 1 │ /** + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/named-static/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-properties/named-static/input.js:1:8] - 1 │ declare class A { - · ▲ - 2 │ static: T; + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/432/input.js:1:1] + 1 │ ╭─▶ /* + 2 │ │ + 3 │ ╰─▶ * ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/classes/constructor-with-class-prop-plugin/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/classes/constructor-with-class-prop-plugin/input.js:2:16] - 1 │ class A { - 2 │ constructor(): Object { - · ─ - 3 │ return {}; + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/433/input.js:1:1] + 1 │ /*hello + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/classes/good_01/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/classes/good_01/input.js:1:16] - 1 │ class C { field:*=null } - · ▲ + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/434/input.js:1:1] + 1 │ /*hello * + · ────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/comment/spread/input.js × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/spread/input.js:3:12] - 2 │ function commentsAttachedToIdentifier() { - 3 │ var x = (...args: any) => {}; - · ─── - 4 │ } + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/435/input.js:2:1] + 1 │ + 2 │ ] + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/implements/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-class/implements/input.js:1:8] - 1 │ declare class A implements B {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/436/input.js:2:1] + 1 │ ] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-multiple/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-multiple/input.js:1:8] - 1 │ declare class A implements B, C {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/437/input.js:2:1] + 1 │ + 2 │ ] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-with-mixin/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-with-mixin/input.js:1:8] - 1 │ declare class A mixins B implements C {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/438/input.js:3:1] + 2 │ ] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/mixins/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-class/mixins/input.js:1:8] - 1 │ declare class A mixins B {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/439/input.js:2:1] + 1 │ // + 2 │ ] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/mixins-multiple/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-class/mixins-multiple/input.js:1:8] - 1 │ declare class A mixins B, C {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/440/input.js:3:1] + 2 │ ] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-class/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-class/input.js:1:8] - 1 │ declare module "foo" { declare export class Foo { meth(p1: number): void; } } - · ▲ + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/441/input.js:1:1] + 1 │ /a\ + · ──── + 2 │ / ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-arrow/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-arrow/input.js:1:8] - 1 │ declare export default (a:number) => number - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/441/input.js:2:2] + 1 │ /a\ + 2 │ / ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-class/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-class/input.js:1:8] - 1 │ declare export default class A {}; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/442/input.js:3:1] + 2 │ + 3 │ ] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-function/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-function/input.js:1:8] - 1 │ declare export default function bar(p1: number): string; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/443/input.js:2:3] + 1 │ /* + 2 │ */] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-union/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-union/input.js:1:8] - 1 │ declare module "foo" { declare export default number|string; } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/444/input.js:3:3] + 2 │ */] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-from/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-from/input.js:1:8] - 1 │ declare module "foo" { declare export {a,} from "bar"; } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/445/input.js:3:3] + 2 │ + 3 │ */] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-function/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-function/input.js:1:8] - 1 │ declare module "foo" { declare export function bar(p1: number): string; } - · ▲ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/446/input.js:1:2] + 1 │ \\ + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface/input.js:1:8] - 1 │ declare module "foo" { declare export interface bar {} } - · ▲ + × Invalid Character `\` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/447/input.js:1:7] + 1 │ \u005c ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface-and-var/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface-and-var/input.js:1:8] - 1 │ declare module "foo" { declare export interface bar {} declare export var baz: number; } - · ▲ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/448/input.js:1:2] + 1 │ \x + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface-commonjs/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface-commonjs/input.js:1:8] - 1 │ declare module "foo" { declare export interface bar {} declare module.exports: number; } - · ▲ + × Invalid Character `` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/449/input.js:1:7] + 1 │ \u0000 ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-named-pattern/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-named-pattern/input.js:1:8] - 1 │ declare module "foo" { declare export {a,}; } - · ▲ - 2 │ var a; + × Invalid Character `‌` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/450/input.js:1:1] + 1 │ ‌ = [] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-star/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-star/input.js:1:8] - 1 │ declare module "foo" { declare export * from "bar"; } - · ▲ + × Invalid Character `‍` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/451/input.js:1:1] + 1 │ ‍ = [] + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-star-as/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-star-as/input.js:1:8] - 1 │ declare export * as test from '' - · ▲ + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/452/input.js:1:1] + 1 │ "\ + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type/input.js:1:8] - 1 │ declare module "foo" { declare export type bar = number; } - · ▲ + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/452/input.js:1:1] + 1 │ "\ + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-and-var/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-and-var/input.js:1:8] - 1 │ declare module "foo" { declare export type bar = number; declare export var baz: number; } - · ▲ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/453/input.js:1:2] + 1 │ "\u + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-commonjs/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-commonjs/input.js:1:8] - 1 │ declare module "foo" { declare export type bar = number; declare module.exports: number; } - · ▲ + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/453/input.js:1:1] + 1 │ "\u + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-star-from/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-star-from/input.js:1:8] - 1 │ declare module "foo" { declare export type * from "bar"; } - · ▲ + × TS(1108): A 'return' statement can only be used within a function body. + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/454/input.js:1:1] + 1 │ return + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-var/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/export-var/input.js:1:8] - 1 │ declare module "foo" { declare export var a: number; } - · ▲ + × Illegal break statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/455/input.js:1:1] + 1 │ break + · ───── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/1/input.js + help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/1/input.js:1:8] - 1 │ declare module A {} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/10/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/10/input.js:1:8] - 1 │ declare module.exports: { foo(): number; } - · ▲ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/456/input.js:1:1] + 1 │ continue + · ──────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/2/input.js + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/2/input.js:1:8] - 1 │ declare module "./a/b.js" {} - · ▲ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/457/input.js:1:23] + 1 │ switch (x) { default: continue; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/3/input.js + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/3/input.js:1:8] - 1 │ declare module A { declare var x: number; } - · ▲ + × Expected `while` but found `*` + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/458/input.js:1:10] + 1 │ do { x } * + · ┬ + · ╰── `while` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/4/input.js:1:8] - 1 │ declare module A { declare function foo(): number; } - · ▲ + × Use of undefined label + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/459/input.js:1:22] + 1 │ while (true) { break x; } + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/5/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/5/input.js:1:8] - 1 │ declare module A { declare class B { foo(): number; } } - · ▲ + × Use of undefined label + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/460/input.js:1:25] + 1 │ while (true) { continue x; } + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/6/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/6/input.js:1:8] - 1 │ declare module A { declare module.exports: { foo(): number; } } - · ▲ + × Jump target cannot cross function boundary. + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/461/input.js:1:40] + 1 │ x: while (true) { (function () { break x; }); } + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/9/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/9/input.js:1:8] - 1 │ declare module A { declare module.exports: number; } - · ▲ + × Jump target cannot cross function boundary. + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/462/input.js:1:43] + 1 │ x: while (true) { (function () { continue x; }); } + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/import/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/import/input.js:1:8] - 1 │ declare module "M" { - · ▲ - 2 │ import type T from "TM"; + × Illegal break statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/463/input.js:1:34] + 1 │ x: while (true) { (function () { break; }); } + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/1/input.js + help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/1/input.js:1:8] - 1 │ declare var foo - · ▲ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/464/input.js:1:34] + 1 │ x: while (true) { (function () { continue; }); } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/10/input.js + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/10/input.js:1:8] - 1 │ declare class A { static foo(): number; static x : string } - · ▲ + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/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 ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/11/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/11/input.js:1:8] - 1 │ declare class A { static [ indexer: number]: string } - · ▲ + × Delete of an unqualified identifier in strict mode. + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/466/input.js:1:37] + 1 │ (function () { 'use strict'; delete i; }()) + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/12/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/12/input.js:1:8] - 1 │ declare class A { static () : number } - · ▲ + × 'with' statements are not allowed + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/467/input.js:1:30] + 1 │ (function () { 'use strict'; with (i); }()) + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/13/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/13/input.js:1:8] - 1 │ declare class A mixins B, C {} - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/468/input.js:1:37] + 1 │ function hello() {'use strict'; var eval = 10; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/14/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/14/input.js:1:8] - 1 │ declare type A = string; - · ▲ - 2 │ declare type T = { [k:string]: U }; + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/469/input.js:1:37] + 1 │ function hello() {'use strict'; var arguments = 10; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/15/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/15/input.js:1:8] - 1 │ declare interface I { foo: string } - · ▲ - 2 │ declare interface I2 { foo: T } + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/470/input.js:1:48] + 1 │ function hello() {'use strict'; try { } catch (eval) { } } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/16/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/16/input.js:1:8] - 1 │ declare class A extends C.B.D { } - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/471/input.js:1:48] + 1 │ function hello() {'use strict'; try { } catch (arguments) { } } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/17/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/17/input.js:1:8] - 1 │ declare class X { - · ▲ - 2 │ a: number; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/472/input.js:1:33] + 1 │ function hello() {'use strict'; eval = 10; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/18/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/18/input.js:1:8] - 1 │ declare class A { static () : number } - · ▲ - 2 │ declare class B { () : number } + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/473/input.js:1:33] + 1 │ function hello() {'use strict'; arguments = 10; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/19/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/19/input.js:1:8] - 1 │ declare var string: any; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/474/input.js:1:35] + 1 │ function hello() {'use strict'; ++eval; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/2/input.js:1:8] - 1 │ declare var foo; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/475/input.js:1:35] + 1 │ function hello() {'use strict'; --eval; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/3/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/3/input.js:1:8] - 1 │ declare function foo(): void - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/476/input.js:1:35] + 1 │ function hello() {'use strict'; ++arguments; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/4/input.js:1:8] - 1 │ declare function foo(): void; - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/477/input.js:1:35] + 1 │ function hello() {'use strict'; --arguments; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/5/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/5/input.js:1:8] - 1 │ declare function foo(): void; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/478/input.js:1:33] + 1 │ function hello() {'use strict'; eval++; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/6/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/6/input.js:1:8] - 1 │ declare function foo(x: number, y: string): void; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/479/input.js:1:33] + 1 │ function hello() {'use strict'; eval--; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/7/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/7/input.js:1:8] - 1 │ declare class IViewFactory { didAnimate(view:Object, prop:string) :void; } - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/480/input.js:1:33] + 1 │ function hello() {'use strict'; arguments++; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/8/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/8/input.js:1:8] - 1 │ declare class A {} - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/481/input.js:1:33] + 1 │ function hello() {'use strict'; arguments--; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/9/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/9/input.js:1:8] - 1 │ declare class A extends B { x: number } - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/482/input.js:1:42] + 1 │ function hello() {'use strict'; function eval() { } } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/symbol/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/symbol/input.js:1:8] - 1 │ declare var x: symbol; - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/483/input.js:1:42] + 1 │ function hello() {'use strict'; function arguments() { } } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/def-site-variance/1/input.js - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/def-site-variance/1/input.js:1:8] - 1 │ class C<+T,-U> {} - · ┬ - · ╰── `{` expected - 2 │ function f<+T,-U>() {} + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/484/input.js:1:10] + 1 │ function eval() {'use strict'; } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-explicit/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-explicit/input.js:1:1] - 1 │ enum E of boolean { - · ──── - 2 │ A = true, + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/485/input.js:1:10] + 1 │ function arguments() {'use strict'; } + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-implicit/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-implicit/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A = true, + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/486/input.js:1:43] + 1 │ function hello() {'use strict'; (function eval() { }()) } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/empty/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/empty/input.js:1:1] - 1 │ enum E { } - · ──── + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/487/input.js:1:43] + 1 │ function hello() {'use strict'; (function arguments() { }()) } + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/enum-name/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/enum-name/input.js:1:1] - 1 │ enum type { - · ──── - 2 │ } + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/488/input.js:1:11] + 1 │ (function eval() {'use strict'; })() + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/export/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/export/input.js:3:16] - 2 │ - 3 │ export default enum B {} - · ──── + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/489/input.js:1:11] + 1 │ (function arguments() {'use strict'; })() + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/no-trailing-comma/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/no-trailing-comma/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/490/input.js:1:48] + 1 │ function hello() {'use strict'; ({ s: function eval() { } }); } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-explicit/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-explicit/input.js:1:1] - 1 │ enum E of number { - · ──── - 2 │ A = 1, + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/491/input.js:1:11] + 1 │ (function package() {'use strict'; })() + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-implicit/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-implicit/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A = 1, + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/492/input.js:1:49] + 1 │ function hello() {'use strict'; ({ i: 10, set s(eval) { } }); } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-explicit-defaulted/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-explicit-defaulted/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A, + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/493/input.js:1:42] + 1 │ function hello() {'use strict'; ({ set s(eval) { } }); } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-explicit-initialized/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-explicit-initialized/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A = "a", + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/494/input.js:1:50] + 1 │ function hello() {'use strict'; ({ s: function s(eval) { } }); } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-defaulted/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-defaulted/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A, + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/495/input.js:1:16] + 1 │ function hello(eval) {'use strict';} + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-initialized/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-initialized/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A = "a", + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/496/input.js:1:16] + 1 │ function hello(arguments) {'use strict';} + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/symbol/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/symbol/input.js:1:1] - 1 │ enum E of symbol { - · ──── - 2 │ A, + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/497/input.js:1:49] + 1 │ function hello() { 'use strict'; function inner(eval) {} } + · ──── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/unknown-members/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/unknown-members/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A, + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/498/input.js:1:49] + 1 │ function hello() { 'use strict'; function inner(arguments) {} } + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_object/input.js - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_object/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type T = {...}; + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/500/input.js:1:34] + 1 │ function hello() { 'use strict'; 021; } + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_trailing_comma/input.js + help: for octal literals use the '0o' prefix instead - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_trailing_comma/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type T = { ..., }; + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/502/input.js:1:37] + 1 │ function hello() { 'use strict'; ({ 021: 42 }); } + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/imports/import-type-keyword/input.js + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `switch` - ╭─[babel/packages/babel-parser/test/fixtures/flow/imports/import-type-keyword/input.js:1:13] - 1 │ import type switch from 'foo'; - · ───┬── - · ╰── `from` expected + × The keyword 'implements' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/504/input.js:1:38] + 1 │ function hello() { "use strict"; var implements; } + · ────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/indexed-access-types/base/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/indexed-access-types/base/input.js:1:5] - 1 │ type A = Obj['a']; - · ▲ - 2 │ + × The keyword 'interface' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/505/input.js:1:38] + 1 │ function hello() { "use strict"; var interface; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/indexed-access-types/optional/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/indexed-access-types/optional/input.js:1:5] - 1 │ type A = Obj?.['a']; - · ▲ - 2 │ + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/506/input.js:1:38] + 1 │ function hello() { "use strict"; var package; } + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/basic/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/basic/input.js:1:5] - 1 │ type T = interface { p: string } - · ▲ + × The keyword 'private' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/507/input.js:1:38] + 1 │ function hello() { "use strict"; var private; } + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/extends/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/extends/input.js:1:5] - 1 │ type T = interface extends X { p: string } - · ▲ + × The keyword 'protected' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/508/input.js:1:38] + 1 │ function hello() { "use strict"; var protected; } + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-multiple/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-multiple/input.js:1:5] - 1 │ type T = interface extends X, Y { p: string } - · ▲ + × The keyword 'public' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/509/input.js:1:38] + 1 │ function hello() { "use strict"; var public; } + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/identifier-named-static-method/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/identifier-named-static-method/input.js:1:5] - 1 │ type T = interface { static(): number } - · ▲ + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/510/input.js:1:38] + 1 │ function hello() { "use strict"; var static; } + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/1/input.js:1:10] - 1 │ interface A {} - · ▲ + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/511/input.js:1:16] + 1 │ function hello(static) { "use strict"; } + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/10/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/10/input.js:1:10] - 1 │ interface IFoo { - · ▲ - 2 │ x: boolean; + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/512/input.js:1:10] + 1 │ function static() { "use strict"; } + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/2/input.js:1:10] - 1 │ interface A extends B {} - · ▲ + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/513/input.js:1:24] + 1 │ "use strict"; function static() { } + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/3/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/3/input.js:1:10] - 1 │ interface A extends B, C {} - · ▲ + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/514/input.js:1:12] + 1 │ function a(t, t) { "use strict"; } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/4/input.js:1:10] - 1 │ interface A { foo: () => number; } - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/515/input.js:1:12] + 1 │ function a(eval) { "use strict"; } + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/5/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/5/input.js:1:10] - 1 │ interface Dictionary { [index: string]: string; length: number; } - · ▲ + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/516/input.js:1:12] + 1 │ function a(package) { "use strict"; } + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-value/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-value/input.js:1:10] - 1 │ interface switch {} - · ▲ + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/517/input.js:1:41] + 1 │ function a() { "use strict"; function b(t, t) { }; } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/identifier-named-static-method/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/identifier-named-static-method/input.js:1:10] - 1 │ interface A { static(): number } - · ▲ + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/518/input.js:1:13] + 1 │ (function a(t, t) { "use strict"; }) + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/identifier-named-static-optional/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/identifier-named-static-optional/input.js:1:10] - 1 │ interface B { static?: number } - · ▲ + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/519/input.js:1:42] + 1 │ function a() { "use strict"; (function b(t, t) { }); } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-exports/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-exports/input.js:1:10] - 1 │ interface Foo {} - · ▲ - 2 │ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/520/input.js:1:13] + 1 │ (function a(eval) { "use strict"; }) + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/declare-class/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/declare-class/input.js:1:8] - 1 │ declare class C { [[foo]]: T } - · ▲ + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/521/input.js:1:13] + 1 │ (function a(package) { "use strict"; }) + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/declare-class-static/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/declare-class-static/input.js:1:8] - 1 │ declare class C { static [[foo]]: T } - · ▲ + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/522/input.js:1:66] + 1 │ "use strict";function foo(){"use strict";}function bar(){var v = 015} + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface/input.js + help: for octal literals use the '0o' prefix instead - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface/input.js:1:10] - 1 │ interface T { [[foo]]: X } - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/523/input.js:1:5] + 1 │ var this = 10; + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface-method/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface-method/input.js:1:10] - 1 │ interface T { [[foo]](): X } - · ▲ + × Illegal newline after throw + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/524/input.js:1:1] + 1 │ throw + · ──┬── + · ╰── throw starts here + 2 │ 10; + · ─┬ + · ╰── A newline is not expected here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/object/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/object/input.js:1:5] - 1 │ type T = { [[foo]]: X } - · ▲ + × Missing initializer in const declaration + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/536/input.js:1:7] + 1 │ const a; + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-method/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-method/input.js:1:5] - 1 │ type T = { [[foo]](): X } - · ▲ + × The keyword 'public' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/544/input.js:2:9] + 1 │ "use strict"; + 2 │ const { public } = foo(); + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-optional/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-optional/input.js:1:5] - 1 │ type T = { [[foo]]?: X } - · ▲ + × The keyword 'public' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/545/input.js:1:9] + 1 │ const { public } = foo(); + · ────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/01/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/01/input.js:1:8] - 1 │ declare class A { - · ▲ - 2 │ @@iterator(): Iterator; + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/550/input.js:2:11] + 1 │ 'use strict'; + 2 │ const a = 07; + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/02/input.js + help: for octal literals use the '0o' prefix instead - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/02/input.js:1:8] - 1 │ declare class A { - · ▲ - 2 │ @@asyncIterator(): Iterator; + × Decimals with leading zeros are not allowed in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/552/input.js:2:11] + 1 │ 'use strict'; + 2 │ const a = 08; + · ── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/12/input.js + help: remove the leading zero × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/12/input.js:1:15] - 1 │ function foo(): { @@iterator: () => string } { - · ─ - 2 │ return (0: any); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/13/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/13/input.js:1:15] - 1 │ function foo(): { @@asyncIterator: () => string } { - · ─ - 2 │ return (0: any); + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/554/input.js:1:14] + 1 │ var a = 0123.; + · ─ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/14/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/14/input.js:1:10] - 1 │ interface A { - · ▲ - 2 │ @@iterator(): Iterator; + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/555/input.js:3:5] + 2 │ first, + 3 │ ...second, + · ───────── + 4 │ third, ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/15/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/15/input.js:1:10] - 1 │ interface A { - · ▲ - 2 │ @@asyncIterator(): Iterator; + × Unexpected trailing comma after rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-rest/input.js:1:6] + 1 │ [...a,] = []; + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/boolean-false/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/boolean-false/input.js:1:8] - 1 │ var foo: true - · ▲ + × Unexpected trailing comma after rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-spread-for-in/input.js:1:11] + 1 │ for ([...a,] in []); + · ─ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/boolean-true/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/boolean-true/input.js:1:8] - 1 │ var foo: false - · ▲ + × Unexpected trailing comma after rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-spread-nested/input.js:1:7] + 1 │ [[...a,]] = []; + · ─ + ╰──── + + × Spread must be last element + ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/input.js:1:2] + 1 │ [...a, b] = c + · ──── + ╰──── + + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/comma-after-rest-param/input.js:1:2] + 1 │ (...rest,) => {} + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/null/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/null/input.js:1:8] - 1 │ var foo: null - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens/input.js:1:18] + 1 │ var foo = ((foo)) => {}; + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-binary/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-binary/input.js:1:6] - 1 │ var a: 0b1111011 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-2/input.js:1:9] + 1 │ (a, (b)) => 42 + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-float/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-float/input.js:1:6] - 1 │ var a: 123.0 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-array-pattern/input.js:1:8] + 1 │ ([(a)]) => {} + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-integer/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-integer/input.js:1:6] - 1 │ var a: 123 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-array-pattern-2/input.js:1:22] + 1 │ ([ [(a)] = [] ] = []) => {} + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-binary/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-binary/input.js:1:6] - 1 │ var a: -0b1111011 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-array-pattern-3/input.js:1:19] + 1 │ ([(a) = [] ] = []) => {} + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-float/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-float/input.js:1:6] - 1 │ var a: -123.0 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-object-pattern/input.js:1:20] + 1 │ ({ a: (foo) } = {}) => {} + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-octal/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-octal/input.js:1:6] - 1 │ var a: -0x7B - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-object-pattern-member/input.js:1:24] + 1 │ ({ a: (foo.qux) } = {}) => {} + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-octal-2/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-octal-2/input.js:1:6] - 1 │ var a: -0o173 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/invalid-arrow-before-in/input.js:1:9] + 1 │ () => {} in x + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-octal/input.js + + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/invalid-rest-in-params/input.js:3:5] + 2 │ first, + 3 │ ...second, + · ───────── + 4 │ third + ╰──── × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-octal/input.js:1:6] - 1 │ var a: 0x7B - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-binary-left/input.js:1:9] + 1 │ () => {} || true + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-octal-2/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/number-octal-2/input.js:1:6] - 1 │ var a: 0o173 - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-callee/input.js:1:9] + 1 │ () => {}() + · ▲ ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/string-double/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/string-double/input.js:1:31] - 1 │ function createElement(tagName: "div"): HTMLDivElement {} - · ┬ - · ╰── `,` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-for-in-init-concise-binary-in/input.js:1:6] + 1 │ for (() => x in y;;); + · ─────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/string-single/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/string-single/input.js:1:31] - 1 │ function createElement(tagName: 'div'): HTMLDivElement {} - · ┬ - · ╰── `,` expected + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-ternary-test/input.js:1:9] + 1 │ () => {} ? 1 : 2; + · ▲ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/module-string-names/default-import/input.js + help: Try insert a semicolon here - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/module-string-names/default-import/input.js:1:1] - 1 │ import {"default" as quotation} from "Confucius"; - · ────── + × 'with' statements are not allowed + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/extends-strict/input.js:2:3] + 1 │ class C extends (function B() { + 2 │ with ({}); + · ──── + 3 │ return B; ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/module-string-names/mixed/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/module-string-names/mixed/input.js:1:1] - 1 │ import { "foo" as bar, "default" as qux } from "module-a"; - · ────── - 2 │ export * as "foo" from "module-b"; + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/invalid-escape-get/input.js:1:11] + 1 │ class X { ge\u0074 x() {} } + · ──────── ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/module-string-names/mixed/input.js:2:1] - 1 │ import { "foo" as bar, "default" as qux } from "module-a"; - 2 │ export * as "foo" from "module-b"; - · ────── - 3 │ export { default as "quux" } from "module-b"; + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/invalid-escape-set/input.js:1:11] + 1 │ class X { se\u0074 x(value) {} } + · ──────── ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/module-string-names/mixed/input.js:3:1] - 2 │ export * as "foo" from "module-b"; - 3 │ export { default as "quux" } from "module-b"; - · ────── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/invalid-escape-static/input.js:1:11] + 1 │ class X { st\u0061tic y() {} } + · ─────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/module-string-names/named-imports/input.js - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/module-string-names/named-imports/input.js:1:1] - 1 │ import {"學而時習之,不亦說乎?" as quotation} from "Confucius"; - · ────── + × Super calls are not permitted outside constructors or in nested functions inside constructors. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-outside-constructor/input.js:2:9] + 1 │ class A { + 2 │ x () {super()} + · ─────── + 3 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-class/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-class/input.js:1:8] - 1 │ declare class C1{} - · ▲ - 2 │ declare class C1{} + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-async-identifier/input.js:2:10] + 1 │ class A { + 2 │ [async] a() {} + · ▲ + 3 │ } ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-function/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-function/input.js:1:8] - 1 │ declare function F1(): void - · ▲ - 2 │ declare function F1(): void + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-async-string/input.js:2:12] + 1 │ class A { + 2 │ ["async"] a() {} + · ▲ + 3 │ } ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-var/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-var/input.js:1:8] - 1 │ declare var V1; + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-get-identifier/input.js:2:8] + 1 │ class A { + 2 │ [get] a() {} · ▲ - 2 │ declare var V1; + 3 │ } ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/object-types/complex-param-types/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/object-types/complex-param-types/input.js:1:5] - 1 │ type o = { m(|int|bool): void } - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-get-string/input.js:2:10] + 1 │ class A { + 2 │ ["get"] a() {} + · ▲ + 3 │ } ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/object-types/getter-key-is-keyword/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/object-types/getter-key-is-keyword/input.js:1:5] - 1 │ type B = { - · ▲ - 2 │ get if(): number; + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-duplicate-method-params/input.js:2:9] + 1 │ class Foo { + 2 │ bar(a, a) {} + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here + 3 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_collision/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_collision/input.js:1:7] - 1 │ opaque type opaque = number; - · ▲ - 2 │ opaque type not_transparent = opaque; + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-literal-async/input.js:2:10] + 1 │ class A { + 2 │ "async" a() {} + · ▲ + 3 │ } ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_neither/input.js × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_neither/input.js:1:8] - 1 │ declare export opaque type Foo + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-literal-get/input.js:2:8] + 1 │ class A { + 2 │ "get" a() {} · ▲ + 3 │ } ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_st_no_t/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_st_no_t/input.js:1:8] - 1 │ declare export opaque type Foo: Bar - · ▲ + × Classes may not have a static property named prototype + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-generator-prototype/input.js:2:11] + 1 │ class A { + 2 │ static *prototype() {} + · ───────── + 3 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_neither/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_neither/input.js:1:8] - 1 │ declare opaque type Foo - · ▲ + × Classes may not have a static property named prototype + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-prototype/input.js:2:10] + 1 │ class A { + 2 │ static prototype() {} + · ───────── + 3 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_st_no_t/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_st_no_t/input.js:1:8] - 1 │ declare opaque type Test: Foo - · ▲ + × A 'get' accessor must not have any formal parameters. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/getter-signature/input.js:2:12] + 1 │ class A { + 2 │ get prop (arg) {} + · ───── + 3 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype/input.js:1:7] - 1 │ opaque type Counter: Box = Container; - · ▲ + × 'super' can only be used with function calls or in property accesses + ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/malformed-super-expression/input.js:3:5] + 2 │ x () { + 3 │ super - 1; + · ───── + 4 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_allow_export/input.js + help: replace with `super()` or `super.prop` or `super[prop]` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_allow_export/input.js:1:8] - 1 │ declare module 'foo' { - · ▲ - 2 │ declare export opaque type MyType: number; + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-arguments-module/input.js:1:9] + 1 │ const { arguments } = foo(); + · ───────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_export/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_export/input.js:1:8] - 1 │ export opaque type Counter: Box = Container; - · ────── + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-arguments-strict/input.js:2:9] + 1 │ "use strict"; + 2 │ const { arguments } = foo(); + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type/input.js:1:7] - 1 │ opaque type ID = number; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-eval/input.js:1:17] + 1 │ 'use strict'; ({eval = defValue} = obj) + · ──── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type_allow_export/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type_allow_export/input.js:1:8] - 1 │ declare module 'foo' { - · ▲ - 2 │ declare export opaque type MyType; + × Expected `:` but found `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-this/input.js:1:12] + 1 │ var { this } = {}; + · ┬ + · ╰── `:` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type_export/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type_export/input.js:1:8] - 1 │ export opaque type ID = number; - · ────── + × Expected `,` but found `(` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/invalid-object-method/input.js:1:12] + 1 │ const { foo() {} } = foo(); + · ┬ + · ╰── `,` expected ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-value/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-value/input.js:1:7] - 1 │ opaque type switch = number; - · ▲ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-array/input.js:1:1] + 1 │ ([a]) = 2; + · ───── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/optional-type/1/input.js - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/optional-type/1/input.js:1:13] - 1 │ const f = (x?) => {} - · ┬ - · ╰── `,` expected + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-object/input.js:1:1] + 1 │ ({a}) = 2; + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/optional-type/3/input.js - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/optional-type/3/input.js:1:13] - 1 │ const f = (x?, y?:Object = {}) => {} - · ┬ - · ╰── `,` expected + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/duplicate-proto/in-new-expression/input.js:1:6] + 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 + ╭─[babel/packages/babel-parser/test/fixtures/es2015/duplicate-proto/with-assignment-expression/input.js:2:3] + 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 + ╭─[babel/packages/babel-parser/test/fixtures/es2015/duplicate-proto/without-assignment-expression/input.js:2:3] + 1 │ ({ + 2 │ __proto__: a, + · ────┬──── + · ╰── `__proto__` has already been declared here + 3 │ __proto__: a, + · ────┬──── + · ╰── It can not be redeclared here + 4 │ }) ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/optional-type/4/input.js × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/optional-type/4/input.js:1:12] - 1 │ const f = (...x?) => {} - · ─── + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/bare-initializer/input.js:2:6] + 1 │ var a; + 2 │ for (a = 0 in {}); + · ───── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/predicates/1/input.js:1:8] - 1 │ declare function foo(x: mixed): boolean %checks(x !== null); - · ▲ + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/const-initializer/input.js:1:6] + 1 │ for (const a = 0 in {}); + · ─────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/2/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/predicates/2/input.js:1:11] - 1 │ var f = (x: mixed): %checks => typeof x === "string"; - · ┬ - · ╰── `,` expected + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/let-initializer/input.js:1:6] + 1 │ for (let a = 0 in {}); + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/3/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/predicates/3/input.js:1:15] - 1 │ function foo(x: mixed): %checks { return typeof x === "string"; }; - · ┬ - · ╰── `,` expected + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/strict-initializer/input.js:2:6] + 1 │ 'use strict'; + 2 │ for (var a = 0 in {}); + · ───────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/6/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/predicates/6/input.js:1:8] - 1 │ declare function my_filter>(v: Array, cb: P): Array<$Refine>; - · ▲ + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/var-arraybindingpattern-initializer/input.js:1:6] + 1 │ for (var [a] = 0 in {}); + · ─────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/proto-props/declare-class/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/proto-props/declare-class/input.js:1:8] - 1 │ declare class A { - · ▲ - 2 │ proto: T; + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/var-objectbindingpattern-initializer/input.js:1:6] + 1 │ for (var {a} = 0 in {}); + · ─────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/1/input.js:1:6] - 1 │ var a : A.B - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-of/bare-initializer/input.js:2:6] + 1 │ var a; + 2 │ for (a = 0 of {}); + · ───── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/2/input.js:1:6] - 1 │ var a : A.B.C - · ▲ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-of/invalid-escape-of/input.js:1:8] + 1 │ for (x \u006ff y) {} + · ─────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/3/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/3/input.js:1:6] - 1 │ var a : A.B - · ▲ + × Expected `)` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-of/invalid-expr/input.js:1:16] + 1 │ for (let x of y, z) {} + · ┬ + · ╰── `)` expected ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/4/input.js:1:6] - 1 │ var a : typeof A.B - · ▲ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-escape-yield/input.js:1:17] + 1 │ (function* () { y\u0069eld; }) + · ────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/arrow-function-with-newline/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/arrow-function-with-newline/input.js:2:1] - 1 │ async (f) - 2 │ : t => { } - · ─ + × Generators can only be declared at the top level or inside a block + ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-hanging/input.js:1:8] + 1 │ if (1) function *foo() {} + · ─────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10044/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-10044/input.js:1:8] - 1 │ declare class C1 {} - · ▲ - 2 │ declare interface I1 {} + × Generators can only be declared at the top level or inside a block + ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-sloppy-function/input.js:1:11] + 1 │ while (1) function *foo() {} + · ─────────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-class/input.js - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-class/input.js:1:9] - 1 │ class of {} - · ┬ - · ╰── `{` expected - 2 │ + × Invalid function declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-sloppy-function/input.js:1:11] + 1 │ while (1) function *foo() {} + · ────────────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-function/input.js + 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 - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-function/input.js:1:12] - 1 │ function of() {} - · ┬ - · ╰── `(` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-const/input.js:1:5] + 1 │ var co\u{6e}st = 123; + · ────────── 2 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-interface/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-interface/input.js:1:10] - 1 │ interface of {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-export/input.js:1:5] + 1 │ var expor\u{74} = 123; + · ─────────── 2 │ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-166/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-166/input.js:2:21] - 1 │ function *foo() { - 2 │ const x = (yield 5: any); - · ┬ - · ╰── `,` expected - 3 │ x ? yield 1 : x; + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-if/input.js:1:1] + 1 │ \u0069\u{66} (true) {} + · ──────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-2493/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-2493/input.js:1:22] - 1 │ let hello = (greeting:string = ' world') : string => { - · ┬ - · ╰── `,` expected - 2 │ console.log('hello' + greeting); + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-import/input.js:1:5] + 1 │ var \u{69}\u{6d}\u{70}\u{6f}\u{72}\u{74} = 123; + · ──────────────────────────────────── + 2 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-321/input.js - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-321/input.js:1:7] - 1 │ const fn: ( Object, ?Object ) => void = ( o1, o2 ) => o1; - · ── - 2 │ const fn2: ( Object, ?Object, ) => void = ( o1, o2, ) => o1; + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-null/input.js:1:1] + 1 │ nul\u{6c} + · ───────── + ╰──── + + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-true/input.js:1:1] + 1 │ \u0074rue + · ───────── ╰──── × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-321/input.js:1:9] - 1 │ const fn: ( Object, ?Object ) => void = ( o1, o2 ) => o1; + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/invalid-escape/input.js:1:9] + 1 │ le\u0074 x = 5 · ▲ - 2 │ const fn2: ( Object, ?Object, ) => void = ( o1, o2, ) => o1; ╰──── help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-336/input.js - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-336/input.js:1:20] - 1 │ const fn = async (a?: any): Promise => {}; - · ┬ - · ╰── `,` expected + × Lexical declaration cannot appear in a single-statement context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-array-with-newline/input.js:1:4] + 1 │ ╭─▶ do let + 2 │ ╰─▶ [x] = 0 + 3 │ while (false); ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-593/input.js + help: Wrap this declaration in a block statement - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-593/input.js:1:14] - 1 │ const fail = (): X => ; - · ── + × The keyword 'let' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-as-identifier-strict-fail/input.js:2:1] + 1 │ "use strict"; + 2 │ let + 1 + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-92/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-92/input.js:1:21] - 1 │ const a = async (foo: string = "") => {} - · ┬ - · ╰── `,` expected + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-1/input.js:1:7] + 1 │ let { let } = {}; + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/declare-function-export/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/declare-function-export/input.js:1:8] - 1 │ declare function foo(): void; - · ▲ - 2 │ export { foo }; + × `let` cannot be declared as a variable name inside of a `const` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-10/input.js:1:8] + 1 │ const [let = 10] = []; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/declare-module/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/declare-module/input.js:1:8] - 1 │ declare module A { - · ▲ - 2 │ declare class X {} + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-11/input.js:1:9] + 1 │ let [...let] = []; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-class-declare-class/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-class-declare-class/input.js:1:8] - 1 │ declare class A {} - · ▲ - 2 │ declare class A {} + × `let` cannot be declared as a variable name inside of a `const` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-12/input.js:1:11] + 1 │ const [...let] = []; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-declare-func/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-declare-func/input.js:1:8] - 1 │ declare function A(): void; - · ▲ - 2 │ declare function A(): void; + × `let` cannot be declared as a variable name inside of a `const` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-2/input.js:1:9] + 1 │ const { let } = {}; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-declare-var/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-declare-var/input.js:1:8] - 1 │ declare function A(): void; - · ▲ - 2 │ declare var A: number; + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-3/input.js:1:6] + 1 │ let [let] = []; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-func/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-func/input.js:1:8] - 1 │ declare function A(): void; - · ▲ - 2 │ function A() {} + × `let` cannot be declared as a variable name inside of a `const` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-4/input.js:1:8] + 1 │ const [let] = []; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-var-declare-var/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-var-declare-var/input.js:1:8] - 1 │ declare var A: number; - · ▲ - 2 │ declare var A: number; + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-5/input.js:1:5] + 1 │ let let + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/export-named/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/export-named/input.js:2:8] - 1 │ export type Foo = number; - 2 │ export opaque type Foo2 = number; - · ────── + × `let` cannot be declared as a variable name inside of a `const` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-6/input.js:1:7] + 1 │ const let = '' + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/export-star/input.js - × Expected `from` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/export-star/input.js:1:13] - 1 │ export type * from "foo"; - · ┬ - · ╰── `from` expected + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-7/input.js:1:7] + 1 │ let { let = 10 } = {}; + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/import/input.js - × Expected `from` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/import/input.js:1:13] - 1 │ import type { Foo } from ""; - · ┬ - · ╰── `from` expected - 2 │ import typeof Foo2 from ""; + × `let` cannot be declared as a variable name inside of a `const` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-8/input.js:1:9] + 1 │ const { let = 10 } = {}; + · ─── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/declare-function/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/declare-function/input.js:1:8] - 1 │ declare function foo (this : number, a : string, b : number) : void - · ▲ - 2 │ + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-9/input.js:1:6] + 1 │ let [let = 10] = []; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/declare-method/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/declare-method/input.js:1:8] - 1 │ declare class A { - · ▲ - 2 │ m(this : number, a : number, b : string) : void, + × `let` cannot be declared as a variable name inside of a `let` declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-catch-block/input.js:2:7] + 1 │ try {} catch (err) { + 2 │ let let; + · ─── + 3 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/function-declaration/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/function-declaration/input.js:1:15] - 1 │ function foo (this : number, a : string, b) {} - · ──── - 2 │ + × Unexpected new.target expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/invalid-arrow-function/input.js:2:3] + 1 │ const A = () => { + 2 │ new.target; + · ────────── + 3 │ } ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/function-type/input.js + help: new.target is only allowed in constructors and functions invoked using thew `new` operator - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/function-type/input.js:1:5] - 1 │ type T = (this : number, a : string, b : number) => void - · ▲ - 2 │ + × The only valid meta property for new is new.target + ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-invalid-prop/input.js:2:3] + 1 │ function f() { + 2 │ new.prop + · ──────── + 3 │ } ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/method/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/method/input.js:2:7] - 1 │ class A { - 2 │ m(this : number, a : number, b : string) {} - · ──── - 3 │ n(this : number, ...c) {} + × Unexpected new.target expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-target-invalid/input.js:1:1] + 1 │ new.target + · ────────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-constructor/input.js + help: new.target is only allowed in constructors and functions invoked using thew `new` operator - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-constructor/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-target-invalid-escaped-new/input.js:1:16] + 1 │ function f() { n\u0065w.target; } + · ──────── ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-method-type/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-method-type/input.js:1:5] - 1 │ type T = { - · ▲ - 2 │ foo(this : number) : void + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-target-invalid-escaped-target/input.js:1:20] + 1 │ function f() { new.ta\u0072get; } + · ─────────── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-type-constructor/input.js - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-type-constructor/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ + × Duplicated export 'default' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default/input.js:1:8] + 1 │ export default {}; + · ───┬─── + · ╰── Export has already been declared here + 2 │ export default function() {}; + · ───┬─── + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-type/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-type/input.js:1:5] - 1 │ type T = (this, number) => void; - · ▲ - 2 │ + × Export 'foo' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default-and-export-as-default/input.js:2:10] + 1 │ export default function() {}; + 2 │ export { foo as default }; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/trailing-function-commas-type/1/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/trailing-function-commas-type/1/input.js:1:8] - 1 │ ( props: SomeType, ) : ReturnType => ( 3 ); - · ┬ - · ╰── `,` expected + × Duplicated export 'default' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default-and-export-as-default/input.js:1:8] + 1 │ export default function() {}; + · ───┬─── + · ╰── Export has already been declared here + 2 │ export { foo as default }; + · ───┬─── + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/tuples/1/input.js:1:6] - 1 │ var a : [] = []; - · ▲ + × Export 'foo' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:1:10] + 1 │ export { foo }; + · ─── + 2 │ export { bar as foo }; ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/tuples/2/input.js:1:6] - 1 │ var a : [Foo] = [foo]; - · ▲ + × Export 'bar' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:2:10] + 1 │ export { foo }; + 2 │ export { bar as foo }; + · ─── ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/3/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/tuples/3/input.js:1:6] - 1 │ var a : [number,] = [123,]; - · ▲ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:1:10] + 1 │ export { foo }; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export { bar as foo }; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/tuples/4/input.js:1:6] - 1 │ var a : [number, string] = [123, "duck"]; - · ▲ + × Duplicated export 'Foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/input.js:1:10] + 1 │ export { Foo }; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export class Foo {}; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/1/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-alias/1/input.js:1:5] - 1 │ type FBID = number; - · ▲ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring-assignment/input.js:1:10] + 1 │ export { foo }; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { foo = 1 } = bar; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/2/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-alias/2/input.js:1:5] - 1 │ type Foo = Bar - · ▲ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/input.js:1:17] + 1 │ export function foo() {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const { a: [{foo}] } = bar; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/3/input.js - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-alias/3/input.js:1:1] - 1 │ export type Foo = number; - · ────── + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/input.js:1:17] + 1 │ export function foo() {}; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { a: [{foo}] } = bar; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/4/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-alias/4/input.js:1:5] - 1 │ type union = - · ▲ - 2 │ | {type: "A"} + × Identifier `foo4` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/input.js:1:17] + 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 ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/5/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-alias/5/input.js:1:5] - 1 │ type A = Foo< - · ▲ - 2 │ | {type: "A"} + × Duplicated export 'foo4' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/input.js:1:17] + 1 │ export function foo4() {}; + · ──┬─ + · ╰── Export has already been declared here + 2 │ export const [{ a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } }] = bar; + · ──┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/6/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-alias/6/input.js:1:5] - 1 │ type a = ??string; - · ▲ + × Identifier `foo4` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/input.js:1:17] + 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 ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/1/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/1/input.js:1:20] - 1 │ function foo(numVal: any, otherVal: mixed){} - · ┬ - · ╰── `,` expected + × Duplicated export 'foo4' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/input.js:1:17] + 1 │ export function foo4() {}; + · ──┬─ + · ╰── Export has already been declared here + 2 │ export const { a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } } = bar; + · ──┬─ + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/10/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/10/input.js:1:22] - 1 │ function foo(callback: (_1:bool, _2:string) => number){} - · ┬ - · ╰── `,` expected + × Identifier `foo4` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/input.js:1:17] + 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 ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/100/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/100/input.js:1:18] - 1 │ class Foo { bar():this { return this; }} - · ─ + × Duplicated export 'foo4' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/input.js:1:17] + 1 │ export function foo4() {}; + · ──┬─ + · ╰── Export has already been declared here + 2 │ export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar; + · ──┬─ + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/101/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/101/input.js:1:3] - 1 │ ( ...props: SomeType ) : ?ReturnType => ( 3 ); - · ─── + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const { foo2: foo } = bar; + · ─┬─ + · ╰── It can not be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/102/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/102/input.js:1:17] - 1 │ export default (...modifiers): Array => {}; - · ─── + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { foo2: foo } = bar; + · ─┬─ + · ╰── It cannot be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/103/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/103/input.js:1:25] - 1 │ const parser = (rootPath: string, ...filesToParse: Array):a => {} - · ┬ - · ╰── `,` expected + × Identifier `foo2` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/input.js:1:21] + 1 │ export const { foo: foo2 } = bar; + · ──┬─ + · ╰── `foo2` has already been declared here + 2 │ export const foo2 = 1; + · ──┬─ + · ╰── It can not be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/104/input.js - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/104/input.js:2:6] - 1 │ class Foo { - 2 │ get() {} - · ┬ - · ╰── `(` expected - 3 │ } + × Duplicated export 'foo2' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/input.js:1:21] + 1 │ export const { foo: foo2 } = bar; + · ──┬─ + · ╰── Export has already been declared here + 2 │ export const foo2 = 1; + · ──┬─ + · ╰── It cannot be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/105/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/105/input.js:1:13] - 1 │ function g(a:number=1, e:number=1) {} - · ┬ - · ╰── `,` expected + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const [bar, ...foo] = baz; + · ─┬─ + · ╰── It can not be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/107/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/107/input.js:1:16] - 1 │ var x = ({ a } : any = 'foo') => {} - · ┬ - · ╰── `,` expected + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const [bar, ...foo] = baz; + · ─┬─ + · ╰── It cannot be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/108/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/108/input.js:1:6] - 1 │ var a : {| x: number, y: string |} = { x: 0, y: 'foo' }; - · ▲ - 2 │ var b : {| x: number, y: string, |} = { x: 0, y: 'foo' }; + × Identifier `bar` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/input.js:1:23] + 1 │ export const [foo, ...bar] = baz; + · ─┬─ + · ╰── `bar` has already been declared here + 2 │ export const bar = 1; + · ─┬─ + · ╰── It can not be redeclared here + 3 │ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/11/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/11/input.js:1:22] - 1 │ function foo(callback: (_1:bool, ...foo:Array) => number){} - · ┬ - · ╰── `,` expected + × Duplicated export 'bar' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/input.js:1:23] + 1 │ export const [foo, ...bar] = baz; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const bar = 1; + · ─┬─ + · ╰── It cannot be redeclared here + 3 │ ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/110/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/110/input.js:1:5] - 1 │ type X = {+p:T} - · ▲ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/input.js:1:14] + 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 │ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/111/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/111/input.js:1:5] - 1 │ type X = {-p:T} - · ▲ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const [bar, [baz, ...foo]] = qux; + · ─┬─ + · ╰── It cannot be redeclared here + 3 │ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/114/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/114/input.js:1:5] - 1 │ type X = {+[k:K]:V} - · ▲ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/input.js:1:14] + 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 │ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/115/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/115/input.js:1:5] - 1 │ type X = {-[k:K]:V} - · ▲ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { bar: [baz, ...foo] } = qux; + · ─┬─ + · ╰── It cannot be redeclared here + 3 │ ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/118/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/118/input.js:1:10] - 1 │ class A {+p:T} - · ─ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/input.js:1:17] + 1 │ export function foo() {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const { foo } = bar; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/119/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/119/input.js:1:10] - 1 │ class A {-p:T} - · ─ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/input.js:1:17] + 1 │ export function foo() {}; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { foo } = bar; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/12/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/12/input.js:1:15] - 1 │ function foo():number{} - · ─ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/input.js:1:16] + 1 │ export const { foo } = bar; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export function foo() {}; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/127/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/127/input.js:1:5] - 1 │ type A = { [string]: number }; - · ▲ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/input.js:1:16] + 1 │ export const { foo } = bar; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export function foo() {}; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/128/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/128/input.js:1:5] - 1 │ type A = { [string | boolean]: number }; - · ▲ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/input.js:1:17] + 1 │ export function foo() {}; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const [foo] = bar; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/129/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/129/input.js:1:6] - 1 │ var x: - · ▲ - 2 │ | 1 + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/input.js:1:17] + 1 │ export function foo() {}; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const [foo] = bar; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/13/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/13/input.js:1:15] - 1 │ function foo():() => void{} - · ─ + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/input.js:1:15] + 1 │ export const [foo] = bar; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export function foo() {}; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/130/input.js - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/130/input.js:1:13] - 1 │ function x(a: | 1 | 2, b: & 3 & 4): number {} - · ┬ - · ╰── `,` expected + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/input.js:1:15] + 1 │ export const [foo] = bar; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export function foo() {}; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/135/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/135/input.js:1:5] - 1 │ type A = { - · ▲ - 2 │ ...any, + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/input.js:1:16] + 1 │ export const { foo } = bar; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const [foo] = bar2; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/136/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/136/input.js:1:5] - 1 │ type A = { - · ▲ - 2 │ p: {}, + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/input.js:1:16] + 1 │ export const { foo } = bar; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const [foo] = bar2; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/138/input.js - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/138/input.js:3:5] - 2 │ class B {} - 3 │ type C = { - · ▲ - 4 │ ...A&B + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/input.js:1:15] + 1 │ export const [foo] = bar; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const { foo } = bar2; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/14/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/14/input.js:1:15] - 1 │ function foo():(_:bool) => number{} - · ─ + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/input.js:1:15] + 1 │ export const [foo] = bar; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { foo } = bar2; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/15/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/15/input.js:1:15] - 1 │ function foo():(_?:bool) => number{} - · ─ + × Identifier `Foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/input.js:1:14] + 1 │ export class Foo {}; + · ─┬─ + · ╰── `Foo` has already been declared here + 2 │ export const { Foo } = bar; + · ─┬─ + · ╰── It can not be redeclared here ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/16/input.js - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/16/input.js:1:15] - 1 │ function foo(): {} {} - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/17/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/17/input.js:1:13] - 1 │ function foo() {} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/18/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/18/input.js:1:13] - 1 │ function foo() {} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/19/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/19/input.js:1:11] - 1 │ a=function() {} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/2/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/2/input.js:1:20] - 1 │ function foo(numVal: number){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/20/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/20/input.js:1:21] - 1 │ a={set fooProp(value:number){}} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/21/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/21/input.js:1:21] - 1 │ a={set fooProp(value:number):void{}} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/22/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/22/input.js:1:17] - 1 │ a={get fooProp():number{}} - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/23/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/23/input.js:1:6] - 1 │ a={id(x: T): T {}} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/24/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/24/input.js:1:7] - 1 │ a={*id(x: T): T {}} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/25/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/25/input.js:1:12] - 1 │ a={async id(x: T): T {}} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/26/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/26/input.js:1:7] - 1 │ a={123(x: T): T {}} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/27/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/27/input.js:1:29] - 1 │ class Foo {set fooProp(value:number){}} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/28/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/28/input.js:1:29] - 1 │ class Foo {set fooProp(value:number):void{}} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/29/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/29/input.js:1:25] - 1 │ class Foo {get fooProp():number{}} - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/3/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/3/input.js:1:20] - 1 │ function foo(numVal: number, strVal: string){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/30/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/30/input.js:1:11] - 1 │ var numVal:number; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/31/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/31/input.js:1:11] - 1 │ var numVal:number = otherNumVal; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/32/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/32/input.js:1:6] - 1 │ var a: {numVal: number}; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/33/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/33/input.js:1:6] - 1 │ var a: {numVal: number;}; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/34/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/34/input.js:1:6] - 1 │ var a: {numVal: number; [indexer: string]: number}; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/35/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/35/input.js:1:6] - 1 │ var a: ?{numVal: number}; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/36/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/36/input.js:1:6] - 1 │ var a: {numVal: number; strVal: string} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/37/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/37/input.js:1:6] - 1 │ var a: {subObj: {strVal: string}} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/38/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/38/input.js:1:6] - 1 │ var a: {subObj: ?{strVal: string}} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/39/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/39/input.js:1:6] - 1 │ var a: {param1: number; param2: string} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/4/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/4/input.js:1:20] - 1 │ function foo(numVal: number, untypedVal){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/40/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/40/input.js:1:6] - 1 │ var a: {param1: number; param2?: string} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/41/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/41/input.js:1:6] - 1 │ var a: { [a: number]: string; [b: number]: string; }; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/42/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/42/input.js:1:6] - 1 │ var a: {add(x:number, ...y:Array): void} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/43/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/43/input.js:1:6] - 1 │ var a: { id(x: T): T; } - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/44/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/44/input.js:1:6] - 1 │ var a:Array = [1, 2, 3] - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/45/input.js - - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/45/input.js:1:14] - 1 │ a = class Foo { } - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/46/input.js - - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/46/input.js:1:14] - 1 │ a = class Foo extends Bar { } - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/47/input.js - - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/47/input.js:1:10] - 1 │ class Foo {} - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/48/input.js - - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/48/input.js:1:10] - 1 │ class Foo extends Bar { } - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/49/input.js - - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/49/input.js:1:10] - 1 │ class Foo extends mixin(Bar) { } - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/5/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/5/input.js:1:32] - 1 │ function foo(untypedVal, numVal: number){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/50/input.js - - × Expected `{` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/50/input.js:1:10] - 1 │ class Foo { bar():number { return 42; }} - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/51/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/51/input.js:1:18] - 1 │ class Foo { "bar"() { } } - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/52/input.js - - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/52/input.js:1:37] - 1 │ function foo(requiredParam, optParam?) {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/53/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/53/input.js:1:18] - 1 │ class Foo { prop1:string; prop2:number; } - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/54/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/54/input.js:1:25] - 1 │ class Foo { static prop1:string; prop2:number; } - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/55/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/55/input.js:1:6] - 1 │ var x : number | string = 4; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/56/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/56/input.js:1:27] - 1 │ class Array { concat(items:number | string) {}; } - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/57/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/57/input.js:1:6] - 1 │ var x : () => number | () => string = fn; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/58/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/58/input.js:1:6] - 1 │ var x: typeof Y = Y; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/59/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/59/input.js:1:6] - 1 │ var x: typeof Y | number = Y; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/6/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/6/input.js:1:25] - 1 │ function foo(nullableNum: ?number){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/60/input.js - - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/60/input.js:1:5] - 1 │ var {x}: {x: string; } = { x: "hello" }; - · ─── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/60/input.js:1:8] - 1 │ var {x}: {x: string; } = { x: "hello" }; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/61/input.js - - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/61/input.js:1:5] - 1 │ var {x}: {x: string } = { x: "hello" }; - · ─── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/61/input.js:1:8] - 1 │ var {x}: {x: string } = { x: "hello" }; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/62/input.js - - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/62/input.js:1:5] - 1 │ var [x]: Array = [ "hello" ]; - · ─── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/62/input.js:1:8] - 1 │ var [x]: Array = [ "hello" ]; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/63/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/63/input.js:1:17] - 1 │ function foo({x}: { x: string; }) {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/64/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/64/input.js:1:17] - 1 │ function foo([x]: Array) {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/65/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/65/input.js:1:21] - 1 │ function foo(...rest: Array) {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/66/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/66/input.js:1:19] - 1 │ (function (...rest: Array) {}) - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/67/input.js - - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/67/input.js:1:11] - 1 │ var foo = (): number => bar; - · ── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/68/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/68/input.js:1:16] - 1 │ var foo = (bar): number => bar; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/69/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/69/input.js:1:21] - 1 │ var foo = async (foo: bar, bar: foo) => {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/7/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/7/input.js:1:22] - 1 │ function foo(callback: () => void){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/70/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/70/input.js:1:19] - 1 │ var foo = async (): number => bar; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/71/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/71/input.js:1:22] - 1 │ var foo = async (bar): number => bar; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/72/input.js - - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/72/input.js:1:12] - 1 │ var foo = ((): number => bar); - · ── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/73/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/73/input.js:1:17] - 1 │ var foo = ((bar): number => bar); - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/74/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/74/input.js:1:18] - 1 │ var foo = (((bar): number => bar): number); - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/75/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/75/input.js:1:20] - 1 │ var foo = (async (): number => bar); - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/76/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/76/input.js:1:23] - 1 │ var foo = (async (bar): number => bar); - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/77/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/77/input.js:1:24] - 1 │ var foo = ((async (bar): number => bar): number); - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/79/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/79/input.js:1:37] - 1 │ var foo = bar ? (foo) : number => {} : baz; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/8/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/8/input.js:1:22] - 1 │ function foo(callback: () => number){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/80/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/80/input.js:1:3] - 1 │ ((...rest: Array) => rest) - · ─── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/81/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/81/input.js:1:6] - 1 │ var a: Map > - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/82/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/82/input.js:1:6] - 1 │ var a: Map> - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/83/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/83/input.js:1:6] - 1 │ var a: number[] - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/84/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/84/input.js:1:6] - 1 │ var a: ?string[] - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/85/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/85/input.js:1:6] - 1 │ var a: Promise[] - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/86/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/86/input.js:1:6] - 1 │ var a:(...rest:Array) => number - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/87/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/87/input.js:1:13] - 1 │ var identity: (x: T) => T - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/88/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/88/input.js:1:13] - 1 │ var identity: (x: T, ...y:T[]) => T - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/9/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/9/input.js:1:22] - 1 │ function foo(callback: (_:bool) => number){} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/97/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/97/input.js:1:15] - 1 │ ({f: function () {}}) - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/98/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/98/input.js:1:6] - 1 │ var a: {param1?: number; param2: string; param3: string;} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/99/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/99/input.js:1:11] - 1 │ (foo, bar): z => null - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/arrow-func-return-newline/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/arrow-func-return-newline/input.js:1:15] - 1 │ const x = (foo: string) - · ┬ - · ╰── `,` expected - 2 │ : number => {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/builtin/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/builtin/input.js:2:5] - 1 │ // bounds - 2 │ type T1 = any; - · ▲ - 3 │ type T2 = mixed; - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/existential-type-param/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/existential-type-param/input.js:1:5] - 1 │ type Maybe = _Maybe; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/existential-type-param-2/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/existential-type-param-2/input.js:1:6] - 1 │ let f : * = (x : null | *) : (*) => {} - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/input.js:1:21] - 1 │ {}} /> - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/function-is-valid-type/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/function-is-valid-type/input.js:1:15] - 1 │ function foo(a:function) {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/negative-number-literal/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/negative-number-literal/input.js:1:3] - 1 │ ╭─▶ /** - 2 │ │ * @flow - 3 │ ╰─▶ */ - 4 │ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/object-type-method/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/object-type-method/input.js:1:5] - 1 │ type T = { a: () => void }; - · ▲ - 2 │ type T1 = { a: () => void }; - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/symbol/input.js - - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/symbol/input.js:1:7] - 1 │ const x: symbol = Symbol(); - · ─ - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/symbol/input.js:1:8] - 1 │ const x: symbol = Symbol(); - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-valid/input.js - - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-valid/input.js:2:7] - 1 │ // @flow - 2 │ const a: typeof default = "hi"; - · ─ - 3 │ const b: typeof stuff.default = "hi"; - ╰──── - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-valid/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const a: typeof default = "hi"; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-valid/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-valid/input.js:1:15] - 1 │ function x(foo: string = "1") {} - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/alias/input.js - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-exports/alias/input.js:1:1] - 1 │ export type a = number; - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/interface/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-exports/interface/input.js:1:25] - 1 │ export interface foo { p: number }; - · ─ - 2 │ export interface bar { p: T }; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/specifier/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-exports/specifier/input.js:2:13] - 1 │ let foo; - 2 │ export type { foo }; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/specifier-from/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-exports/specifier-from/input.js:1:13] - 1 │ export type { foo } from "foobar"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/star-from/input.js - - × Expected `from` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-exports/star-from/input.js:1:13] - 1 │ export type * from "foo"; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/1/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/1/input.js:2:1] - 1 │ const functionReturningIdentityAsAField = () => ({ id: (value: T): T => value }); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/2/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/2/input.js:3:1] - 2 │ const a = 1; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow/input.js:1:13] - 1 │ async (fn: () => T) => fn; - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-2/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-2/input.js:1:17] - 1 │ const f = async ( - · ┬ - · ╰── `(` expected - 2 │ x: T, - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-like/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-like/input.js:1:13] - 1 │ async (fn: () => T); - · ┬ - · ╰── `,` expected - 2 │ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-rest/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-rest/input.js:1:15] - 1 │ async (...args: any) => {}; - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-rest-optional-parameters/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-rest-optional-parameters/input.js:1:16] - 1 │ async (...args?: any) => {}; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/with-jsx/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/with-jsx/input.js:1:10] - 1 │ let child: Element = ; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/1/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-grouping/1/input.js:1:6] - 1 │ var a: (number) - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/2/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-grouping/2/input.js:1:6] - 1 │ var a: (() => number) | () => string - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/3/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-grouping/3/input.js:1:6] - 1 │ var a: number & (string | bool) - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/4/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-grouping/4/input.js:1:6] - 1 │ var a: (typeof A) - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type/input.js - - × Expected `from` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type/input.js:1:13] - 1 │ import type Def1 from "foo"; - · ──┬─ - · ╰── `from` expected - 2 │ import type {named1} from "foo"; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-2/input.js - - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-2/input.js:1:1] - 1 │ import type, { foo } from "bar"; - · ────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-shorthand/input.js - - × Expected `,` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-shorthand/input.js:2:14] - 1 │ import {type} from "foo"; - 2 │ import {type t} from "foo"; - · ┬ - · ╰── `,` expected - 3 │ import {type as} from "foo"; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-shorthand-2/input.js - - × Expected `,` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-shorthand-2/input.js:1:14] - 1 │ import {type foo as as} from "foo"; - · ─┬─ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/input.js:6:1] - 5 │ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/input.js:6:1] - 5 │ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/input.js:2:9] - 1 │ class X { - 2 │ foobar() {} - · ┬ - · ╰── `(` expected - 3 │ delete() {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/declare-class-method-reserved-word/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/declare-class-method-reserved-word/input.js:1:8] - 1 │ declare class X { - · ▲ - 2 │ foobar(): void; - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/declare-interface-method-reserved-word/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/declare-interface-method-reserved-word/input.js:1:8] - 1 │ declare interface X { - · ▲ - 2 │ foobar(): void; - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default/input.js:1:5] - 1 │ type A1 = T - · ▲ - 2 │ type A2 = T - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/interface-reserved-word/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/interface-reserved-word/input.js:1:10] - 1 │ interface X { - · ▲ - 2 │ foobar(): void; - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/input.js:2:9] - 1 │ const s = { - 2 │ delete(d = ) {}, - · ┬ - · ╰── `(` expected - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/object-reserved-word/input.js - - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/object-reserved-word/input.js:2:9] - 1 │ const x = { - 2 │ foobar() {}, - · ┬ - · ╰── `(` expected - 3 │ delete() {}, - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/type-object-reserved-word/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/type-object-reserved-word/input.js:1:5] - 1 │ type X = { - · ▲ - 2 │ foobar(): void; - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/async-call/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/async-call/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ async(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/async-generic-arrow/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/async-generic-arrow/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ async () => {}; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/function-call/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/function-call/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ f(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/method-call/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/method-call/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ o.m(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/method-call-computed/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/method-call-computed/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ o[e](); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/new/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/new/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ new C(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/new-noparens/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/new-noparens/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ new C; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_allowed_trailing_commas/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_allowed_trailing_commas/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ test< - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_anywhere_in_list/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_anywhere_in_list/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ test(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_calls/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_calls/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ test<_>(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_methods/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_methods/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ instance.method()<_>(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_new/input.js - - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_new/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ new test<_>(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/1/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/1/input.js:1:5] - 1 │ (xxx: number) - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/2/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/2/input.js:1:22] - 1 │ ({xxx: 0, yyy: "hey"}: {xxx: number; yyy: string}) - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/3/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/3/input.js:1:18] - 1 │ ((xxx) => xxx + 1: (xxx: number) => number) - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/4/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/4/input.js:1:6] - 1 │ ((xxx: number), (yyy: string)) - · ┬ - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func/input.js:3:1] - 2 │ ((() => {}): any); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func-parenthesized/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func-parenthesized/input.js:3:1] - 2 │ ((() => {}): any); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/works-in-array-pattern/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/works-in-array-pattern/input.js:1:4] - 1 │ ([a: string]) => {}; - · ┬ - · ╰── `,` expected - 2 │ ([a, [b: string]]) => {}; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/yield/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/yield/input.js:2:21] - 1 │ function* foo(z) { - 2 │ const x = (yield 3: any) - · ┬ - · ╰── `,` expected - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/yield-extra-parentheses/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/yield-extra-parentheses/input.js:2:23] - 1 │ function* foo(z) { - 2 │ const x = ((yield 3): any) - · ┬ - · ╰── `,` expected - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param/input.js:2:1] - 1 │
() => {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param-no-flow/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param-no-flow/input.js:2:1] - 1 │
() => {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param-no-flow-babel-7/input.js - - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param-no-flow-babel-7/input.js:2:1] - 1 │
() => {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/attribute-sequence-expression-babel-7/input.js - - × TS(18007): JSX expressions may not use the comma operator - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/attribute-sequence-expression-babel-7/input.js:1:11] - 1 │
- · ───────────────────────────────────────── - ╰──── - help: Did you mean to write an array? -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression-babel-7/input.js - - × TS(18007): JSX expressions may not use the comma operator - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression-babel-7/input.js:1:7] - 1 │
{console.log('foo'), JSON.stringify(props)}
- · ───────────────────────────────────────── - ╰──── - help: Did you mean to write an array? -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/arrow/async/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/arrow/async/input.js:1:8] - 1 │ async (%%PARAM%%) => %%BODY%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/arrow/sync/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/arrow/sync/input.js:1:2] - 1 │ (%%PARAM%%) => %%BODY%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/body_expression/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/body_expression/input.js:1:12] - 1 │ void class %%BODY%% - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/body_statement/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/body_statement/input.js:1:10] - 1 │ class Cl %%BODY%% - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/decorators/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/decorators/input.js:1:3] - 1 │ @(%%FOO%%) - · ─ - 2 │ class A {} - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id-body/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/id-body/input.js:1:7] - 1 │ class %%ID%% %%BODY%% - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id-super/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/id-super/input.js:1:7] - 1 │ class %%ID%% extends %%SUPER%% {} - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id-super-body/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/id-super-body/input.js:1:7] - 1 │ class %%ID%% extends %%SUPER%% %%BODY%% - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id_expression/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/id_expression/input.js:1:12] - 1 │ void class %%ID%% {} - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id_statement/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/id_statement/input.js:1:7] - 1 │ class %%ID%% {} - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/super/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/class/super/input.js:1:18] - 1 │ class Cl extends %%SUPER%% {} - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/declaration/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/declaration/input.js:1:8] - 1 │ export %%DECL%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named/input.js:1:10] - 1 │ export { %%NAME%% }; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias/input.js:1:10] - 1 │ export { %%NAME%% as alias }; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias-2/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias-2/input.js:1:18] - 1 │ export { name as %%ALIAS%% }; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias-3/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias-3/input.js:1:10] - 1 │ export { %%NAME%% as %%ALIAS%% }; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-from/input.js:1:10] - 1 │ export { %%NAME%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-2/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-2/input.js:1:21] - 1 │ export { name } from %%FILE%%; - · ▲ - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-3/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-3/input.js:1:10] - 1 │ export { %%NAME%% } from %%FILE%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias/input.js:1:10] - 1 │ export { %%NAME%% as alias } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias-2/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias-2/input.js:1:18] - 1 │ export { name as %%ALIAS%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias-3/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias-3/input.js:1:10] - 1 │ export { %%NAME%% as %%ALIAS%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/star-from/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/star-from/input.js:1:15] - 1 │ export * from %%FILE%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/star-from-2/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/star-from-2/input.js:1:13] - 1 │ export * as %%STAR%% from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/star-from-3/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/star-from-3/input.js:1:13] - 1 │ export * as %%STAR%% from %%FILE%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/expression/01/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/expression/01/input.js:1:1] - 1 │ %%FOO%% + %%BAR%%(%%BAZ%%); - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/body/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/function/body/input.js:1:14] - 1 │ function f() %%BODY%% - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/id-params-body/input.js - - × Expected `(` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/function/id-params-body/input.js:1:10] - 1 │ function %%ID%%(%%PARAM%%, %%PARAM%%) %%BODY%% - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/id_declaration/input.js - - × Expected `(` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/function/id_declaration/input.js:1:10] - 1 │ function %%ID%%() {} - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/id_expression/input.js - - × Expected `(` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/function/id_expression/input.js:1:15] - 1 │ void function %%ID%%() {}; - · ┬ - · ╰── `(` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/param/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/function/param/input.js:1:12] - 1 │ function f(%%PARAM%%) {} - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default/input.mjs:1:8] - 1 │ import %%DEFAULT%% from "file"; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-file/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-file/input.mjs:1:8] - 1 │ import %%DEFAULT%% from %%FILE%%; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-named/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-named/input.mjs:1:20] - 1 │ import _default, { %%NAMED%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-named-2/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-named-2/input.mjs:1:8] - 1 │ import %%DEFAULT%%, { named } from "file"; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-named-3/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-named-3/input.mjs:1:8] - 1 │ import %%DEFAULT%%, { %%NAMED%% } from "file"; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-star/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-star/input.mjs:1:8] - 1 │ import %%DEFAULT%%, * as star from "file"; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-star-2/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-star-2/input.mjs:1:23] - 1 │ import _default, * as %%STAR%% from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-star-3/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/default-star-3/input.mjs:1:8] - 1 │ import %%DEFAULT%%, * as %%STAR%% from "file"; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/file/input.mjs - - × Expected `from` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/file/input.mjs:1:8] - 1 │ import %%FILE%%; - · ┬ - · ╰── `from` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/file-empty/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/file-empty/input.mjs:1:16] - 1 │ import {} from %%FILE%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/named/input.mjs:1:10] - 1 │ import { %%NAMED%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias/input.mjs:1:19] - 1 │ import { named as %%ALIAS%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias-2/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias-2/input.mjs:1:10] - 1 │ import { %%NAMED%% as alias } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias-3/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias-3/input.mjs:1:10] - 1 │ import { %%NAMED%% as %%ALIAS%% } from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/star/input.mjs - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/import/star/input.mjs:1:13] - 1 │ import * as %%STAR%% from "file"; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/asi/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/labels/asi/input.js:3:3] - 2 │ break - 3 │ %%LABEL%%; - · ─ - 4 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/break/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/labels/break/input.js:2:9] - 1 │ block: { - 2 │ break %%LABEL%%; - · ─ - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/continue/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/labels/continue/input.js:2:12] - 1 │ loop: while (0) { - 2 │ continue %%LOOP%%; - · ─ - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/labeled-statement/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/labels/labeled-statement/input.js:1:1] - 1 │ %%FOO%%: 0; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/statement/asi/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/statement/asi/input.js:1:1] - 1 │ %%FOO%% - · ─ - 2 │ %%BAR%% - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/statement/nested/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/statement/nested/input.js:1:8] - 1 │ if (0) %%FOO%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/statement/top-level/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/statement/top-level/input.js:1:1] - 1 │ %%FOO%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/try/try-catch-finally/input.js - - × Expected `{` but found `%` - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/try/try-catch-finally/input.js:1:5] - 1 │ try %%TRY%% catch %%CATCH%% finally %%FINALLY%% - · ┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/try/with-catch-param/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/try/with-catch-param/input.js:1:15] - 1 │ try {} catch (%%PARAM%%) %%CATCH%% - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/const-init/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/variable/const-init/input.js:1:7] - 1 │ const %%LHS%% = %%RHS%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/let-context-2/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/variable/let-context-2/input.js:2:2] - 1 │ if (cond) let - 2 │ %%LHS%% = %%RHS%% - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/let-init/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/variable/let-init/input.js:1:6] - 1 │ let %%LHS%% = %%RHS%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/using-init/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/variable/using-init/input.js:2:10] - 1 │ { - 2 │ using %%LHS%% = %%RHS%%; - · ─ - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/var-init/input.js - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/variable/var-init/input.js:1:5] - 1 │ var %%LHS%% = %%RHS%%; - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/async-optional-method/input.js - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/async-optional-method/input.js:2:20] - 1 │ class A extends B { - 2 │ async method?(val: string): Promise; - · ┬ - · ╰── `,` expected - 3 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/constructor-with-modifier-names/input.ts - - × Multiple constructor implementations are not allowed. - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/constructor-with-modifier-names/input.ts:2:3] - 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: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/declare/input.ts - - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/declare/input.ts:3:5] - 2 │ [x: string]: any; - 3 │ x; - · ┬ - · ╰── `x` has already been declared here - 4 │ x: number; - · ┬ - · ╰── It can not be redeclared here - 5 │ f(); - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts - - × Identifier `show` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts:2:12] - 1 │ class MyClass extends BaseClass { - 2 │ override show() {} - · ──┬─ - · ╰── `show` has already been declared here - 3 │ public override show() {} - · ──┬─ - · ╰── It can not be redeclared here - 4 │ override size = 5; - ╰──── - - × Identifier `size` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/modifiers-override/input.ts:4:12] - 3 │ public override show() {} - 4 │ override size = 5; - · ──┬─ - · ╰── `size` has already been declared here - 5 │ override readonly size = 5; - · ──┬─ - · ╰── It can not be redeclared here - 6 │ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/parameter-properties/input.ts - - × A required parameter cannot follow an optional parameter. - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/parameter-properties/input.ts:7:9] - 6 │ private pi?: number, - 7 │ public readonly pur, - · ─────────────────── - 8 │ // Also works on AssignmentPattern - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts - - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:2:5] - 1 │ class C { - 2 │ x; - · ┬ - · ╰── `x` has already been declared here - 3 │ x?; - · ┬ - · ╰── It can not be redeclared here - 4 │ x: number; - ╰──── - - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:3:5] - 2 │ x; - 3 │ x?; - · ┬ - · ╰── `x` has already been declared here - 4 │ x: number; - · ┬ - · ╰── It can not be redeclared here - 5 │ x: number = 1; - ╰──── - - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:4:5] - 3 │ x?; - 4 │ x: number; - · ┬ - · ╰── `x` has already been declared here - 5 │ x: number = 1; - · ┬ - · ╰── It can not be redeclared here - 6 │ x!; - ╰──── - - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:5:5] - 4 │ x: number; - 5 │ x: number = 1; - · ┬ - · ╰── `x` has already been declared here - 6 │ x!; - · ┬ - · ╰── It can not be redeclared here - 7 │ x!: number; - ╰──── - - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts:6:5] - 5 │ x: number = 1; - 6 │ x!; - · ┬ - · ╰── `x` has already been declared here - 7 │ x!: number; - · ┬ - · ╰── It can not be redeclared here - 8 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/dts/no-initializer/input.ts - - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/typescript/dts/no-initializer/input.ts:1:7] - 1 │ const x: number; - · ───────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/dts/valid-trailing-comma-for-rest/input.ts - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/typescript/dts/valid-trailing-comma-for-rest/input.ts:1:14] - 1 │ function foo(...args: any[], ); - · ────────────── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/function/declare-pattern-parameters/input.ts - - × A required parameter cannot follow an optional parameter. - ╭─[babel/packages/babel-parser/test/fixtures/typescript/function/declare-pattern-parameters/input.ts:1:25] - 1 │ declare function f([]?, {}) - · ── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/interface/get-set-properties/input.ts - - × Expected `(` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/typescript/interface/get-set-properties/input.ts:2:10] - 1 │ interface Foo { - 2 │ get foo: string; - · ┬ - · ╰── `(` expected - 3 │ set bar: string; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param/input.ts - - × Expected `,` but found `extends` - ╭─[babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param/input.ts:1:31] - 1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G; - · ───┬─── - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts - - × Expected `,` but found `extends` - ╭─[babel/packages/babel-parser/test/fixtures/typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts:1:31] - 1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G; - · ───┬─── - · ╰── `,` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/scope/module-declaration-var/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/typescript/scope/module-declaration-var/input.js:1:8] - 1 │ declare class foo { - · ▲ - 2 │ } - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/scope/module-declaration-var-2/input.js - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/typescript/scope/module-declaration-var-2/input.js:1:8] - 1 │ declare class foo { - · ▲ - 2 │ } - ╰──── - help: Try insert a semicolon here -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/tsx/assignment-in-conditional-expression/input.ts - - × Unexpected flag h in regular expression literal - ╭─[babel/packages/babel-parser/test/fixtures/typescript/tsx/assignment-in-conditional-expression/input.ts:3:46] - 2 │ - 3 │ a == 3 ? (a =

123

) : (a =

abc

) - · ▲ - ╰──── - - × Unexpected flag 1 in regular expression literal - ╭─[babel/packages/babel-parser/test/fixtures/typescript/tsx/assignment-in-conditional-expression/input.ts:3:47] - 2 │ - 3 │ a == 3 ? (a =

123

) : (a =

abc

) - · ▲ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/typescript/tsx/assignment-in-conditional-expression/input.ts:3:48] - 2 │ - 3 │ a == 3 ? (a =

123

) : (a =

abc

) - · ─ - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/input.ts - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/input.ts:1:13] - 1 │ >; - · ─ - 2 │ />; - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/class-heritage/input.ts - - × Expected `{` but found `<<` - ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/class-heritage/input.ts:1:17] - 1 │ (class extends f<(v: T) => void> {}); - · ─┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/input.tsx - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/input.tsx:1:11] - 1 │ (v: T) => void> /> - · ── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/class-heritage/input.ts - - × Expected `{` but found `<<` - ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/class-heritage/input.ts:1:17] - 1 │ (class extends f<(v: T) => void> {}); - · ─┬ - · ╰── `{` expected - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/jsx-opening-element/input.tsx - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/jsx-opening-element/input.tsx:1:11] - 1 │ (v: T) => void> /> - · ── - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters/input.ts - - × Identifier `method` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters/input.ts:29:3] - 28 │ class _ { - 29 │ method() {} - · ───┬── - · ╰── `method` has already been declared here - 30 │ method() {} - · ───┬── - · ╰── It can not be redeclared here - 31 │ method() {} - ╰──── - - × Identifier `method` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters/input.ts:30:3] - 29 │ method() {} - 30 │ method() {} - · ───┬── - · ╰── `method` has already been declared here - 31 │ method() {} - · ───┬── - · ╰── It can not be redeclared here - 32 │ } - ╰──── -Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters-babel-7/input.ts - - × Identifier `method` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters-babel-7/input.ts:29:3] - 28 │ class _ { - 29 │ method() {} - · ───┬── - · ╰── `method` has already been declared here - 30 │ method() {} - · ───┬── - · ╰── It can not be redeclared here - 31 │ method() {} - ╰──── - - × Identifier `method` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/typescript/types/const-type-parameters-babel-7/input.ts:30:3] - 29 │ method() {} - 30 │ method() {} - · ───┬── - · ╰── `method` has already been declared here - 31 │ method() {} - · ───┬── - · ╰── It can not be redeclared here - 32 │ } - ╰──── - - × Identifier `f` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/annex-b/disabled/3.4-var-redeclaration-catch-binding/input.js:2:17] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/annex-b/enabled/3.4-var-redeclaration-catch-binding/input.js:2:17] - 1 │ try {} catch (e) { var e; } - 2 │ try {} catch ({ f }) { var f; } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `f` has already been declared here - ╰──── - - × Expected `;` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/for-missing-semicolons/input.js:3:3] - 2 │ var a = 1 - 3 │ a < 3 - · ┬ - · ╰── `;` expected - 4 │ a++ - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-1/input.js:1:2] - 1 │ (a = 1) = t - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-2/input.js:1:3] - 1 │ [(a = 1)] = t - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-3/input.js:1:2] - 1 │ [({ a: [b = 2]})] = t - · ─────────────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-4/input.js:1:7] - 1 │ [{b: [([a = 1])]}] = t - · ───────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-5/input.js:1:2] - 1 │ [([x])] = t; - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-6/input.js:1:2] - 1 │ (a += 1) = t - · ────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-7/input.js:1:2] - 1 │ (a -= 1) = t - · ────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-assignment-pattern-8/input.js:1:2] - 1 │ (b = (a -= 1)) = t - · ──────────── - ╰──── - - × Invalid function declaration - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-fn-decl-inside-loop/input.js:1:11] - 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 - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-left-hand-side-in-postfix-operation/input.js:1:1] - 1 │ a++ = t - · ─── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/invalid-left-hand-side-in-prefix-operation/input.js:1:1] - 1 │ ++a = t - · ─── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/categorized/malformed-switch/input.js:2:3] - 1 │ switch (x) { - 2 │ var y = 5; - · ─── - 3 │ } - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern/input.js:1:1] - 1 │ ({x}) = {x: 1}; - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-2/input.js:1:7] - 1 │ [{b: [([a = 1])]}] = t - · ───────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-3/input.js:1:2] - 1 │ [({ a: [b = 2]})] = t - · ─────────────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-4/input.js:1:3] - 1 │ [(a = 1)] = t - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-5/input.js:1:2] - 1 │ (a = 1) = t - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-6/input.js:1:1] - 1 │ ([a]) = [] - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-parenthesized-left-hand-side/input.js:1:2] - 1 │ (!a) += 1 - · ── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/invalid-pattern-in-rest-binding/input.js:1:11] - 1 │ ([...(a)]) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/create-parenthesized-expressions/valid-parenthesized-assignment-array-pattern-3/input.js:1:2] - 1 │ [([x])] = t; - · ───── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-keyword/invalid/input.js:3:1] - 2 │ br\u{65}ak - 3 │ }; - · ─ - ╰──── - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:3: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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:4: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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:8: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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:9: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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive/input.js:11:1] - 10 │ - 11 │ "\04 foo \05 bar \06"; - · ───────────────────── - ╰──── - help: for octal literals use the '0o' prefix instead - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:2:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:7:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:8:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:14:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:19:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/invalid-decimal-escape-strict-directive-function/input.js:20:3] - 19 │ "\4"; - 20 │ "\5"; - · ──── - 21 │ } - ╰──── - help: for octal literals use the '0o' prefix instead - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/numeric-escape-in-directive/input.js:1:53] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-string/numeric-escape-in-property-name/input.js:1:37] - 1 │ function hello() { 'use strict'; ({ "\1": 42 }); } - · ──── - ╰──── - help: for octal literals use the '0o' prefix instead - - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-template/non-octal-eight/input.js:1:2] - 1 │ `\8`; - · ── - ╰──── - - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/core/escape-template/non-octal-nine/input.js:1:2] - 1 │ `\9`; - · ── - ╰──── - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict/input.js:1:15] - 1 │ "use strict"; 04; 05; - · ── - ╰──── - help: for octal literals use the '0o' prefix instead - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict/input.js:1:19] - 1 │ "use strict"; 04; 05; - · ── - ╰──── - help: for octal literals use the '0o' prefix instead - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict-function/input.js:3:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict-function/input.js:8:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/legacy-octal/legacy-octal-after-use-strict-function/input.js:9:3] - 8 │ 04; - 9 │ 05; - · ── - 10 │ } - ╰──── - help: for octal literals use the '0o' prefix instead - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-escape-get/input.js:1:4] - 1 │ ({ ge\u0074 x() {} }) - · ──────── - ╰──── - - × A 'get' accessor must not have any formal parameters. - ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-getter-param/input.js:1:12] - 1 │ ({ get prop(x) {} }) - · ─── - ╰──── - - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-setter-no-param/input.js:1:9] - 1 │ ({ set x(){} }) - · ── - ╰──── - - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/core/object/invalid-setter-two-params/input.js:1:12] - 1 │ ({ set prop(x, y) {} }) - · ────── - ╰──── - - × Expected `(` but found `await` - ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowAwaitOutsideFunction-false/input.js:1:5] - 1 │ for await (const i of imports) {} - · ──┬── - · ╰── `(` expected - ╰──── - - × Unexpected new.target expression - ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-false/input.js:1:11] - 1 │ const x = new.target; - · ────────── - ╰──── - help: new.target is only allowed in constructors and functions invoked using thew `new` operator - - × Unexpected new.target expression - ╭─[babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-false-2/input.js:1:17] - 1 │ const y = () => new.target; - · ────────── - ╰──── - help: new.target is only allowed in constructors and functions invoked using thew `new` operator - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/regression/13694-invalid-dot-bracketL-member/input.js:1:3] - 1 │ a.[b] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/regression/T2921/input.js:1:5] - 1 │ a <== b; - · ─ - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/regression/octal-float-fail/input.js:1:3] - 1 │ 07.5 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-lex/input.js:2:5] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-lex-nested/input.js:3:7] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-var/input.js:2:5] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-2nd-lvl-var-nested/input.js:3:7] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-arr-destr/input.js:2:11] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-dbl-let/input.js:1:5] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-let/input.js:2:10] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-obj-destr/input.js:2:15] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-var-arr-destr/input.js:2:11] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-var-obj-destr/input.js:2:12] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-class/input.js:1:7] - 1 │ class foo {}; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ class foo {}; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-const/input.js:1:7] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-func/input.js:1:7] - 1 │ class foo {}; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ function foo () {}; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-let/input.js:1:7] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-class-var/input.js:1:7] - 1 │ class foo {}; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ var foo; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-const-const/input.js:1:7] - 1 │ const foo=1, foo=2; - · ─┬─ ─┬─ - · │ ╰── It can not be redeclared here - · ╰── `foo` has already been declared here - ╰──── - - × Identifier `f` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-func-gen/input.js:1:12] - 1 │ { function f() {} function* f() {} } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `f` has already been declared here - ╰──── - - × Identifier `f` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-gen-func/input.js:1:13] - 1 │ { function* f() {} function f() {} } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `f` has already been declared here - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-let-let/input.js:1:5] - 1 │ let foo, foo; - · ─┬─ ─┬─ - · │ ╰── It can not be redeclared here - · ╰── `foo` has already been declared here - ╰──── - - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/dupl-bind-nested-let-var/input.js:2:7] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/for-var/input.js:1:10] - 1 │ for (let i = 0;;) { - · ┬ - · ╰── `i` has already been declared here - 2 │ var i; - · ┬ - · ╰── It can not be redeclared here - 3 │ } - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export/input.js:1:1] - 1 │ export { encrypt }; - · ────── - ╰──── - - × Export 'encrypt' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export/input.js:1:10] - 1 │ export { encrypt }; - · ─────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-as/input.js:1:1] - 1 │ export { encrypt as decrypt }; - · ────── - 2 │ function decrypt() {} - ╰──── - - × Export 'encrypt' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-as/input.js:1:10] - 1 │ export { encrypt as decrypt }; - · ─────── - 2 │ function decrypt() {} - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-as-default/input.js:1:1] - 1 │ export { encrypt as default }; - · ────── - ╰──── - - × Export 'encrypt' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-as-default/input.js:1:10] - 1 │ export { encrypt as default }; - · ─────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-block/input.js:4:1] - 3 │ } - 4 │ export { encrypt } - · ────── - ╰──── - - × Export 'encrypt' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-block/input.js:4:10] - 3 │ } - 4 │ export { encrypt } - · ─────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-builtin/input.js:1:1] - 1 │ export { Object }; - · ────── - ╰──── - - × Export 'Object' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-builtin/input.js:1:10] - 1 │ export { Object }; - · ────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-builtin-as/input.js:1:1] - 1 │ export { Object as Obj }; - · ────── - ╰──── - - × Export 'Object' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-builtin-as/input.js:1:10] - 1 │ export { Object as Obj }; - · ────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-if/input.js:1:1] - 1 │ export { encrypt }; - · ────── - 2 │ if (true) function encrypt() {} - ╰──── - - × Export 'encrypt' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-if/input.js:1:10] - 1 │ export { encrypt }; - · ─────── - 2 │ if (true) function encrypt() {} - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/108/input.js:1:17] - 1 │ var x = /[P QR]/\u0067 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/345/input.js:1:2] - 1 │ { - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/346/input.js:1:1] - 1 │ } - · ─ - ╰──── - - × Invalid Character `a` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/347/input.js:1:3] - 1 │ 3ea - · ▲ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/347/input.js:1:3] - 1 │ 3ea - · ─ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/348/input.js:1:2] - 1 │ 3in [] - · ── - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/349/input.js:1:3] - 1 │ 3e - ╰──── - - × Invalid Number invalid float - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/349/input.js:1:1] - 1 │ 3e - · ── - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/350/input.js:1:4] - 1 │ 3e+ - ╰──── - - × Invalid Number invalid float - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/350/input.js:1:1] - 1 │ 3e+ - · ─── - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/351/input.js:1:4] - 1 │ 3e- - ╰──── - - × Invalid Number invalid float - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/351/input.js:1:1] - 1 │ 3e- - · ─── - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/352/input.js:1:2] - 1 │ 3x - · ─ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/353/input.js:1:2] - 1 │ 3x0 - · ─ - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/354/input.js:1:3] - 1 │ 0x - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/357/input.js:1:3] - 1 │ 01a - · ─ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/358/input.js:1:2] - 1 │ 3in[] - · ── - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/359/input.js:1:4] - 1 │ 0x3in[] - · ── - ╰──── - - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/360/input.js:1:1] - 1 │ "Hello - · ─────── - 2 │ World" - ╰──── - - × Invalid Character `\` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/362/input.js:1:8] - 1 │ x\u005c - ╰──── - - × Invalid Character `*` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/363/input.js:1:8] - 1 │ x\u002a - ╰──── - - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/364/input.js:1:1] - 1 │ / - · ─ - ╰──── - - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/365/input.js:1:1] - 1 │ /test - · ───── - ╰──── - - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/366/input.js:1:17] - 1 │ var x = /[a-z]/\ux - · ─ - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/366/input.js:1:16] - 1 │ var x = /[a-z]/\ux - · ▲ - ╰──── - help: Try insert a semicolon here - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/367/input.js:1:1] - 1 │ 3 = 4 - · ─ - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/368/input.js:1:1] - 1 │ func() = 4 - · ────── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/369/input.js:1:2] - 1 │ (1 + 1) = 10 - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/370/input.js:1:1] - 1 │ 1++ - · ─ - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/371/input.js:1:1] - 1 │ 1-- - · ─ - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/372/input.js:1:3] - 1 │ ++1 - · ─ - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/373/input.js:1:3] - 1 │ --1 - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/374/input.js:1:5] - 1 │ for((1 + 1) in list) process(x); - · ─────── - ╰──── - - × Expected `]` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/375/input.js:1:2] - 1 │ [ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/376/input.js:1:3] - 1 │ [, - ╰──── - - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/377/input.js:1:6] - 1 │ 1 + { - ╰──── - - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/378/input.js:2:1] - 1 │ 1 + { t:t - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/379/input.js:1:11] - 1 │ 1 + { t:t, - ╰──── - - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/380/input.js:1:9] - 1 │ var x = / - · ── - 2 │ / - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/380/input.js:2:2] - 1 │ var x = / - 2 │ / - ╰──── - - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/381/input.js:1:9] - 1 │ var x = " - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/382/input.js:1:5] - 1 │ var if = 42 - · ── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/383/input.js:1:1] - 1 │ i + 2 = 42 - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/384/input.js:1:1] - 1 │ +i = 42 - · ── - ╰──── - - × Expected `)` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/385/input.js:1:6] - 1 │ 1 + ( - ╰──── - - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/386/input.js:4:2] - 3 │ - 4 │ { - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/387/input.js:4:1] - 3 │ comment */ - 4 │ ) - · ─ - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/388/input.js:1:6] - 1 │ { set 1 } - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/389/input.js:1:6] - 1 │ { get 2 } - · ▲ - ╰──── - help: Try insert a semicolon here - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/390/input.js:1:11] - 1 │ ({ set: s(if) { } }) - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/391/input.js:1:10] - 1 │ ({ set s(.) { } }) - · ─ - ╰──── - - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/392/input.js:1:13] - 1 │ ({ set: s() { } }) - · ┬ - · ╰── `,` expected - ╰──── - - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/393/input.js:1:17] - 1 │ ({ set: s(a, b) { } }) - · ┬ - · ╰── `,` expected - ╰──── - - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/394/input.js:1:14] - 1 │ ({ get: g(d) { } }) - · ┬ - · ╰── `,` expected - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/395/input.js:1:15] - 1 │ function t(...) { } - · ─ - ╰──── - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/396/input.js:1:12] - 1 │ function t(...rest, b) { } - · ─────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/397/input.js:1:12] - 1 │ function t(if) { } - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/398/input.js:1:12] - 1 │ function t(true) { } - · ──── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/399/input.js:1:12] - 1 │ function t(false) { } - · ───── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/400/input.js:1:12] - 1 │ function t(null) { } - · ──── - ╰──── - - × Expected `Identifier` but found `null` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/401/input.js:1:10] - 1 │ function null() { } - · ──┬─ - · ╰── `Identifier` expected - ╰──── - - × Expected `Identifier` but found `true` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/402/input.js:1:10] - 1 │ function true() { } - · ──┬─ - · ╰── `Identifier` expected - ╰──── - - × Expected `Identifier` but found `false` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/403/input.js:1:10] - 1 │ function false() { } - · ──┬── - · ╰── `Identifier` expected - ╰──── - - × Expected `Identifier` but found `if` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/404/input.js:1:10] - 1 │ function if() { } - · ─┬ - · ╰── `Identifier` expected - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/405/input.js:1:2] - 1 │ a b; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected `(` but found `.` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/406/input.js:1:3] - 1 │ if.a; - · ┬ - · ╰── `(` expected - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/407/input.js:1:2] - 1 │ a if; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/408/input.js:1:2] - 1 │ a class; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Illegal break statement - ╭─[babel/packages/babel-parser/test/fixtures/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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/410/input.js:1:7] - 1 │ break 1; - · ─ - ╰──── - - × Illegal continue statement: no surrounding iteration statement - ╭─[babel/packages/babel-parser/test/fixtures/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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/412/input.js:1:10] - 1 │ continue 2; - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/413/input.js:1:6] - 1 │ throw - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/414/input.js:1:6] - 1 │ throw; - · ─ - ╰──── - - × Only a single declaration is allowed in a `for...in` statement - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/415/input.js:1:6] - 1 │ for (var i, i2 in {}); - · ───────── - ╰──── - - × Expected `;` but found `)` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/416/input.js:1:15] - 1 │ for ((i in {})); - · ┬ - · ╰── `;` expected - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/417/input.js:1:6] - 1 │ for (i + 1 in {}); - · ───── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/418/input.js:1:6] - 1 │ for (+i in {}); - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/419/input.js:1:10] - 1 │ if(false) - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/420/input.js:1:25] - 1 │ if(false) doThis(); else - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/421/input.js:1:3] - 1 │ do - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/422/input.js:1:13] - 1 │ while(false) - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/423/input.js:1:8] - 1 │ for(;;) - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/424/input.js:1:8] - 1 │ with(x) - ╰──── - - × Missing catch or finally clause - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/425/input.js:1:8] - 1 │ try { } - ╰──── - - × Invalid Character `‿` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/426/input.js:1:1] - 1 │ ‿ = 10 - · ─ - ╰──── - - × Identifier `default` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/427/input.js:1:14] - 1 │ switch (c) { default: default: } - · ────┬─── ────┬─── - · │ ╰── It can not be redeclared here - · ╰── `default` has already been declared here - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/428/input.js:1:9] - 1 │ new X()."s" - · ─── - ╰──── - - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/429/input.js:1:1] - 1 │ /* - · ── - ╰──── - - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/430/input.js:1:1] - 1 │ ╭─▶ /* - 2 │ │ - 3 │ ╰─▶ - ╰──── - - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/431/input.js:1:1] - 1 │ /** - · ─── - ╰──── - - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/432/input.js:1:1] - 1 │ ╭─▶ /* - 2 │ │ - 3 │ ╰─▶ * - ╰──── - - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/433/input.js:1:1] - 1 │ /*hello - · ─────── - ╰──── - - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/434/input.js:1:1] - 1 │ /*hello * - · ────────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/435/input.js:2:1] - 1 │ - 2 │ ] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/436/input.js:2:1] - 1 │ ] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/437/input.js:2:1] - 1 │ - 2 │ ] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/438/input.js:3:1] - 2 │ ] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/439/input.js:2:1] - 1 │ // - 2 │ ] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/440/input.js:3:1] - 2 │ ] - · ─ - ╰──── - - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/441/input.js:1:1] - 1 │ /a\ - · ──── - 2 │ / - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/441/input.js:2:2] - 1 │ /a\ - 2 │ / - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/442/input.js:3:1] - 2 │ - 3 │ ] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/443/input.js:2:3] - 1 │ /* - 2 │ */] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/444/input.js:3:3] - 2 │ */] - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/445/input.js:3:3] - 2 │ - 3 │ */] - · ─ - ╰──── - - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/446/input.js:1:2] - 1 │ \\ - · ─ - ╰──── - - × Invalid Character `\` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/447/input.js:1:7] - 1 │ \u005c - ╰──── - - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/448/input.js:1:2] - 1 │ \x - · ─ - ╰──── - - × Invalid Character `` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/449/input.js:1:7] - 1 │ \u0000 - ╰──── - - × Invalid Character `‌` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/450/input.js:1:1] - 1 │ ‌ = [] - · ─ - ╰──── - - × Invalid Character `‍` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/451/input.js:1:1] - 1 │ ‍ = [] - · ─ - ╰──── - - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/452/input.js:1:1] - 1 │ "\ - · ── - ╰──── - - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/452/input.js:1:1] - 1 │ "\ - · ── - ╰──── - - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/453/input.js:1:2] - 1 │ "\u - · ── - ╰──── - - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/453/input.js:1:1] - 1 │ "\u - · ─── - ╰──── - - × TS(1108): A 'return' statement can only be used within a function body. - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/454/input.js:1:1] - 1 │ return - · ────── - ╰──── - - × Illegal break statement - ╭─[babel/packages/babel-parser/test/fixtures/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 - ╭─[babel/packages/babel-parser/test/fixtures/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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/457/input.js:1:23] - 1 │ switch (x) { default: continue; } - · ───────── - ╰──── - help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - - × Expected `while` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/458/input.js:1:10] - 1 │ do { x } * - · ┬ - · ╰── `while` expected - ╰──── - - × Use of undefined label - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/459/input.js:1:22] - 1 │ while (true) { break x; } - · ─ - ╰──── - - × Use of undefined label - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/460/input.js:1:25] - 1 │ while (true) { continue x; } - · ─ - ╰──── - - × Jump target cannot cross function boundary. - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/461/input.js:1:40] - 1 │ x: while (true) { (function () { break x; }); } - · ─ - ╰──── - - × Jump target cannot cross function boundary. - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/462/input.js:1:43] - 1 │ x: while (true) { (function () { continue x; }); } - · ─ - ╰──── - - × Illegal break statement - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/463/input.js:1:34] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/464/input.js:1:34] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/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. - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/466/input.js:1:37] - 1 │ (function () { 'use strict'; delete i; }()) - · ─ - ╰──── - - × 'with' statements are not allowed - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/467/input.js:1:30] - 1 │ (function () { 'use strict'; with (i); }()) - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/468/input.js:1:37] - 1 │ function hello() {'use strict'; var eval = 10; } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/469/input.js:1:37] - 1 │ function hello() {'use strict'; var arguments = 10; } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/470/input.js:1:48] - 1 │ function hello() {'use strict'; try { } catch (eval) { } } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/471/input.js:1:48] - 1 │ function hello() {'use strict'; try { } catch (arguments) { } } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/472/input.js:1:33] - 1 │ function hello() {'use strict'; eval = 10; } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/473/input.js:1:33] - 1 │ function hello() {'use strict'; arguments = 10; } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/474/input.js:1:35] - 1 │ function hello() {'use strict'; ++eval; } - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/475/input.js:1:35] - 1 │ function hello() {'use strict'; --eval; } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/476/input.js:1:35] - 1 │ function hello() {'use strict'; ++arguments; } - · ───────── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/477/input.js:1:35] - 1 │ function hello() {'use strict'; --arguments; } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/478/input.js:1:33] - 1 │ function hello() {'use strict'; eval++; } - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/479/input.js:1:33] - 1 │ function hello() {'use strict'; eval--; } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/480/input.js:1:33] - 1 │ function hello() {'use strict'; arguments++; } - · ───────── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/481/input.js:1:33] - 1 │ function hello() {'use strict'; arguments--; } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/482/input.js:1:42] - 1 │ function hello() {'use strict'; function eval() { } } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/483/input.js:1:42] - 1 │ function hello() {'use strict'; function arguments() { } } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/484/input.js:1:10] - 1 │ function eval() {'use strict'; } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/485/input.js:1:10] - 1 │ function arguments() {'use strict'; } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/486/input.js:1:43] - 1 │ function hello() {'use strict'; (function eval() { }()) } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/487/input.js:1:43] - 1 │ function hello() {'use strict'; (function arguments() { }()) } - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/488/input.js:1:11] - 1 │ (function eval() {'use strict'; })() - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/489/input.js:1:11] - 1 │ (function arguments() {'use strict'; })() - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/490/input.js:1:48] - 1 │ function hello() {'use strict'; ({ s: function eval() { } }); } - · ──── - ╰──── - - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/491/input.js:1:11] - 1 │ (function package() {'use strict'; })() - · ─────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/492/input.js:1:49] - 1 │ function hello() {'use strict'; ({ i: 10, set s(eval) { } }); } - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/493/input.js:1:42] - 1 │ function hello() {'use strict'; ({ set s(eval) { } }); } - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/494/input.js:1:50] - 1 │ function hello() {'use strict'; ({ s: function s(eval) { } }); } - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/495/input.js:1:16] - 1 │ function hello(eval) {'use strict';} - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/496/input.js:1:16] - 1 │ function hello(arguments) {'use strict';} - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/497/input.js:1:49] - 1 │ function hello() { 'use strict'; function inner(eval) {} } - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/498/input.js:1:49] - 1 │ function hello() { 'use strict'; function inner(arguments) {} } - · ───────── - ╰──── - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/500/input.js:1:34] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/502/input.js:1:37] - 1 │ function hello() { 'use strict'; ({ 021: 42 }); } - · ─── - ╰──── - help: for octal literals use the '0o' prefix instead - - × The keyword 'implements' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/504/input.js:1:38] - 1 │ function hello() { "use strict"; var implements; } - · ────────── - ╰──── - - × The keyword 'interface' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/505/input.js:1:38] - 1 │ function hello() { "use strict"; var interface; } - · ───────── - ╰──── - - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/506/input.js:1:38] - 1 │ function hello() { "use strict"; var package; } - · ─────── - ╰──── - - × The keyword 'private' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/507/input.js:1:38] - 1 │ function hello() { "use strict"; var private; } - · ─────── - ╰──── - - × The keyword 'protected' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/508/input.js:1:38] - 1 │ function hello() { "use strict"; var protected; } - · ───────── - ╰──── - - × The keyword 'public' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/509/input.js:1:38] - 1 │ function hello() { "use strict"; var public; } - · ────── - ╰──── - - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/510/input.js:1:38] - 1 │ function hello() { "use strict"; var static; } - · ────── - ╰──── - - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/511/input.js:1:16] - 1 │ function hello(static) { "use strict"; } - · ────── - ╰──── - - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/512/input.js:1:10] - 1 │ function static() { "use strict"; } - · ────── - ╰──── - - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/513/input.js:1:24] - 1 │ "use strict"; function static() { } - · ────── - ╰──── - - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/514/input.js:1:12] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/515/input.js:1:12] - 1 │ function a(eval) { "use strict"; } - · ──── - ╰──── - - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/516/input.js:1:12] - 1 │ function a(package) { "use strict"; } - · ─────── - ╰──── - - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/517/input.js:1:41] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/518/input.js:1:13] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/519/input.js:1:42] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/520/input.js:1:13] - 1 │ (function a(eval) { "use strict"; }) - · ──── - ╰──── - - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/521/input.js:1:13] - 1 │ (function a(package) { "use strict"; }) - · ─────── - ╰──── - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/522/input.js:1:66] - 1 │ "use strict";function foo(){"use strict";}function bar(){var v = 015} - · ─── - ╰──── - help: for octal literals use the '0o' prefix instead - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/523/input.js:1:5] - 1 │ var this = 10; - · ──── - ╰──── - - × Illegal newline after throw - ╭─[babel/packages/babel-parser/test/fixtures/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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/536/input.js:1:7] - 1 │ const a; - · ─ - ╰──── - - × The keyword 'public' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/544/input.js:2:9] - 1 │ "use strict"; - 2 │ const { public } = foo(); - · ────── - ╰──── - - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/550/input.js:2:11] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/552/input.js:2:11] - 1 │ 'use strict'; - 2 │ const a = 08; - · ── - ╰──── - help: remove the leading zero - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/554/input.js:1:14] - 1 │ var a = 0123.; - · ─ - ╰──── - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/core/uncategorised/555/input.js:3:5] - 2 │ first, - 3 │ ...second, - · ───────── - 4 │ third, - ╰──── - - × Unexpected trailing comma after rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-rest/input.js:1:6] - 1 │ [...a,] = []; - · ─ - ╰──── - - × Unexpected trailing comma after rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-spread-for-in/input.js:1:11] - 1 │ for ([...a,] in []); - · ─ - ╰──── - - × Unexpected trailing comma after rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/comma-after-spread-nested/input.js:1:7] - 1 │ [[...a,]] = []; - · ─ - ╰──── - - × Spread must be last element - ╭─[babel/packages/babel-parser/test/fixtures/es2015/array-rest-spread/invalid-location/input.js:1:2] - 1 │ [...a, b] = c - · ──── - ╰──── - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/comma-after-rest-param/input.js:1:2] - 1 │ (...rest,) => {} - · ─────── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens/input.js:1:18] - 1 │ var foo = ((foo)) => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-2/input.js:1:9] - 1 │ (a, (b)) => 42 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-array-pattern/input.js:1:8] - 1 │ ([(a)]) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-array-pattern-2/input.js:1:22] - 1 │ ([ [(a)] = [] ] = []) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-array-pattern-3/input.js:1:19] - 1 │ ([(a) = [] ] = []) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-object-pattern/input.js:1:20] - 1 │ ({ a: (foo) } = {}) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/inner-parens-object-pattern-member/input.js:1:24] - 1 │ ({ a: (foo.qux) } = {}) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/invalid-arrow-before-in/input.js:1:9] - 1 │ () => {} in x - · ▲ - ╰──── - help: Try insert a semicolon here - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/invalid-rest-in-params/input.js:3:5] - 2 │ first, - 3 │ ...second, - · ───────── - 4 │ third - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-binary-left/input.js:1:9] - 1 │ () => {} || true - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-callee/input.js:1:9] - 1 │ () => {}() - · ▲ - ╰──── - help: Try insert a semicolon here - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-for-in-init-concise-binary-in/input.js:1:6] - 1 │ for (() => x in y;;); - · ─────── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/arrow-functions/no-ternary-test/input.js:1:9] - 1 │ () => {} ? 1 : 2; - · ▲ - ╰──── - help: Try insert a semicolon here - - × 'with' statements are not allowed - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/extends-strict/input.js:2:3] - 1 │ class C extends (function B() { - 2 │ with ({}); - · ──── - 3 │ return B; - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/invalid-escape-get/input.js:1:11] - 1 │ class X { ge\u0074 x() {} } - · ──────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/invalid-escape-set/input.js:1:11] - 1 │ class X { se\u0074 x(value) {} } - · ──────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class/invalid-escape-static/input.js:1:11] - 1 │ class X { st\u0061tic y() {} } - · ─────────── - ╰──── - - × Super calls are not permitted outside constructors or in nested functions inside constructors. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/direct-super-outside-constructor/input.js:2:9] - 1 │ class A { - 2 │ x () {super()} - · ─────── - 3 │ } - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-async-identifier/input.js:2:10] - 1 │ class A { - 2 │ [async] a() {} - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-async-string/input.js:2:12] - 1 │ class A { - 2 │ ["async"] a() {} - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-get-identifier/input.js:2:8] - 1 │ class A { - 2 │ [get] a() {} - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-computed-get-string/input.js:2:10] - 1 │ class A { - 2 │ ["get"] a() {} - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-duplicate-method-params/input.js:2:9] - 1 │ class Foo { - 2 │ bar(a, a) {} - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here - 3 │ } - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-literal-async/input.js:2:10] - 1 │ class A { - 2 │ "async" a() {} - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-literal-get/input.js:2:8] - 1 │ class A { - 2 │ "get" a() {} - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Classes may not have a static property named prototype - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-generator-prototype/input.js:2:11] - 1 │ class A { - 2 │ static *prototype() {} - · ───────── - 3 │ } - ╰──── - - × Classes may not have a static property named prototype - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/disallow-static-prototype/input.js:2:10] - 1 │ class A { - 2 │ static prototype() {} - · ───────── - 3 │ } - ╰──── - - × A 'get' accessor must not have any formal parameters. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/getter-signature/input.js:2:12] - 1 │ class A { - 2 │ get prop (arg) {} - · ───── - 3 │ } - ╰──── - - × 'super' can only be used with function calls or in property accesses - ╭─[babel/packages/babel-parser/test/fixtures/es2015/class-methods/malformed-super-expression/input.js:3:5] - 2 │ x () { - 3 │ super - 1; - · ───── - 4 │ } - ╰──── - help: replace with `super()` or `super.prop` or `super[prop]` - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-arguments-strict/input.js:2:9] - 1 │ "use strict"; - 2 │ const { arguments } = foo(); - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-eval/input.js:1:17] - 1 │ 'use strict'; ({eval = defValue} = obj) - · ──── - ╰──── - - × Expected `:` but found `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/binding-this/input.js:1:12] - 1 │ var { this } = {}; - · ┬ - · ╰── `:` expected - ╰──── - - × Expected `,` but found `(` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/invalid-object-method/input.js:1:12] - 1 │ const { foo() {} } = foo(); - · ┬ - · ╰── `,` expected - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-array/input.js:1:1] - 1 │ ([a]) = 2; - · ───── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/destructuring/parenthesized-lhs-object/input.js:1:1] - 1 │ ({a}) = 2; - · ───── - ╰──── - - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/duplicate-proto/in-new-expression/input.js:1:6] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/duplicate-proto/with-assignment-expression/input.js:2:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/duplicate-proto/without-assignment-expression/input.js:2:3] - 1 │ ({ - 2 │ __proto__: a, - · ────┬──── - · ╰── `__proto__` has already been declared here - 3 │ __proto__: a, - · ────┬──── - · ╰── It can not be redeclared here - 4 │ }) - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/bare-initializer/input.js:2:6] - 1 │ var a; - 2 │ for (a = 0 in {}); - · ───── - ╰──── - - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/const-initializer/input.js:1:6] - 1 │ for (const a = 0 in {}); - · ─────────── - ╰──── - - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/let-initializer/input.js:1:6] - 1 │ for (let a = 0 in {}); - · ───────── - ╰──── - - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/strict-initializer/input.js:2:6] - 1 │ 'use strict'; - 2 │ for (var a = 0 in {}); - · ───────── - ╰──── - - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/var-arraybindingpattern-initializer/input.js:1:6] - 1 │ for (var [a] = 0 in {}); - · ─────────── - ╰──── - - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-in/var-objectbindingpattern-initializer/input.js:1:6] - 1 │ for (var {a} = 0 in {}); - · ─────────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-of/bare-initializer/input.js:2:6] - 1 │ var a; - 2 │ for (a = 0 of {}); - · ───── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-of/invalid-escape-of/input.js:1:8] - 1 │ for (x \u006ff y) {} - · ─────── - ╰──── - - × Expected `)` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/for-of/invalid-expr/input.js:1:16] - 1 │ for (let x of y, z) {} - · ┬ - · ╰── `)` expected - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-escape-yield/input.js:1:17] - 1 │ (function* () { y\u0069eld; }) - · ────────── - ╰──── - - × Generators can only be declared at the top level or inside a block - ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-hanging/input.js:1:8] - 1 │ if (1) function *foo() {} - · ─────────────── - ╰──── - - × Generators can only be declared at the top level or inside a block - ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-sloppy-function/input.js:1:11] - 1 │ while (1) function *foo() {} - · ─────────────── - ╰──── - - × Invalid function declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/generators/invalid-sloppy-function/input.js:1:11] - 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 - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-const/input.js:1:5] - 1 │ var co\u{6e}st = 123; - · ────────── - 2 │ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-export/input.js:1:5] - 1 │ var expor\u{74} = 123; - · ─────────── - 2 │ - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-if/input.js:1:1] - 1 │ \u0069\u{66} (true) {} - · ──────────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-import/input.js:1:5] - 1 │ var \u{69}\u{6d}\u{70}\u{6f}\u{72}\u{74} = 123; - · ──────────────────────────────────── - 2 │ - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-null/input.js:1:1] - 1 │ nul\u{6c} - · ───────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/identifiers/invalid-escape-seq-true/input.js:1:1] - 1 │ \u0074rue - · ───────── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/invalid-escape/input.js:1:9] - 1 │ le\u0074 x = 5 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Lexical declaration cannot appear in a single-statement context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-array-with-newline/input.js:1:4] - 1 │ ╭─▶ do let - 2 │ ╰─▶ [x] = 0 - 3 │ while (false); - ╰──── - help: Wrap this declaration in a block statement - - × The keyword 'let' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-as-identifier-strict-fail/input.js:2:1] - 1 │ "use strict"; - 2 │ let + 1 - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-1/input.js:1:7] - 1 │ let { let } = {}; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `const` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-10/input.js:1:8] - 1 │ const [let = 10] = []; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-11/input.js:1:9] - 1 │ let [...let] = []; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `const` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-12/input.js:1:11] - 1 │ const [...let] = []; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `const` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-2/input.js:1:9] - 1 │ const { let } = {}; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-3/input.js:1:6] - 1 │ let [let] = []; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `const` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-4/input.js:1:8] - 1 │ const [let] = []; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-5/input.js:1:5] - 1 │ let let - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `const` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-6/input.js:1:7] - 1 │ const let = '' - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-7/input.js:1:7] - 1 │ let { let = 10 } = {}; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `const` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-8/input.js:1:9] - 1 │ const { let = 10 } = {}; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-9/input.js:1:6] - 1 │ let [let = 10] = []; - · ─── - ╰──── - - × `let` cannot be declared as a variable name inside of a `let` declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/let/let-at-catch-block/input.js:2:7] - 1 │ try {} catch (err) { - 2 │ let let; - · ─── - 3 │ } - ╰──── - - × Unexpected new.target expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/invalid-arrow-function/input.js:2:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-invalid-prop/input.js:2:3] - 1 │ function f() { - 2 │ new.prop - · ──────── - 3 │ } - ╰──── - - × Unexpected new.target expression - ╭─[babel/packages/babel-parser/test/fixtures/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 - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-target-invalid-escaped-new/input.js:1:16] - 1 │ function f() { n\u0065w.target; } - · ──────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/meta-properties/new-target-invalid-escaped-target/input.js:1:20] - 1 │ function f() { new.ta\u0072get; } - · ─────────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default/input.js:1:1] - 1 │ export default {}; - · ────── - 2 │ export default function() {}; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default/input.js:2:1] - 1 │ export default {}; - 2 │ export default function() {}; - · ────── - ╰──── - - × Duplicated export 'default' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default/input.js:1:8] - 1 │ export default {}; - · ───┬─── - · ╰── Export has already been declared here - 2 │ export default function() {}; - · ───┬─── - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default-and-export-as-default/input.js:1:1] - 1 │ export default function() {}; - · ────── - 2 │ export { foo as default }; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default-and-export-as-default/input.js:2:1] - 1 │ export default function() {}; - 2 │ export { foo as default }; - · ────── - ╰──── - - × Export 'foo' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default-and-export-as-default/input.js:2:10] - 1 │ export default function() {}; - 2 │ export { foo as default }; - · ─── - ╰──── - - × Duplicated export 'default' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-export-default-and-export-as-default/input.js:1:8] - 1 │ export default function() {}; - · ───┬─── - · ╰── Export has already been declared here - 2 │ export { foo as default }; - · ───┬─── - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:1:1] - 1 │ export { foo }; - · ────── - 2 │ export { bar as foo }; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:2:1] - 1 │ export { foo }; - 2 │ export { bar as foo }; - · ────── - ╰──── - - × Export 'foo' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:1:10] - 1 │ export { foo }; - · ─── - 2 │ export { bar as foo }; - ╰──── - - × Export 'bar' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:2:10] - 1 │ export { foo }; - 2 │ export { bar as foo }; - · ─── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export/input.js:1:10] - 1 │ export { foo }; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export { bar as foo }; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/input.js:1:1] - 1 │ export { Foo }; - · ────── - 2 │ export class Foo {}; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/input.js:2:1] - 1 │ export { Foo }; - 2 │ export class Foo {}; - · ────── - ╰──── - - × Duplicated export 'Foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-class-declaration/input.js:1:10] - 1 │ export { Foo }; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export class Foo {}; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring-assignment/input.js:1:1] - 1 │ export { foo }; - · ────── - 2 │ export const { foo = 1 } = bar; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring-assignment/input.js:2:1] - 1 │ export { foo }; - 2 │ export const { foo = 1 } = bar; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring-assignment/input.js:1:10] - 1 │ export { foo }; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { foo = 1 } = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/input.js:1:1] - 1 │ export function foo() {}; - · ────── - 2 │ export const { a: [{foo}] } = bar; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/input.js:1:17] - 1 │ export function foo() {}; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const { a: [{foo}] } = bar; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/input.js:2:1] - 1 │ export function foo() {}; - 2 │ export const { a: [{foo}] } = bar; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring10/input.js:1:17] - 1 │ export function foo() {}; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { a: [{foo}] } = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/input.js:1:1] - 1 │ export function foo4() {}; - · ────── - 2 │ export const [{ a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } }] = bar; - ╰──── - - × Identifier `foo4` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/input.js:1:17] - 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 - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/input.js:2:1] - 1 │ export function foo4() {}; - 2 │ export const [{ a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } }] = bar; - · ────── - ╰──── - - × Duplicated export 'foo4' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring11/input.js:1:17] - 1 │ export function foo4() {}; - · ──┬─ - · ╰── Export has already been declared here - 2 │ export const [{ a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } }] = bar; - · ──┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/input.js:1:1] - 1 │ export function foo4() {}; - · ────── - 2 │ export const { a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } } = bar; - ╰──── - - × Identifier `foo4` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/input.js:1:17] - 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 - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/input.js:2:1] - 1 │ export function foo4() {}; - 2 │ export const { a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } } = bar; - · ────── - ╰──── - - × Duplicated export 'foo4' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring12/input.js:1:17] - 1 │ export function foo4() {}; - · ──┬─ - · ╰── Export has already been declared here - 2 │ export const { a: [{ foo }], b: { foo2: [{ foo3: foo4 }] } } = bar; - · ──┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/input.js:1:1] - 1 │ export function foo4() {}; - · ────── - 2 │ export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar; - ╰──── - - × Identifier `foo4` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/input.js:1:17] - 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 - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/input.js:2:1] - 1 │ export function foo4() {}; - 2 │ export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar; - · ────── - ╰──── - - × Duplicated export 'foo4' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring13/input.js:1:17] - 1 │ export function foo4() {}; - · ──┬─ - · ╰── Export has already been declared here - 2 │ export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar; - · ──┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const { foo2: foo } = bar; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const { foo2: foo } = bar; - · ─┬─ - · ╰── It can not be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const { foo2: foo } = bar; - · ────── - 3 │ - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring14/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { foo2: foo } = bar; - · ─┬─ - · ╰── It cannot be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/input.js:1:1] - 1 │ export const { foo: foo2 } = bar; - · ────── - 2 │ export const foo2 = 1; - ╰──── - - × Identifier `foo2` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/input.js:1:21] - 1 │ export const { foo: foo2 } = bar; - · ──┬─ - · ╰── `foo2` has already been declared here - 2 │ export const foo2 = 1; - · ──┬─ - · ╰── It can not be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/input.js:2:1] - 1 │ export const { foo: foo2 } = bar; - 2 │ export const foo2 = 1; - · ────── - 3 │ - ╰──── - - × Duplicated export 'foo2' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring15/input.js:1:21] - 1 │ export const { foo: foo2 } = bar; - · ──┬─ - · ╰── Export has already been declared here - 2 │ export const foo2 = 1; - · ──┬─ - · ╰── It cannot be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const [bar, ...foo] = baz; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const [bar, ...foo] = baz; - · ─┬─ - · ╰── It can not be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const [bar, ...foo] = baz; - · ────── - 3 │ - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring16/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const [bar, ...foo] = baz; - · ─┬─ - · ╰── It cannot be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/input.js:1:1] - 1 │ export const [foo, ...bar] = baz; - · ────── - 2 │ export const bar = 1; - ╰──── - - × Identifier `bar` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/input.js:1:23] - 1 │ export const [foo, ...bar] = baz; - · ─┬─ - · ╰── `bar` has already been declared here - 2 │ export const bar = 1; - · ─┬─ - · ╰── It can not be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/input.js:2:1] - 1 │ export const [foo, ...bar] = baz; - 2 │ export const bar = 1; - · ────── - 3 │ - ╰──── - - × Duplicated export 'bar' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring17/input.js:1:23] - 1 │ export const [foo, ...bar] = baz; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const bar = 1; - · ─┬─ - · ╰── It cannot be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const [bar, [baz, ...foo]] = qux; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/input.js:1:14] - 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 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const [bar, [baz, ...foo]] = qux; - · ────── - 3 │ - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring18/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const [bar, [baz, ...foo]] = qux; - · ─┬─ - · ╰── It cannot be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const { bar: [baz, ...foo] } = qux; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/input.js:1:14] - 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 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const { bar: [baz, ...foo] } = qux; - · ────── - 3 │ - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring19/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { bar: [baz, ...foo] } = qux; - · ─┬─ - · ╰── It cannot be redeclared here - 3 │ - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/input.js:1:1] - 1 │ export function foo() {}; - · ────── - 2 │ export const { foo } = bar; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/input.js:1:17] - 1 │ export function foo() {}; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const { foo } = bar; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/input.js:2:1] - 1 │ export function foo() {}; - 2 │ export const { foo } = bar; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring2/input.js:1:17] - 1 │ export function foo() {}; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { foo } = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/input.js:1:1] - 1 │ export const { foo } = bar; - · ────── - 2 │ export function foo() {}; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/input.js:1:16] - 1 │ export const { foo } = bar; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export function foo() {}; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/input.js:2:1] - 1 │ export const { foo } = bar; - 2 │ export function foo() {}; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring3/input.js:1:16] - 1 │ export const { foo } = bar; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export function foo() {}; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/input.js:1:1] - 1 │ export function foo() {}; - · ────── - 2 │ export const [foo] = bar; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/input.js:1:17] - 1 │ export function foo() {}; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const [foo] = bar; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/input.js:2:1] - 1 │ export function foo() {}; - 2 │ export const [foo] = bar; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring4/input.js:1:17] - 1 │ export function foo() {}; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const [foo] = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/input.js:1:1] - 1 │ export const [foo] = bar; - · ────── - 2 │ export function foo() {}; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/input.js:1:15] - 1 │ export const [foo] = bar; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export function foo() {}; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/input.js:2:1] - 1 │ export const [foo] = bar; - 2 │ export function foo() {}; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring5/input.js:1:15] - 1 │ export const [foo] = bar; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export function foo() {}; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/input.js:1:1] - 1 │ export const { foo } = bar; - · ────── - 2 │ export const [foo] = bar2; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/input.js:1:16] - 1 │ export const { foo } = bar; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const [foo] = bar2; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/input.js:2:1] - 1 │ export const { foo } = bar; - 2 │ export const [foo] = bar2; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring6/input.js:1:16] - 1 │ export const { foo } = bar; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const [foo] = bar2; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/input.js:1:1] - 1 │ export const [foo] = bar; - · ────── - 2 │ export const { foo } = bar2; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/input.js:1:15] - 1 │ export const [foo] = bar; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const { foo } = bar2; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/input.js:2:1] - 1 │ export const [foo] = bar; - 2 │ export const { foo } = bar2; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring7/input.js:1:15] - 1 │ export const [foo] = bar; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { foo } = bar2; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/input.js:1:1] - 1 │ export class Foo {}; - · ────── - 2 │ export const { Foo } = bar; - ╰──── - - × Identifier `Foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/input.js:1:14] - 1 │ export class Foo {}; - · ─┬─ - · ╰── `Foo` has already been declared here - 2 │ export const { Foo } = bar; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/input.js:2:1] - 1 │ export class Foo {}; - 2 │ export const { Foo } = bar; - · ────── - ╰──── - - × Duplicated export 'Foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/input.js:1:14] - 1 │ export class Foo {}; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { Foo } = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/input.js:1:1] - 1 │ export class Foo {}; - · ────── - 2 │ export const [Foo] = bar; - ╰──── - - × Identifier `Foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/input.js:1:14] - 1 │ export class Foo {}; - · ─┬─ - · ╰── `Foo` has already been declared here - 2 │ export const [Foo] = bar; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/input.js:2:1] - 1 │ export class Foo {}; - 2 │ export const [Foo] = bar; - · ────── - ╰──── - - × Duplicated export 'Foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/input.js:1:14] - 1 │ export class Foo {}; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const [Foo] = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/input.js:1:1] - 1 │ export { foo }; - · ────── - 2 │ export function foo() {}; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/input.js:2:1] - 1 │ export { foo }; - 2 │ export function foo() {}; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/input.js:1:10] - 1 │ export { foo }; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export function foo() {}; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/input.js:1:1] - 1 │ export { foo }; - · ────── - 2 │ export const foo = bar; - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/input.js:2:1] - 1 │ export { foo }; - 2 │ export const foo = bar; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/input.js:1:10] - 1 │ export { foo }; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const foo = bar; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration/input.js:1:16] - 1 │ export default const Foo = () => { - · ───── - 2 │ return `
Hola
`; - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration2/input.js:1:19] - 1 │ export default let Foo = () => { - · ▲ - 2 │ return `
Hola
`; - ╰──── - help: Try insert a semicolon here - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration3/input.js:1:16] - 1 │ export default var Foo = () => { - · ─── - 2 │ return `
Hola
`; - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-invalid-keyword/input.js:1:10] - 1 │ import { debugger } from "foo"; - · ──────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-invalid-keyword-flow/input.js:1:10] - 1 │ import { default } from "foo"; - · ─────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-invalid-keyword-typeof/input.js:1:10] - 1 │ import { typeof } from "foo"; - · ────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-invalid-keyword-typeof-flow/input.js:1:10] - 1 │ import { typeof } from "foo"; - · ────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-export-as/input.js:1:12] - 1 │ export { X \u0061s Y } - · ─────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-export-as/input.js:1:1] - 1 │ export { X \u0061s Y } - · ────── - ╰──── - - × Export 'X' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-export-as/input.js:1:10] - 1 │ export { X \u0061s Y } - · ─ - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-import-from/input.js:1:10] - 1 │ import X fro\u006d 'x' - · ───────── - ╰──── - - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-import-from/input.js:1:1] - 1 │ import X fro\u006d 'x' - · ────── - ╰──── - - × Expected `,` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/async-method-linebreak/input.js:3:5] - 2 │ async - 3 │ foo() {} - · ─┬─ - · ╰── `,` expected - 4 │ }) - ╰──── - - × Expected `,` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-accessor-generator/input.js:2:9] - 1 │ ({ - 2 │ get *iterator() { }, - · ┬ - · ╰── `,` expected - 3 │ set *iterator(iter) { } - ╰──── - - × Invalid assignment in object literal - ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer/input.js:2:3] - 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. - - × Invalid assignment in object literal - ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-1/input.js:3:3] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-in-call/input.js:1:4] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-in-rhs/input.js:1:8] - 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. - - × Flag i is mentioned twice in regular expression literal - ╭─[babel/packages/babel-parser/test/fixtures/es2015/regex/duplicate-flags/input.js:1:7] - 1 │ /./gii; - · ▲ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word/input.js:1:17] - 1 │ var x = ({ const, if, this }); - · ─ - ╰──── - - × The keyword 'implements' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word-strict/input.js:2:12] - 1 │ "use strict"; - 2 │ var x = ({ implements, interface, package }); - · ────────── - ╰──── - - × The keyword 'interface' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word-strict/input.js:2:24] - 1 │ "use strict"; - 2 │ var x = ({ implements, interface, package }); - · ───────── - ╰──── - - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word-strict/input.js:2:35] - 1 │ "use strict"; - 2 │ var x = ({ implements, interface, package }); - · ─────── - ╰──── - - × Invalid class declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-class/input.js:1:6] - 1 │ foo: class X {} - · ──────── - ╰──── - help: Classes can only be declared at top level or inside a block - - × Lexical declaration cannot appear in a single-statement context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-const/input.js:1:6] - 1 │ foo: const bar = null; - · ───────────────── - ╰──── - help: Wrap this declaration in a block statement - - × Async functions can only be declared at the top level or inside a block - ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-func-async/input.js:1:6] - 1 │ foo: async function bar() {} - · ──────────────────── - ╰──── - - × Generators can only be declared at the top level or inside a block - ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-func-generator/input.js:1:6] - 1 │ foo: function* bar() {} - · ─────────────── - ╰──── - - × Invalid function declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-func-strict/input.js:1:36] - 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 - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-let/input.js:1:9] - 1 │ foo: let bar; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/es2015/template/error-after-newline/input.js:1:2] - 1 │ ╭─▶ ` - 2 │ ╰─▶ \u{12_34} - 3 │ `; - ╰──── - - × for-of loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/109/input.js:1:6] - 1 │ for (var x = 42 of list) process(x); - · ────────── - ╰──── - - × 'super' can only be referenced in a derived class. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/123/input.js:1:16] - 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. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/125/input.js:1:11] - 1 │ class A { constructor() {} 'constructor'() {} } - · ─────┬───── ──────┬────── - · │ ╰── it cannot be redeclared here - · ╰── constructor has already been declared here - ╰──── - - × Constructor can't have get/set modifier - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/126/input.js:1:15] - 1 │ class A { get constructor() {} } - · ─────────── - ╰──── - - × Constructor can't be a generator - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/127/input.js:1:12] - 1 │ class A { *constructor() {} } - · ─────────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/151/input.js:1:6] - 1 │ ({[x]}) - · ─ - ╰──── - - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/166/input.js:1:12] - 1 │ function x(a, { a }){} - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/198/input.js:1:3] - 1 │ 0o - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/199/input.js:1:4] - 1 │ 0o1a - · ─ - ╰──── - - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/200/input.js:1:3] - 1 │ 0o9 - · ▲ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/201/input.js:1:4] - 1 │ 0o18 - · ─ - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/202/input.js:1:3] - 1 │ 0O - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/203/input.js:1:4] - 1 │ 0O1a - · ─ - ╰──── - - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/204/input.js:1:3] - 1 │ 0O9 - · ▲ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/205/input.js:1:4] - 1 │ 0O18 - · ─ - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/206/input.js:1:3] - 1 │ 0b - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/207/input.js:1:4] - 1 │ 0b1a - · ─ - ╰──── - - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/208/input.js:1:3] - 1 │ 0b9 - · ▲ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/209/input.js:1:4] - 1 │ 0b18 - · ─ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/210/input.js:1:4] - 1 │ 0b12 - · ─ - ╰──── - - × Unexpected end of file - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/211/input.js:1:3] - 1 │ 0B - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/212/input.js:1:4] - 1 │ 0B1a - · ─ - ╰──── - - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/213/input.js:1:3] - 1 │ 0B9 - · ▲ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/214/input.js:1:4] - 1 │ 0B18 - · ─ - ╰──── - - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/215/input.js:1:4] - 1 │ 0B12 - · ─ - ╰──── - - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/216/input.js:1:2] - 1 │ "\u{110000}" - · ───────── - ╰──── - - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/217/input.js:1:2] - 1 │ "\u{}" - · ─── - ╰──── - - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/218/input.js:1:2] - 1 │ "\u{FFFF" - · ─────── - ╰──── - - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/219/input.js:1:2] - 1 │ "\u{FFZ}" - · ───── - ╰──── - - × Invalid left-hand side in assignment - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/220/input.js:1:1] - 1 │ [v] += ary - · ─── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/221/input.js:1:2] - 1 │ [2] = 42 - · ─ - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/222/input.js:1:8] - 1 │ ({ obj:20 } = 42) - · ── - ╰──── - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/223/input.js:1:9] - 1 │ ({ get x() {} } = 0) - · ───── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/224/input.js:2:4] - 1 │ x - 2 │ is y - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/225/input.js:2:6] - 1 │ x - 2 │ isnt y - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected `Identifier` but found `default` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/226/input.js:1:10] - 1 │ function default() {} - · ───┬─── - · ╰── `Identifier` expected - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/227/input.js:1:45] - 1 │ function hello() {'use strict'; ({ i: 10, s(eval) { } }); } - · ──── - ╰──── - - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/228/input.js:1:35] - 1 │ function a() { "use strict"; ({ b(t, t) { } }); } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `t` has already been declared here - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/229/input.js:1:5] - 1 │ var super - · ───── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/230/input.js:1:5] - 1 │ var default - · ─────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/231/input.js:1:5] - 1 │ let default - · ─────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/232/input.js:1:7] - 1 │ const default = 2 - · ─────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/233/input.js:1:21] - 1 │ "use strict"; ({ v: eval } = obj) - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/234/input.js:1:21] - 1 │ "use strict"; ({ v: arguments } = obj) - · ───────── - ╰──── - - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/235/input.js:1:6] - 1 │ for (let x = 42 in list) process(x); - · ────────── - ╰──── - - × for-of loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/236/input.js:1:6] - 1 │ for (let x = 42 of list) process(x); - · ────────── - ╰──── - - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/237/input.js:1:11] - 1 │ import foo - ╰──── - - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/238/input.js:1:20] - 1 │ import { foo, bar } - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/239/input.js:1:17] - 1 │ import foo from bar - · ─── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/242/input.js:1:16] - 1 │ "use strict"; (eval = 10) => 42 - · ──── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/243/input.js:1:15] - 1 │ "use strict"; eval => 42 - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/244/input.js:1:15] - 1 │ "use strict"; arguments => 42 - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/245/input.js:1:16] - 1 │ "use strict"; (eval, a) => 42 - · ──── - ╰──── - - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/246/input.js:1:16] - 1 │ "use strict"; (arguments, a) => 42 - · ───────── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/247/input.js:1:16] - 1 │ "use strict"; (eval, a = 10) => 42 - · ──── - ╰──── - - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/248/input.js:1:16] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/249/input.js:1:22] - 1 │ "use strict"; (a) => 00 - · ── - ╰──── - help: for octal literals use the '0o' prefix instead - - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/250/input.js:1:1] - 1 │ () <= 42 - · ── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/251/input.js:1:5] - 1 │ (10) => 00 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/252/input.js:1:9] - 1 │ (10, 20) => 00 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected `]` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/255/input.js:1:10] - 1 │ void { [1, 2]: 3 }; - · ┬ - · ╰── `]` expected - ╰──── - - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/260/input.js:1:31] - 1 │ (function() { "use strict"; f(yield v) }) - · ───── - ╰──── - - × Expected `(` but found `**` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/261/input.js:1:18] - 1 │ var obj = { *test** } - · ─┬ - · ╰── `(` expected - ╰──── - - × Expected `{` but found `default` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/263/input.js:1:7] - 1 │ class default - · ───┬─── - · ╰── `{` expected - ╰──── - - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/264/input.js:1:1] - 1 │ `test - · ───── - ╰──── - - × Expected `(` but found `${}` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/265/input.js:1:8] - 1 │ switch `test` - · ───┬── - · ╰── `(` expected - ╰──── - - × Expected `$}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/266/input.js:1:19] - 1 │ `hello ${10 `test` - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/267/input.js:1:12] - 1 │ `hello ${10;test` - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/268/input.js:1:14] - 1 │ function a() 1 // expression closure is not supported - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/273/input.js:1:10] - 1 │ var a = [if (x) x] - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/275/input.js:1:13] - 1 │ ({ "chance" }) = obj - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/276/input.js:1:7] - 1 │ ({ 42 }) = obj - · ─ - ╰──── - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/277/input.js:1:15] - 1 │ function f(a, ...b, c) { } - · ──── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/278/input.js:1:24] - 1 │ function f(a, ...b = 0) - ╰──── - - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/280/input.js:1:26] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/281/input.js:1:33] - 1 │ "use strict"; function x({ b: { a } }, [{ b: { a } }]){} - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here - ╰──── - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/283/input.js:1:2] - 1 │ (...a, b) => {} - · ──── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/284/input.js:1:8] - 1 │ ([ 5 ]) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/285/input.js:1:6] - 1 │ ({ 5 }) => {} - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/286/input.js:1:2] - 1 │ (...[ 5 ]) => {} - · ─── - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/289/input.js:1:6] - 1 │ ({ t(eval) { "use strict"; } }); - · ──── - ╰──── - - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/290/input.js:1:23] - 1 │ "use strict"; `${test}\02`; - · ─── - ╰──── - - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/291/input.js:1:8] - 1 │ if (1) import "acorn"; - · ────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/293/input.js:1:7] - 1 │ if (b,...a, ); - · ─── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/294/input.js:1:5] - 1 │ (b, ...a) - · ─── - ╰──── - - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/295/input.js:2:1] - 1 │ switch (cond) { case 10: let a = 20; - ╰──── - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/296/input.js:1:16] - 1 │ "use strict"; (eval) => 42 - · ──── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/298/input.js:1:21] - 1 │ ({ get test() { } }) => 42 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/324/input.js:1:5] - 1 │ let [x] - · ─── - ╰──── - - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/325/input.js:1:5] - 1 │ var [x] - · ─── - ╰──── - - × Invalid Character `𖫵` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/326/input.js:1:6] - 1 │ var _𖫵 = 11; - · ─ - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/326/input.js:1:6] - 1 │ var _𖫵 = 11; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Invalid Character `𫠞` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/327/input.js:1:5] - 1 │ var 𫠞_ = 12; - · ── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/328/input.js:1:11] - 1 │ if (1) let x = 10; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Lexical declaration cannot appear in a single-statement context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/329/input.js:1:10] - 1 │ for (;;) const x = 10; - · ───────────── - ╰──── - help: Wrap this declaration in a block statement - - × Invalid class declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/331/input.js:1:15] - 1 │ if (1) ; else class Cls {} - · ────────── - ╰──── - help: Classes can only be declared at top level or inside a block - - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/332/input.js:1:19] - 1 │ 'use strict'; [...eval] = arr - · ──── - ╰──── - - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/339/input.js:1:2] - 1 │ `\07` - · ─── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/340/input.js:1:16] - 1 │ x = { method() 42 } - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/341/input.js:1:20] - 1 │ x = { get method() 42 } - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/342/input.js:1:23] - 1 │ x = { set method(val) v = val } - · ─ - ╰──── - - × 'super' can only be used with function calls or in property accesses - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/344/input.js:1:1] - 1 │ super - · ───── - ╰──── - help: replace with `super()` or `super.prop` or `super[prop]` - - × 'super' can only be referenced in members of derived classes or object literal expressions. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/344/input.js:1:1] - 1 │ super - · ───── - ╰──── - - × A 'get' accessor must not have any formal parameters. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/345/input.js:1:19] - 1 │ class A { get prop(x) {} } - · ─── - ╰──── - - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/346/input.js:1:19] - 1 │ class A { set prop() {} } - · ── - ╰──── - - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/347/input.js:1:19] - 1 │ class A { set prop(x, y) {} } - · ────── - ╰──── - - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/349/input.js:1:4] - 1 │ ({ '__proto__': 1, __proto__: 2 }) - · ─────┬───── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/368/input.js:1:1] - 1 │ enum = foo(); - · ──── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/369/input.js:1:1] - 1 │ enum = foo(); - · ──── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/37/input.js:1:8] - 1 │ ([a.a]) => 42 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/370/input.js:1:7] - 1 │ const enum = foo(); - · ──── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/371/input.js:1:7] - 1 │ const enum = foo(); - · ──── - ╰──── - - × Expected `:` but found `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/372/input.js:1:14] - 1 │ const { enum } = foo(); - · ┬ - · ╰── `:` expected - ╰──── - - × Expected `:` but found `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/373/input.js:1:14] - 1 │ const { enum } = foo(); - · ┬ - · ╰── `:` expected - ╰──── - - × Expected `:` but found `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/374/input.js:1:21] - 1 │ function foo({ enum }) {} - · ┬ - · ╰── `:` expected - ╰──── - - × Expected `:` but found `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/375/input.js:1:21] - 1 │ function foo({ enum }) {} - · ┬ - · ╰── `:` expected - ╰──── - - × Expected `Identifier` but found `enum` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/376/input.js:1:10] - 1 │ function enum() {} - · ──┬─ - · ╰── `Identifier` expected - ╰──── - - × Expected `Identifier` but found `enum` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/377/input.js:1:10] - 1 │ function enum() {} - · ──┬─ - · ╰── `Identifier` expected - ╰──── - - × Expected `{` but found `enum` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/378/input.js:1:7] - 1 │ class enum {} - · ──┬─ - · ╰── `{` expected - ╰──── - - × Expected `{` but found `enum` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/379/input.js:1:7] - 1 │ class enum {} - · ──┬─ - · ╰── `{` expected - ╰──── - - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/38/input.js:1:20] - 1 │ console.log(typeof () => {}); - · ── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/386/input.js:1:8] - 1 │ export typeof foo; - · ────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/387/input.js:1:8] - 1 │ export new Foo(); - · ─── - ╰──── - - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/388/input.js:1:16] - 1 │ export function() {}; - · ─ - ╰──── - help: Function name is required in function declaration or named export - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/388/input.js:1:1] - 1 │ export function() {}; - · ────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/389/input.js:1:8] - 1 │ export for (;;); - · ─── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/390/input.js:1:8] - 1 │ export while(foo); - · ───── - ╰──── - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/392/input.js:1:18] - 1 │ import foo, { bar: { a } } from 'my-module'; - · ┬ - · ╰── `,` expected - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/395/input.js:1:8] - 1 │ ([a.a]) => 42 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/84/input.js:1:9] - 1 │ export * - ╰──── - - × Expected `from` but found `default` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/96/input.js:1:8] - 1 │ import default from "foo" - · ───┬─── - · ╰── `from` expected - ╰──── - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-function-declaration-inside-generator/input.js:2:12] - 1 │ function* fn() { - 2 │ function yield() {} - · ───── - 3 │ } - ╰──── - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-expression/input.js:1:12] - 1 │ +function* yield() {} - · ───── - ╰──── - - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict/input.js:2:10] - 1 │ "use strict"; - 2 │ function yield() {} - · ───── - ╰──── - - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict-body/input.js:1:10] - 1 │ function yield() { "use strict"; } - · ───── - ╰──── - - × Expected `{` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-class-heritage/input.js:1:23] - 1 │ class A extends yield B { } - · ┬ - · ╰── `{` expected - ╰──── - - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-global-scope/input.js:1:1] - 1 │ yield 10 - · ───── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-iterator-stmt/input.js:2:8] - 1 │ function* g() { - 2 │ for (yield '' in {}; ; ) ; - · ──────── - 3 │ } - ╰──── - - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/input.js:1:16] - 1 │ (function () { yield 10 }) - · ───── - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-1/input.js:2:8] - 1 │ function* fn() { - 2 │ (x = yield) => {}; - · ──┬── - · ╰── yield expression not allowed in formal parameter - 3 │ } - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-2/input.js:2:16] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-3/input.js:2:8] - 1 │ function* fn() { - 2 │ (x = yield fn) => {}; - · ────┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ } - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-4/input.js:2:18] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-5/input.js:2:9] - 1 │ function* fn() { - 2 │ (x = (yield) => {}) => {}; - · ───── - 3 │ } - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-6/input.js:2:9] - 1 │ function* fn() { - 2 │ (x = (yield)) => {}; - · ──┬── - · ╰── yield expression not allowed in formal parameter - 3 │ } - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator/input.js:1:18] - 1 │ function* fn(x = yield) {} - · ──┬── - · ╰── yield expression not allowed in formal parameter - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator-method/input.js:1:16] - 1 │ ({ *method(x = yield) {} }) - · ──┬── - · ╰── yield expression not allowed in formal parameter - ╰──── - - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-strict/input.js:2:17] - 1 │ "use strict"; - 2 │ function fn(x = yield) {} - · ───── - ╰──── - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-1/input.js:2:4] - 1 │ function* fn() { - 2 │ (yield) => {}; - · ───── - 3 │ } - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-2/input.js:2:13] - 1 │ function* fn() { - 2 │ (yield fn) => {}; - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-3/input.js:2:10] - 1 │ function* fn() { - 2 │ (a, b, yield) => {}; - · ───── - 3 │ } - ╰──── - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-no-parens-inside-generator/input.js:2:3] - 1 │ function* fn() { - 2 │ yield => {}; - · ───── - 3 │ } - ╰──── - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator/input.js:1:14] - 1 │ function* fn(yield) {} - · ───── - ╰──── - - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator-method/input.js:1:12] - 1 │ ({ *method(yield) {} }); - · ───── - ╰──── - - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict/input.js:2:13] - 1 │ "use strict"; - 2 │ function fn(yield) {} - · ───── - ╰──── - - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict-body/input.js:1:13] - 1 │ function fn(yield) { "use strict"; } - · ───── - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/input.js:1:25] - 1 │ function* fn(x = yield* yield) {} - · ──┬── - · ╰── yield expression not allowed in formal parameter - ╰──── - - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/input.js:1:18] - 1 │ function* fn(x = yield* yield) {} - · ──────┬───── - · ╰── yield expression not allowed in formal parameter - ╰──── - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/10/input.js:1:1] - 1 │ -5 ** 6; - · ─────── - ╰──── - help: Wrap unary expression in parentheses to enforce operator precedence - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/11/input.js:1:1] - 1 │ -(5) ** 6; - · ───────── - ╰──── - help: Wrap unary expression in parentheses to enforce operator precedence - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/12/input.js:1:2] - 1 │ (-5 ** 6); - · ─────── - ╰──── - help: Wrap unary expression in parentheses to enforce operator precedence - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/13/input.js:1:4] - 1 │ 1 %* 1; - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/14/input.js:1:4] - 1 │ a %*= 1; - · ── - ╰──── - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/15/input.js:1:1] - 1 │ -(5) ** 6; - · ───────── - ╰──── - help: Wrap unary expression in parentheses to enforce operator precedence - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/16/input.js:1:2] - 1 │ (-5 ** 6); - · ─────── - ╰──── - help: Wrap unary expression in parentheses to enforce operator precedence - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/await-before-exponential/input.js:1:13] - 1 │ async () => await 5 ** 6; - · ──────────── - ╰──── - help: Wrap await expression in parentheses to enforce operator precedence - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/await-unary-before-exponential/input.js:1:13] - 1 │ async () => await -5 ** 6; - · ───────────── - ╰──── - help: Wrap await expression in parentheses to enforce operator precedence - - × Unexpected exponentiation expression - ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/nested-unary-before-exponential/input.js:1:2] - 1 │ (-+5 ** 6); - · ──────── - ╰──── - help: Wrap unary expression in parentheses to enforce operator precedence - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/array-pattern/input.js:2:3] - 1 │ function a([ option1, option2 ]) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/array-pattern-default/input.js:2:3] - 1 │ function a([ option1, option2 ] = []) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/arrow-function/input.js:2:3] - 1 │ var a = (options = {}) => { - 2 │ "use strict"; - · ───────────── - 3 │ }; - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function/input.js:2:3] - 1 │ var a = async (options = {}) => { - 2 │ "use strict"; - · ───────────── - 3 │ }; - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function-after-binary-operator/input.js:1:12] - 1 │ 3 + async() => 2 - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function-after-unary-operator/input.js:1:16] - 1 │ delete async () => 3; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-function/input.js:2:3] - 1 │ async function a(options = {}) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/default/input.js:2:3] - 1 │ function a(options = {}) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/generator-function/input.js:2:3] - 1 │ function* a(options = {}) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/generator-method/input.js:3:5] - 2 │ * a(options = {}) { - 3 │ "use strict"; - · ───────────── - 4 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/method/input.js:3:5] - 2 │ a(options = {}) { - 3 │ "use strict"; - · ───────────── - 4 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/object-pattern/input.js:2:3] - 1 │ function a({ option1, option2 }) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/object-pattern-default/input.js:2:3] - 1 │ function a({ option1, option2 } = {}) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Illegal 'use strict' directive in function with non-simple parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/rest/input.js:2:3] - 1 │ function a(...options) { - 2 │ "use strict"; - · ───────────── - 3 │ } - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-array-pattern-nested/input.js:1:28] - 1 │ async ([ [(a)] = [] ] = []) => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-array-pattern-nested-2/input.js:1:24] - 1 │ async ([(a) = []] = []) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-identifier/input.js:1:24] - 1 │ var foo = async ((foo)) => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-member-expression/input.js:1:26] - 1 │ async ([(a.b) = []] = []) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-pattern/input.js:1:26] - 1 │ var foo = async ([(foo)]) => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-rest-array/input.js:1:29] - 1 │ var foo = async ([...(foo)]) => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-rest-object/input.js:1:29] - 1 │ var foo = async ({...(foo)}) => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-argument-object-double-proto/input.js:1:9] - 1 │ async({ __proto__: x, __proto__: y }) - · ────┬──── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here - ╰──── - - × Invalid assignment in object literal - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-argument-object-with-assignment/input.js:1:9] - 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. - - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-call/with-optional-operator/input.js:1:8] - 1 │ async(x?) - · ┬ - · ╰── `,` expected - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/10/input.js:2:4] - 1 │ var x = async - 2 │ (x) => x + 1; - · ▲ - ╰──── - help: Try insert a semicolon here - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/2/input.js:2:8] - 1 │ async function bar() { - 2 │ await* foo(); - · ─ - 3 │ } - ╰──── - - × Invalid assignment in object literal - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/35/input.js:1:15] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/36/input.js:1:16] - 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. - - × Expected `(` but found `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/4/input.js:1:12] - 1 │ ({ async a }); - · ┬ - · ╰── `(` expected - ╰──── - - × Expected `(` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/5/input.js:1:11] - 1 │ ({ async a: function () {} }); - · ┬ - · ╰── `(` expected - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/6/input.js:1:15] - 1 │ async () => {}() - · ▲ - ╰──── - help: Try insert a semicolon here - - × `await` is only allowed within async functions and at the top levels of modules - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/9/input.js:1:25] - 1 │ function foo(promise) { await promise; } - · ───── - ╰──── - - × `await` is only allowed within async functions and at the top levels of modules - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function-throw/input.js:2:10] - 1 │ function a() { - 2 │ return await 1 - · ───── - 3 │ } - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/async-function-and-non-bmp-character/input.js:1:6] - 1 │ async function𝐬 f() {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Cannot use `await` as an identifier in an async context - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-async-function-expression-name/input.js:1:17] - 1 │ (async function await() {}); - · ───── - ╰──── - - × Cannot use `await` as an identifier in an async context - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-function-declaration-name-inside-async-function/input.js:2:12] - 1 │ async function foo() { - 2 │ function await() {} - · ───── - 3 │ } - ╰──── - - × await expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-arguments-of-async-call-inside-parameters-of-async-arrow-function/input.js:2:24] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-arrow-expression-disallowed/input.js:1:9] - 1 │ () => { await x } - · ───── - ╰──── - - × await expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters/input.js:1:23] - 1 │ async function fn(x = await 2) {} - · ───┬─── - · ╰── await expression not allowed in formal parameter - ╰──── - - × await expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-async-arrow-function/input.js:1:12] - 1 │ async (x = await 2) => {}; - · ───┬─── - · ╰── await expression not allowed in formal parameter - ╰──── - - × await expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-arrow-function/input.js:2:8] - 1 │ async function fn() { - 2 │ (x = await 2) => {}; - · ───┬─── - · ╰── await expression not allowed in formal parameter - 3 │ } - ╰──── - - × await expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-async-arrow-function/input.js:2:14] - 1 │ async function fn() { - 2 │ async (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 - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-function/input.js:2:20] - 1 │ async function foo() { - 2 │ function bar(x = await 2) {} - · ───── - 3 │ } - ╰──── - - × await expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-function/input.js:2:20] - 1 │ async function foo() { - 2 │ function bar(x = await 2) {} - · ───┬─── - · ╰── await expression not allowed in formal parameter - 3 │ } - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-async/input.js:1:8] - 1 │ export async; - · ───── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-invalid/input.js:1:21] - 1 │ export default async functionX () {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-await-with-object-exp-in-function/input.js:2:8] - 1 │ function foo() { - 2 │ await { foo }; - · ▲ - 3 │ } - ╰──── - help: Try insert a semicolon here - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-async-class-method/input.js:1:11] - 1 │ class X { \u0061sync x() { await x } } - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-async-obj-method/input.js:1:4] - 1 │ ({ \u0061sync x() { await x } }) - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-async-static-class-method/input.js:1:18] - 1 │ class X { static \u0061sync x() { await x } } - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-await/input.js:1:21] - 1 │ (async function() { aw\u0061it x }) - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-async-function/input.js:1:8] - 1 │ export \u0061sync function y() { await x } - · ────────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-async-function/input.js:1:1] - 1 │ export \u0061sync function y() { await x } - · ────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-dflt-async-function/input.js:1:16] - 1 │ export default \u0061sync function y() { await x } - · ────────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-dflt-async-function/input.js:1:1] - 1 │ export default \u0061sync function y() { await x } - · ────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-arrow/input.js:1:1] - 1 │ \u0061sync x => { await x } - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-arrow-list/input.js:1:2] - 1 │ (\u0061sync x => { await x }) - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-function/input.js:1:1] - 1 │ \u0061sync function() { await x } - · ────────── - ╰──── - - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-function/input.js:1:20] - 1 │ \u0061sync function() { await x } - · ─ - ╰──── - help: Function name is required in function declaration or named export - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-function-list/input.js:1:2] - 1 │ (\u0061sync function() { await x }) - · ────────── - ╰──── - - × Keywords cannot contain escape characters - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-for-await-expression-init/input.js:1:12] - 1 │ for (await o\u0066 [0];;); - · ─────── - ╰──── - - × Expected `)` but found `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-for-await-expression-init/input.js:1:23] - 1 │ for (await o\u0066 [0];;); - · ┬ - · ╰── `)` expected - ╰──── - - × Async functions can only be declared at the top level or inside a block - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-generator-inside-loop/input.js:1:11] - 1 │ while (1) async function *foo(){} - · ───────────────────── - ╰──── - - × Invalid function declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-generator-inside-loop/input.js:1:11] - 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 - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-inside-loop/input.js:1:11] - 1 │ while (1) async function foo(){} - · ──────────────────── - ╰──── - - × Invalid function declaration - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-inside-loop/input.js:1:11] - 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 - - × Line terminator not permitted before arrow - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-newline-after-params/input.js:2:1] - 1 │ async (x) - 2 │ => {} - · ── - ╰──── - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-parens-async-arrow/input.js:1:11] - 1 │ (async)(a) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-parens-async-func/input.js:1:8] - 1 │ (async) function x (a) {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/multiple-await-in-async-arrow-params/input.js:1:41] - 1 │ async ({ x = [ await ], y = { await } }) => {} - · ▲ - ╰──── - help: Try insert a semicolon here - - × Line terminator not permitted before arrow - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/newline-before-arrow/input.js:2:1] - 1 │ async x - 2 │ => x - · ── - ╰──── - - × Constructor can't be an async method - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/no-constructor/input.js:2:9] - 1 │ class A { - 2 │ async constructor() {} - · ─────────── - 3 │ } - ╰──── - - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/params-invalid-rest-trailing-comma/input.js:1:8] - 1 │ async (...a,) => {}; - · ──── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2017/trailing-function-commas/5/input.js:1:5] - 1 │ log(,); - · ─ - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2017/trailing-function-commas/6/input.js:1:14] - 1 │ function log(,) { } - · ─ - ╰──── - - × Expected `)` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2017/trailing-function-commas/7/input.js:1:7] - 1 │ ('foo',) - · ┬ - · ╰── `)` expected - ╰──── - - × Expected `(` but found `await` - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-context/input.js:2:7] - 1 │ function f() { - 2 │ for await (let x of y); - · ──┬── - · ╰── `(` expected - 3 │ } - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-of-arrow/input.js:2:14] - 1 │ async function f() { - 2 │ for await (async of => {} of x); - · ────────────── - 3 │ } - ╰──── - - × await can only be used in conjunction with `for...of` statements - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-of-arrow-semicolon/input.js:2:3] - 1 │ async function f() { - 2 │ for await (async of => {};;); - · ──────────────────────────── - 3 │ } - ╰──── - - × await can only be used in conjunction with `for...of` statements - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-in/input.js:2:3] - 1 │ async function f() { - 2 │ for await (let x in y); - · ────────────────────── - 3 │ } - ╰──── - - × await can only be used in conjunction with `for...of` statements - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-semi-1/input.js:2:3] - 1 │ async function f() { - 2 │ for await (;false;); - · ─────────────────── - 3 │ } - ╰──── - - × await can only be used in conjunction with `for...of` statements - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-semi-2/input.js:2:3] - 1 │ async function f() { - 2 │ for await (let i = 0;false;); - · ──────────────────────────── - 3 │ } - ╰──── - - × await can only be used in conjunction with `for...of` statements - ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-semi-3/input.js:2:3] - 1 │ async function f() { - 2 │ for await (x = 0;false;); - · ──────────────────────── - 3 │ } - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/11/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const { bar, ...foo } = baz; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/11/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const { bar, ...foo } = baz; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/11/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const { bar, ...foo } = baz; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/11/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const { bar, ...foo } = baz; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/12/input.js:1:1] - 1 │ export const { foo, ...bar } = baz; - · ────── - 2 │ export const bar = 1; - ╰──── - - × Identifier `bar` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/12/input.js:1:24] - 1 │ export const { foo, ...bar } = baz; - · ─┬─ - · ╰── `bar` has already been declared here - 2 │ export const bar = 1; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/12/input.js:2:1] - 1 │ export const { foo, ...bar } = baz; - 2 │ export const bar = 1; - · ────── - ╰──── - - × Duplicated export 'bar' - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/12/input.js:1:24] - 1 │ export const { foo, ...bar } = baz; - · ─┬─ - · ╰── Export has already been declared here - 2 │ export const bar = 1; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/13/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const { bar: { baz, ...foo } } = qux; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/13/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const { bar: { baz, ...foo } } = qux; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/13/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const { bar: { baz, ...foo } } = qux; - · ────── - ╰──── - - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/13/input.js:1:14] - 1 │ export const foo = 1; + × Duplicated export 'Foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring8/input.js:1:14] + 1 │ export class Foo {}; · ─┬─ · ╰── Export has already been declared here - 2 │ export const { bar: { baz, ...foo } } = qux; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/14/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const [bar, { baz, ...foo }] = qux; + 2 │ export const { Foo } = bar; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/14/input.js:1:14] - 1 │ export const foo = 1; + × Identifier `Foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/input.js:1:14] + 1 │ export class Foo {}; · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const [bar, { baz, ...foo }] = qux; - · ─┬─ - · ╰── It can not be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/14/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const [bar, { baz, ...foo }] = qux; - · ────── + · ╰── `Foo` has already been declared here + 2 │ export const [Foo] = bar; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/14/input.js:1:14] - 1 │ export const foo = 1; + × Duplicated export 'Foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring9/input.js:1:14] + 1 │ export class Foo {}; · ─┬─ · ╰── Export has already been declared here - 2 │ export const [bar, { baz, ...foo }] = qux; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/15/input.js:1:1] - 1 │ export const foo = 1; - · ────── - 2 │ export const [bar, [{ baz, ...foo }]] = qux; - ╰──── - - × Identifier `foo` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/15/input.js:1:14] - 1 │ export const foo = 1; - · ─┬─ - · ╰── `foo` has already been declared here - 2 │ export const [bar, [{ baz, ...foo }]] = qux; - · ─┬─ - · ╰── It can not be redeclared here + 2 │ export const [Foo] = bar; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/15/input.js:2:1] - 1 │ export const foo = 1; - 2 │ export const [bar, [{ baz, ...foo }]] = qux; - · ────── + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-function-declaration/input.js:1:10] + 1 │ export { foo }; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export function foo() {}; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── × Duplicated export 'foo' - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/15/input.js:1:14] - 1 │ export const foo = 1; + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-variable-declaration/input.js:1:10] + 1 │ export { foo }; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const foo = bar; · ─┬─ - · ╰── Export has already been declared here - 2 │ export const [bar, [{ baz, ...foo }]] = qux; - · ─┬─ - · ╰── It cannot be redeclared here - ╰──── - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/16/input.js:1:9] - 1 │ var {...{z}} = { z: 1}; - · ─── - ╰──── - help: Expected identifier in rest element - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/17/input.js:1:10] - 1 │ var { ...{ x = 5 } } = {x : 1}; - · ───────── - ╰──── - help: Expected identifier in rest element - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/19/input.js:1:19] - 1 │ function test({...{}}) {} - · ── - ╰──── - help: Expected identifier in rest element - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/20/input.js:1:19] - 1 │ function test({...{a}}) {} - · ─── - ╰──── - help: Expected identifier in rest element - - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/21/input.js:1:6] - 1 │ ({...x = 1} = {}) - · ───── - ╰──── - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/22/input.js:1:9] - 1 │ var {...x = 1} = {} - · ───── - ╰──── - help: Expected identifier in rest element - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/23/input.js:1:19] - 1 │ function test({...x = 1}) {} - · ───── - ╰──── - help: Expected identifier in rest element - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/25/input.js:1:9] - 1 │ var {...[]} = {} - · ── - ╰──── - help: Expected identifier in rest element - - × Invalid rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/26/input.js:1:19] - 1 │ function test({...[]}) {} - · ── - ╰──── - help: Expected identifier in rest element - - × A rest element must be last in a destructuring pattern - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/7/input.js:1:7] - 1 │ let { ...x, y, z } = obj; - · ──── - ╰──── - - × Unexpected trailing comma after rest element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/8/input.js:1:17] - 1 │ let { x, y, ...z, } = obj; - · ─ - ╰──── - - × A rest element must be last in a destructuring pattern - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/8/input.js:1:13] - 1 │ let { x, y, ...z, } = obj; - · ──── - ╰──── - - × A rest element must be last in a destructuring pattern - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/9/input.js:1:10] - 1 │ let { x, ...y, ...z } = obj; - · ──── + · ╰── It cannot be redeclared here ╰──── - × A rest element must be last in a destructuring pattern - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/9/input.js:1:10] - 1 │ let { x, ...y, ...z } = obj; - · ──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration/input.js:1:16] + 1 │ export default const Foo = () => { + · ───── + 2 │ return `
Hola
`; ╰──── - × Spread must be last element - ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/expression-rest-not-last-invalid/input.js:1:3] - 1 │ ({...rest, b} = {}) - · ─────── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration2/input.js:1:19] + 1 │ export default let Foo = () => { + · ▲ + 2 │ return `
Hola
`; ╰──── + help: Try insert a semicolon here - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-decimal/input.js:1:4] - 1 │ 1.0n - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-variable-declaration3/input.js:1:16] + 1 │ export default var Foo = () => { + · ─── + 2 │ return `
Hola
`; ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-e/input.js:1:4] - 1 │ 2e9n - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-invalid-keyword/input.js:1:10] + 1 │ import { debugger } from "foo"; + · ──────── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-non-octal-decimal-int/input.js:1:4] - 1 │ 089n - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/import-invalid-keyword-typeof/input.js:1:10] + 1 │ import { typeof } from "foo"; + · ────── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-octal-legacy/input.js:1:7] - 1 │ 016432n - · ─ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-export-as/input.js:1:12] + 1 │ export { X \u0061s Y } + · ─────── ╰──── - × The only valid meta property for import is import.meta - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/direct-calls-only/input.js:2:10] - 1 │ function failsParse() { - 2 │ return import.then(); - · ─────────── - 3 │ } + × Export 'X' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-export-as/input.js:1:10] + 1 │ export { X \u0061s Y } + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-arguments-spread/input.js:1:8] - 1 │ import(...[1]) - · ─── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-escape-import-from/input.js:1:10] + 1 │ import X fro\u006d 'x' + · ───────── ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-lone-import/input.js:1:8] - 1 │ (import) - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/modules/invalid-xml-comment-in-module/input.js:1:2] + 1 │ + · ─ ╰──── - × Cannot use new with dynamic import - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-new/input.js:1:5] - 1 │ new import("foo"); - · ───────────── + × Expected `,` but found `Identifier` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/async-method-linebreak/input.js:3:5] + 2 │ async + 3 │ foo() {} + · ─┬─ + · ╰── `,` expected + 4 │ }) ╰──── - × Expected `)` but found `string` - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/multiple-args/input.js:1:26] - 1 │ import('hello', 'world', '!'); - · ─┬─ - · ╰── `)` expected + × Expected `,` but found `*` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-accessor-generator/input.js:2:9] + 1 │ ({ + 2 │ get *iterator() { }, + · ┬ + · ╰── `,` expected + 3 │ set *iterator(iter) { } ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/no-args/input.js:1:8] - 1 │ import(); - · ─ + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer/input.js:2:3] + 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. - × The only valid meta property for import is import.meta - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/direct-calls-only/input.js:2:10] - 1 │ function failsParse() { - 2 │ return import.then(); - · ─────────── - 3 │ } + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-1/input.js:3:3] + 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. - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-arguments-spread/input.js:1:8] - 1 │ import(...[1]) - · ─── + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-in-call/input.js:1:4] + 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. - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-lone-import/input.js:1:8] - 1 │ (import) - · ─ + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-in-rhs/input.js:1:8] + 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. - × Cannot use new with dynamic import - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-new/input.js:1:5] - 1 │ new import("foo"); - · ───────────── + × Flag i is mentioned twice in regular expression literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/regex/duplicate-flags/input.js:1:7] + 1 │ /./gii; + · ▲ ╰──── - × Expected `)` but found `string` - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/multiple-args/input.js:1:26] - 1 │ import('hello', 'world', '!'); - · ─┬─ - · ╰── `)` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word/input.js:1:17] + 1 │ var x = ({ const, if, this }); + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/no-args/input.js:1:8] - 1 │ import(); - · ─ + × The keyword 'implements' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word-strict/input.js:2:12] + 1 │ "use strict"; + 2 │ var x = ({ implements, interface, package }); + · ────────── ╰──── - × Unexpected import.meta expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/error-in-script/input.js:1:11] - 1 │ const x = import.meta; - · ─────────── + × The keyword 'interface' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word-strict/input.js:2:24] + 1 │ "use strict"; + 2 │ var x = ({ implements, interface, package }); + · ───────── ╰──── - help: import.meta is only allowed in module code - × The only valid meta property for import is import.meta - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/no-other-prop-names/input.js:1:1] - 1 │ import.notMeta; - · ────────────── + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/shorthand/reserved-word-strict/input.js:2:35] + 1 │ "use strict"; + 2 │ var x = ({ implements, interface, package }); + · ─────── ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/not-assignable/input.js:1:1] - 1 │ import.meta = true; - · ─────────── + × Invalid class declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-class/input.js:1:6] + 1 │ foo: class X {} + · ──────── ╰──── + help: Classes can only be declared at top level or inside a block - × Logical expressions and coalesce expressions cannot be mixed - ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-and-nullish/input.js:1:1] - 1 │ c && d ?? e; - · ─────────── + × Lexical declaration cannot appear in a single-statement context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-const/input.js:1:6] + 1 │ foo: const bar = null; + · ───────────────── ╰──── - help: Wrap either expression by parentheses + help: Wrap this declaration in a block statement - × Logical expressions and coalesce expressions cannot be mixed - ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-nullish-and/input.js:1:1] - 1 │ a ?? b && c; - · ─────────── + × Async functions can only be declared at the top level or inside a block + ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-func-async/input.js:1:6] + 1 │ foo: async function bar() {} + · ──────────────────── ╰──── - help: Wrap either expression by parentheses - × Logical expressions and coalesce expressions cannot be mixed - ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-nullish-or/input.js:1:1] - 1 │ e ?? f ?? g || h; - · ──────────────── + × Generators can only be declared at the top level or inside a block + ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-func-generator/input.js:1:6] + 1 │ foo: function* bar() {} + · ─────────────── ╰──── - help: Wrap either expression by parentheses - × Logical expressions and coalesce expressions cannot be mixed - ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-or-nullish/input.js:1:1] - 1 │ h || i ?? j; - · ─────────── + × Invalid function declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-func-strict/input.js:1:36] + 1 │ function foo() {"use strict"; bar: function baz() {}} + · ───────────────── ╰──── - help: Wrap either expression by parentheses + help: In strict mode code, functions can only be declared at top level or inside a block - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/class-contructor-call/input.js:1:1] - 1 │ new C?.b.d() - · ──────────── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/statements/label-invalid-let/input.js:1:9] + 1 │ foo: let bar; + · ▲ ╰──── + help: Try insert a semicolon here - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:1:1] - 1 │ new foo?.bar(); - · ────────────── - 2 │ new foo.bar?.(); + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/template/error-after-newline/input.js:1:2] + 1 │ ╭─▶ ` + 2 │ ╰─▶ \u{12_34} + 3 │ `; ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:2:1] - 1 │ new foo?.bar(); - 2 │ new foo.bar?.(); - · ─────────── - 3 │ new foo?.[0]; + × for-of loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/109/input.js:1:6] + 1 │ for (var x = 42 of list) process(x); + · ────────── ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:3:1] - 2 │ new foo.bar?.(); - 3 │ new foo?.[0]; - · ──────────── - 4 │ + × 'super' can only be referenced in a derived class. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/123/input.js:1:16] + 1 │ "use strict"; (class A {constructor() { super() }}) + · ─────────────────┬────────────────── + · ╰── class does not have `extends` ╰──── + help: either remove this super, or extend the class - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:1:1] - 1 │ new foo?.bar(); - · ────────────── - 2 │ new foo.bar?.(); + × Multiple constructor implementations are not allowed. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/125/input.js:1:11] + 1 │ class A { constructor() {} 'constructor'() {} } + · ─────┬───── ──────┬────── + · │ ╰── it cannot be redeclared here + · ╰── constructor has already been declared here ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:2:1] - 1 │ new foo?.bar(); - 2 │ new foo.bar?.(); - · ─────────── - 3 │ new foo?.[0]; + × Constructor can't have get/set modifier + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/126/input.js:1:15] + 1 │ class A { get constructor() {} } + · ─────────── ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:3:1] - 2 │ new foo.bar?.(); - 3 │ new foo?.[0]; - · ──────────── - 4 │ + × Constructor can't be a generator + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/127/input.js:1:12] + 1 │ class A { *constructor() {} } + · ─────────── ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:1:1] - 1 │ new foo?.bar(); - · ────────────── - 2 │ new foo.bar?.(); + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/151/input.js:1:6] + 1 │ ({[x]}) + · ─ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:2:1] - 1 │ new foo?.bar(); - 2 │ new foo.bar?.(); - · ─────────── - 3 │ new foo?.bar!() + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/166/input.js:1:12] + 1 │ function x(a, { a }){} + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:3:1] - 2 │ new foo.bar?.(); - 3 │ new foo?.bar!() - · ─────────────── - 4 │ new foo?.[0]; + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/198/input.js:1:3] + 1 │ 0o ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:4:1] - 3 │ new foo?.bar!() - 4 │ new foo?.[0]; - · ──────────── - 5 │ new foo?.bar![0]; + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/199/input.js:1:4] + 1 │ 0o1a + · ─ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:5:1] - 4 │ new foo?.[0]; - 5 │ new foo?.bar![0]; - · ──────────────── - 6 │ + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/200/input.js:1:3] + 1 │ 0o9 + · ▲ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:1:1] - 1 │ new foo?.bar(); - · ────────────── - 2 │ new foo.bar?.(); + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/201/input.js:1:4] + 1 │ 0o18 + · ─ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:2:1] - 1 │ new foo?.bar(); - 2 │ new foo.bar?.(); - · ─────────── - 3 │ new foo?.bar!() + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/202/input.js:1:3] + 1 │ 0O ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:3:1] - 2 │ new foo.bar?.(); - 3 │ new foo?.bar!() - · ─────────────── - 4 │ new foo?.[0]; + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/203/input.js:1:4] + 1 │ 0O1a + · ─ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:4:1] - 3 │ new foo?.bar!() - 4 │ new foo?.[0]; - · ──────────── - 5 │ new foo?.bar![0]; + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/204/input.js:1:3] + 1 │ 0O9 + · ▲ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:5:1] - 4 │ new foo?.[0]; - 5 │ new foo?.bar![0]; - · ──────────────── - 6 │ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/205/input.js:1:4] + 1 │ 0O18 + · ─ ╰──── - × Optional chaining cannot appear in the callee of new expressions - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-constructor/input.js:1:1] - 1 │ new a?.(); - · ───── + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/206/input.js:1:3] + 1 │ 0b ╰──── - × 'super' can only be used with function calls or in property accesses - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-super-property/input.js:3:16] - 2 │ b(){ - 3 │ return super?.c; - · ───── - 4 │ } + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/207/input.js:1:4] + 1 │ 0b1a + · ─ ╰──── - help: replace with `super()` or `super.prop` or `super[prop]` - × 'super' can only be used with function calls or in property accesses - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-super-property-class/input.js:3:16] - 2 │ b(){ - 3 │ return super?.b; - · ───── - 4 │ } + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/208/input.js:1:3] + 1 │ 0b9 + · ▲ ╰──── - help: replace with `super()` or `super.prop` or `super[prop]` - × Tagged template expressions are not permitted in an optional chain - ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-tagged-template-literals/input.js:1:5] - 1 │ a?.b`foo` - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/209/input.js:1:4] + 1 │ 0b18 + · ─ ╰──── - × The left-hand side of a `for...of` statement may not be `async` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden/input.js:1:6] - 1 │ for (async of x); - · ───── - 2 │ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/210/input.js:1:4] + 1 │ 0b12 + · ─ ╰──── - × The left-hand side of a `for...of` statement may not be `async` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden/input.js:4:8] - 3 │ async () => { - 4 │ for (async of x); - · ───── - 5 │ } + × Unexpected end of file + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/211/input.js:1:3] + 1 │ 0B ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden-arrow-function/input.js:1:6] - 1 │ for (async of => {} of x); - · ────────────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/212/input.js:1:4] + 1 │ 0B1a + · ─ ╰──── - × The left-hand side of a `for...of` statement may not be `async` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden-equals/input.js:3:6] - 2 │ // and finds "=" instead of "=>". - 3 │ for (async of = x); - · ───── + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/213/input.js:1:3] + 1 │ 0B9 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden-equals/input.js:3:15] - 2 │ // and finds "=" instead of "=>". - 3 │ for (async of = x); - · ─ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/214/input.js:1:4] + 1 │ 0B18 + · ─ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-0/input.js:1:3] - 1 │ 1_ - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/215/input.js:1:4] + 1 │ 0B12 + · ─ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-1/input.js:1:5] - 1 │ 1_1_ - · ▲ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/216/input.js:1:2] + 1 │ "\u{110000}" + · ───────── ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-10/input.js:1:7] - 1 │ 0x1_1_ - · ▲ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/217/input.js:1:2] + 1 │ "\u{}" + · ─── ╰──── - × Invalid Character `)` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-100/input.js:1:4] - 1 │ (1_) - · ▲ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/218/input.js:1:2] + 1 │ "\u{FFFF" + · ─────── ╰──── - × Invalid Character `)` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-101/input.js:1:6] - 1 │ (1_1_) - · ▲ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/219/input.js:1:2] + 1 │ "\u{FFZ}" + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-102/input.js:1:6] - 1 │ (1_1__) - · ▲ + × Invalid left-hand side in assignment + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/220/input.js:1:1] + 1 │ [v] += ary + · ─── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-102/input.js:1:6] - 1 │ (1_1__) - · ─ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/221/input.js:1:2] + 1 │ [2] = 42 + · ─ + ╰──── + + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/222/input.js:1:8] + 1 │ ({ obj:20 } = 42) + · ── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-103/input.js:1:4] - 1 │ (1__1) - · ▲ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/223/input.js:1:9] + 1 │ ({ get x() {} } = 0) + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-103/input.js:1:4] - 1 │ (1__1) - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/224/input.js:2:4] + 1 │ x + 2 │ is y + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `.` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-104/input.js:1:6] - 1 │ (1_1_.1_1) + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/225/input.js:2:6] + 1 │ x + 2 │ isnt y · ▲ ╰──── + help: Try insert a semicolon here - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-105/input.js:1:6] - 1 │ (1_1._1_1) - · ─ + × Expected `Identifier` but found `default` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/226/input.js:1:10] + 1 │ function default() {} + · ───┬─── + · ╰── `Identifier` expected ╰──── - × Invalid Character `e` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-106/input.js:1:8] - 1 │ (1_1.1_e1) - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/227/input.js:1:45] + 1 │ function hello() {'use strict'; ({ i: 10, s(eval) { } }); } + · ──── ╰──── - × Invalid Character `E` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-107/input.js:1:8] - 1 │ (1_1.1_E1) - · ▲ + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/228/input.js:1:35] + 1 │ function a() { "use strict"; ({ b(t, t) { } }); } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-108/input.js:1:8] - 1 │ (1_1.1e_1) - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/229/input.js:1:5] + 1 │ var super + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-108/input.js:1:8] - 1 │ (1_1.1e_1) - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/230/input.js:1:5] + 1 │ var default + · ─────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-109/input.js:1:8] - 1 │ (1_1.1E_1) - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/231/input.js:1:5] + 1 │ let default + · ─────── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-109/input.js:1:8] - 1 │ (1_1.1E_1) - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/232/input.js:1:7] + 1 │ const default = 2 + · ─────── ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-11/input.js:1:7] - 1 │ 0xa_1_ - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/233/input.js:1:21] + 1 │ "use strict"; ({ v: eval } = obj) + · ──── ╰──── - × Invalid Character `)` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-110/input.js:1:8] - 1 │ (0x1_1_) - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/234/input.js:1:21] + 1 │ "use strict"; ({ v: arguments } = obj) + · ───────── ╰──── - × Invalid Character `)` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-111/input.js:1:8] - 1 │ (0xa_1_) - · ▲ + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/235/input.js:1:6] + 1 │ for (let x = 42 in list) process(x); + · ────────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-112/input.js:1:4] - 1 │ (0x_a_1) - · ▲ + × for-of loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/236/input.js:1:6] + 1 │ for (let x = 42 of list) process(x); + · ────────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-113/input.js:1:4] - 1 │ (0x__1_1_) - · ▲ + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/237/input.js:1:11] + 1 │ import foo ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-114/input.js:1:4] - 1 │ (0x_1__1) - · ▲ + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/238/input.js:1:20] + 1 │ import { foo, bar } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-115/input.js:1:4] - 1 │ (0x_1_1_) - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/239/input.js:1:17] + 1 │ import foo from bar + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-116/input.js:1:4] - 1 │ (0o_1_1) - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/242/input.js:1:16] + 1 │ "use strict"; (eval = 10) => 42 + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-117/input.js:1:4] - 1 │ (0o_11) - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/243/input.js:1:15] + 1 │ "use strict"; eval => 42 + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-118/input.js:1:4] - 1 │ (0o_01_1_) - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/244/input.js:1:15] + 1 │ "use strict"; arguments => 42 + · ───────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-119/input.js:1:4] - 1 │ (0b_0_1_1) - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/245/input.js:1:16] + 1 │ "use strict"; (eval, a) => 42 + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-12/input.js:1:3] - 1 │ 0x_a_1 - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/246/input.js:1:16] + 1 │ "use strict"; (arguments, a) => 42 + · ───────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-120/input.js:1:4] - 1 │ (0b_01_1_) - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/247/input.js:1:16] + 1 │ "use strict"; (eval, a = 10) => 42 + · ──── ╰──── - × Invalid Character `)` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-121/input.js:1:9] - 1 │ (0b01_1_) - · ▲ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/248/input.js:1:16] + 1 │ "use strict"; (a, a) => 42 + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Invalid Character `)` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-122/input.js:1:8] - 1 │ (0o1_1_) - · ▲ + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/249/input.js:1:22] + 1 │ "use strict"; (a) => 00 + · ── ╰──── + help: for octal literals use the '0o' prefix instead - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-123/input.js:1:4] - 1 │ (0o_1_1_) - · ▲ + × Empty parenthesized expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/250/input.js:1:1] + 1 │ () <= 42 + · ── ╰──── - × Invalid Character `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-124/input.js:1:4] - 1 │ {1_} - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/251/input.js:1:5] + 1 │ (10) => 00 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-125/input.js:1:6] - 1 │ {1_1_} - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/252/input.js:1:9] + 1 │ (10, 20) => 00 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-126/input.js:1:6] - 1 │ {1_1__} - · ▲ + × Expected `]` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/255/input.js:1:10] + 1 │ void { [1, 2]: 3 }; + · ┬ + · ╰── `]` expected ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-126/input.js:1:6] - 1 │ {1_1__} - · ─ + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/260/input.js:1:31] + 1 │ (function() { "use strict"; f(yield v) }) + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-127/input.js:1:4] - 1 │ {1__1} - · ▲ + × Expected `(` but found `**` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/261/input.js:1:18] + 1 │ var obj = { *test** } + · ─┬ + · ╰── `(` expected ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-127/input.js:1:4] - 1 │ {1__1} - · ─ + × Expected `{` but found `default` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/263/input.js:1:7] + 1 │ class default + · ───┬─── + · ╰── `{` expected ╰──── - × Invalid Character `.` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-128/input.js:1:6] - 1 │ {1_1_.1_1} - · ▲ + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/264/input.js:1:1] + 1 │ `test + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-129/input.js:1:6] - 1 │ {1_1._1_1} - · ─ + × Expected `(` but found `${}` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/265/input.js:1:8] + 1 │ switch `test` + · ───┬── + · ╰── `(` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-13/input.js:1:3] - 1 │ 0x__1_1_ - · ▲ + × Expected `$}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/266/input.js:1:19] + 1 │ `hello ${10 `test` ╰──── - × Invalid Character `e` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-130/input.js:1:8] - 1 │ {1_1.1_e1} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/267/input.js:1:12] + 1 │ `hello ${10;test` + · ─ ╰──── - × Invalid Character `E` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-131/input.js:1:8] - 1 │ {1_1.1_E1} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/268/input.js:1:14] + 1 │ function a() 1 // expression closure is not supported + · ─ ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-132/input.js:1:8] - 1 │ {1_1.1e_1} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/273/input.js:1:10] + 1 │ var a = [if (x) x] + · ── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-132/input.js:1:8] - 1 │ {1_1.1e_1} - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/275/input.js:1:13] + 1 │ ({ "chance" }) = obj + · ─ ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-133/input.js:1:8] - 1 │ {1_1.1E_1} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/276/input.js:1:7] + 1 │ ({ 42 }) = obj + · ─ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-133/input.js:1:8] - 1 │ {1_1.1E_1} - · ─ + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/277/input.js:1:15] + 1 │ function f(a, ...b, c) { } + · ──── ╰──── - × Invalid Character `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-134/input.js:1:8] - 1 │ {0x1_1_} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/278/input.js:1:24] + 1 │ function f(a, ...b = 0) ╰──── - × Invalid Character `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-135/input.js:1:8] - 1 │ {0xa_1_} - · ▲ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/280/input.js:1:26] + 1 │ "use strict"; function x(a, { a }){} + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-136/input.js:1:4] - 1 │ {0x_a_1} - · ▲ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/281/input.js:1:33] + 1 │ "use strict"; function x({ b: { a } }, [{ b: { a } }]){} + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-137/input.js:1:4] - 1 │ {0x__1_1_} - · ▲ + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/283/input.js:1:2] + 1 │ (...a, b) => {} + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-138/input.js:1:4] - 1 │ {0x_1__1} - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/284/input.js:1:8] + 1 │ ([ 5 ]) => {} + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-139/input.js:1:4] - 1 │ {0x_1_1_} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/285/input.js:1:6] + 1 │ ({ 5 }) => {} + · ─ ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-14/input.js:1:3] - 1 │ 0x_1__1 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/286/input.js:1:2] + 1 │ (...[ 5 ]) => {} + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-140/input.js:1:4] - 1 │ {0o_1_1} - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/289/input.js:1:6] + 1 │ ({ t(eval) { "use strict"; } }); + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-141/input.js:1:4] - 1 │ {0o_11} - · ▲ + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/290/input.js:1:23] + 1 │ "use strict"; `${test}\02`; + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-142/input.js:1:4] - 1 │ {0o_01_1_} - · ▲ + × Cannot use import statement outside a module + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/291/input.js:1:8] + 1 │ if (1) import "acorn"; + · ────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-143/input.js:1:4] - 1 │ {0b_0_1_1} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/293/input.js:1:7] + 1 │ if (b,...a, ); + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-144/input.js:1:4] - 1 │ {0b_01_1_} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/294/input.js:1:5] + 1 │ (b, ...a) + · ─── ╰──── - × Invalid Character `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-145/input.js:1:9] - 1 │ {0b01_1_} - · ▲ + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/295/input.js:2:1] + 1 │ switch (cond) { case 10: let a = 20; ╰──── - × Invalid Character `}` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-146/input.js:1:8] - 1 │ {0o1_1_} - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/296/input.js:1:16] + 1 │ "use strict"; (eval) => 42 + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-147/input.js:1:4] - 1 │ {0o_1_1_} - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/298/input.js:1:21] + 1 │ ({ get test() { } }) => 42 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-15/input.js:1:3] - 1 │ 0x_1_1_ - · ▲ + × Missing initializer in destructuring declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/324/input.js:1:5] + 1 │ let [x] + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-16/input.js:1:3] - 1 │ 0o_1_1 - · ▲ + × Missing initializer in destructuring declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/325/input.js:1:5] + 1 │ var [x] + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-17/input.js:1:3] - 1 │ 0o_11 - · ▲ + × Invalid Character `𖫵` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/326/input.js:1:6] + 1 │ var _𖫵 = 11; + · ─ ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-18/input.js:1:3] - 1 │ 0o_01_1_ - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/326/input.js:1:6] + 1 │ var _𖫵 = 11; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-19/input.js:1:3] - 1 │ 0b_0_1_1 - · ▲ + × Invalid Character `𫠞` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/327/input.js:1:5] + 1 │ var 𫠞_ = 12; + · ── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-2/input.js:1:5] - 1 │ 1_1__ - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/328/input.js:1:11] + 1 │ if (1) let x = 10; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-2/input.js:1:5] - 1 │ 1_1__ - · ─ + × Lexical declaration cannot appear in a single-statement context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/329/input.js:1:10] + 1 │ for (;;) const x = 10; + · ───────────── ╰──── + help: Wrap this declaration in a block statement - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-20/input.js:1:3] - 1 │ 0b_01_1_ - · ▲ + × Invalid class declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/331/input.js:1:15] + 1 │ if (1) ; else class Cls {} + · ────────── ╰──── + help: Classes can only be declared at top level or inside a block - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-21/input.js:1:8] - 1 │ 0b01_1_ - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/332/input.js:1:19] + 1 │ 'use strict'; [...eval] = arr + · ──── ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-22/input.js:1:7] - 1 │ 0o1_1_ - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/334/input.js:1:5] + 1 │ [...eval] = arr + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-23/input.js:1:3] - 1 │ 0o_1_1_ - · ▲ + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/339/input.js:1:2] + 1 │ `\07` + · ─── ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-24/input.js:1:1] - 1 │ ._1_1 - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/340/input.js:1:16] + 1 │ x = { method() 42 } + · ── ╰──── - × Invalid Character `8` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-25/input.js:1:6] - 1 │ 0o01_8 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/341/input.js:1:20] + 1 │ x = { get method() 42 } + · ── ╰──── - × Invalid Character `2` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-26/input.js:1:3] - 1 │ 0b2_1 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/342/input.js:1:23] + 1 │ x = { set method(val) v = val } + · ─ ╰──── - × Invalid Character `Z` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-27/input.js:1:3] - 1 │ 0xZ_1 - · ▲ + × 'super' can only be used with function calls or in property accesses + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/344/input.js:1:1] + 1 │ super + · ───── ╰──── + help: replace with `super()` or `super.prop` or `super[prop]` - × Invalid Character `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-28/input.js:1:3] - 1 │ 1_; - · ▲ + × 'super' can only be referenced in members of derived classes or object literal expressions. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/344/input.js:1:1] + 1 │ super + · ───── ╰──── - × Invalid Character `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-29/input.js:1:5] - 1 │ 1_1_; - · ▲ + × A 'get' accessor must not have any formal parameters. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/345/input.js:1:19] + 1 │ class A { get prop(x) {} } + · ─── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-3/input.js:1:3] - 1 │ 1__1 - · ▲ + × A 'set' accessor must have exactly one parameter. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/346/input.js:1:19] + 1 │ class A { set prop() {} } + · ── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-3/input.js:1:3] - 1 │ 1__1 - · ─ + × A 'set' accessor must have exactly one parameter. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/347/input.js:1:19] + 1 │ class A { set prop(x, y) {} } + · ────── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-30/input.js:1:5] - 1 │ 1_1__; - · ▲ + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/349/input.js:1:4] + 1 │ ({ '__proto__': 1, __proto__: 2 }) + · ─────┬───── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-30/input.js:1:5] - 1 │ 1_1__; - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/357/input.js:1:7] + 1 │ await = foo(); + · ─ ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-31/input.js:1:3] - 1 │ 1__1; - · ▲ + × Cannot use `await` as an identifier in an async context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/359/input.js:1:7] + 1 │ const await = foo(); + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-31/input.js:1:3] - 1 │ 1__1; - · ─ + × The keyword 'await' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/359/input.js:1:7] + 1 │ const await = foo(); + · ───── ╰──── - × Invalid Character `.` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-32/input.js:1:5] - 1 │ 1_1_.1_1; - · ▲ + × The keyword 'await' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/361/input.js:1:9] + 1 │ const { await } = foo(); + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-33/input.js:1:5] - 1 │ 1_1._1_1; - · ─ + × The keyword 'await' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/363/input.js:1:16] + 1 │ function foo({ await }) {} + · ───── ╰──── - × Invalid Character `e` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-34/input.js:1:7] - 1 │ 1_1.1_e1; - · ▲ + × Cannot use `await` as an identifier in an async context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/365/input.js:1:10] + 1 │ function await() {} + · ───── ╰──── - × Invalid Character `E` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-35/input.js:1:7] - 1 │ 1_1.1_E1; - · ▲ + × The keyword 'await' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/365/input.js:1:10] + 1 │ function await() {} + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-36/input.js:1:7] - 1 │ 1_1.1e_1; - · ▲ + × Cannot use `await` as an identifier in an async context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/367/input.js:1:7] + 1 │ class await {} + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-36/input.js:1:7] - 1 │ 1_1.1e_1; - · ─ + × The keyword 'await' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/367/input.js:1:7] + 1 │ class await {} + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-37/input.js:1:7] - 1 │ 1_1.1E_1; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/368/input.js:1:1] + 1 │ enum = foo(); + · ──── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-37/input.js:1:7] - 1 │ 1_1.1E_1; - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/369/input.js:1:1] + 1 │ enum = foo(); + · ──── ╰──── - × Invalid Character `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-38/input.js:1:7] - 1 │ 0x1_1_; - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/37/input.js:1:8] + 1 │ ([a.a]) => 42 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-39/input.js:1:7] - 1 │ 0xa_1_; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/370/input.js:1:7] + 1 │ const enum = foo(); + · ──── ╰──── - × Invalid Character `.` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-4/input.js:1:5] - 1 │ 1_1_.1_1 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/371/input.js:1:7] + 1 │ const enum = foo(); + · ──── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-40/input.js:1:3] - 1 │ 0x_a_1; - · ▲ + × Expected `:` but found `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/372/input.js:1:14] + 1 │ const { enum } = foo(); + · ┬ + · ╰── `:` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-41/input.js:1:3] - 1 │ 0x__1_1_; - · ▲ + × Expected `:` but found `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/373/input.js:1:14] + 1 │ const { enum } = foo(); + · ┬ + · ╰── `:` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-42/input.js:1:3] - 1 │ 0x_1__1; - · ▲ + × Expected `:` but found `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/374/input.js:1:21] + 1 │ function foo({ enum }) {} + · ┬ + · ╰── `:` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-43/input.js:1:3] - 1 │ 0x_1_1_; - · ▲ + × Expected `:` but found `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/375/input.js:1:21] + 1 │ function foo({ enum }) {} + · ┬ + · ╰── `:` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-44/input.js:1:3] - 1 │ 0o_1_1; - · ▲ + × Expected `Identifier` but found `enum` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/376/input.js:1:10] + 1 │ function enum() {} + · ──┬─ + · ╰── `Identifier` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-45/input.js:1:3] - 1 │ 0o_11; - · ▲ + × Expected `Identifier` but found `enum` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/377/input.js:1:10] + 1 │ function enum() {} + · ──┬─ + · ╰── `Identifier` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-46/input.js:1:3] - 1 │ 0o_01_1_; - · ▲ + × Expected `{` but found `enum` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/378/input.js:1:7] + 1 │ class enum {} + · ──┬─ + · ╰── `{` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-47/input.js:1:3] - 1 │ 0b_0_1_1; - · ▲ + × Expected `{` but found `enum` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/379/input.js:1:7] + 1 │ class enum {} + · ──┬─ + · ╰── `{` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-48/input.js:1:3] - 1 │ 0b_01_1_; - · ▲ + × Empty parenthesized expression + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/38/input.js:1:20] + 1 │ console.log(typeof () => {}); + · ── ╰──── - × Invalid Character `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-49/input.js:1:8] - 1 │ 0b01_1_; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/386/input.js:1:8] + 1 │ export typeof foo; + · ────── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-5/input.js:1:5] - 1 │ 1_1._1_1 - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/387/input.js:1:8] + 1 │ export new Foo(); + · ─── ╰──── - × Invalid Character `;` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-50/input.js:1:7] - 1 │ 0o1_1_; - · ▲ + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/388/input.js:1:16] + 1 │ export function() {}; + · ─ ╰──── + help: Function name is required in function declaration or named export - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-51/input.js:1:3] - 1 │ 0o_1_1_; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/389/input.js:1:8] + 1 │ export for (;;); + · ─── ╰──── - × Invalid Character `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-52/input.js:1:3] - 1 │ 1_, 0 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/390/input.js:1:8] + 1 │ export while(foo); + · ───── ╰──── - × Invalid Character `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-53/input.js:1:5] - 1 │ 1_1_, 0 - · ▲ + × Expected `,` but found `:` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/392/input.js:1:18] + 1 │ import foo, { bar: { a } } from 'my-module'; + · ┬ + · ╰── `,` expected ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-54/input.js:1:5] - 1 │ 1_1__, 0 - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/395/input.js:1:8] + 1 │ ([a.a]) => 42 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-54/input.js:1:5] - 1 │ 1_1__, 0 - · ─ + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/84/input.js:1:9] + 1 │ export * ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-55/input.js:1:3] - 1 │ 1__1, 0 - · ▲ + × Expected `from` but found `default` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/uncategorised/96/input.js:1:8] + 1 │ import default from "foo" + · ───┬─── + · ╰── `from` expected ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-55/input.js:1:3] - 1 │ 1__1, 0 - · ─ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-function-declaration-inside-generator/input.js:2:12] + 1 │ function* fn() { + 2 │ function yield() {} + · ───── + 3 │ } ╰──── - × Invalid Character `.` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-56/input.js:1:5] - 1 │ 1_1_.1_1, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-generator-expression/input.js:1:12] + 1 │ +function* yield() {} + · ───── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-57/input.js:1:5] - 1 │ 1_1._1_1, 0 - · ─ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict/input.js:2:10] + 1 │ "use strict"; + 2 │ function yield() {} + · ───── ╰──── - × Invalid Character `e` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-58/input.js:1:7] - 1 │ 1_1.1_e1, 0 - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/function-name-strict-body/input.js:1:10] + 1 │ function yield() { "use strict"; } + · ───── ╰──── - × Invalid Character `E` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-59/input.js:1:7] - 1 │ 1_1.1_E1, 0 - · ▲ + × Expected `{` but found `Identifier` + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-class-heritage/input.js:1:23] + 1 │ class A extends yield B { } + · ┬ + · ╰── `{` expected ╰──── - × Invalid Character `e` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-6/input.js:1:7] - 1 │ 1_1.1_e1 - · ▲ + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-global-scope/input.js:1:1] + 1 │ yield 10 + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-60/input.js:1:7] - 1 │ 1_1.1e_1, 0 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-iterator-stmt/input.js:2:8] + 1 │ function* g() { + 2 │ for (yield '' in {}; ; ) ; + · ──────── + 3 │ } ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-60/input.js:1:7] - 1 │ 1_1.1e_1, 0 - · ─ + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/input.js:1:16] + 1 │ (function () { yield 10 }) + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-61/input.js:1:7] - 1 │ 1_1.1E_1, 0 - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-1/input.js:2:8] + 1 │ function* fn() { + 2 │ (x = yield) => {}; + · ──┬── + · ╰── yield expression not allowed in formal parameter + 3 │ } ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-61/input.js:1:7] - 1 │ 1_1.1E_1, 0 - · ─ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-2/input.js:2:16] + 1 │ function* fn() { + 2 │ (x = 3 + a.b(yield) ** 2) => {}; + · ──┬── + · ╰── yield expression not allowed in formal parameter + 3 │ } ╰──── - × Invalid Character `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-62/input.js:1:7] - 1 │ 0x1_1_, 0 - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-3/input.js:2:8] + 1 │ function* fn() { + 2 │ (x = yield fn) => {}; + · ────┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ } ╰──── - × Invalid Character `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-63/input.js:1:7] - 1 │ 0xa_1_, 0 - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-4/input.js:2:18] + 1 │ function* fn() { + 2 │ (a, b = 3, x = yield) => {}; + · ──┬── + · ╰── yield expression not allowed in formal parameter + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-64/input.js:1:3] - 1 │ 0x_a_1, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-5/input.js:2:9] + 1 │ function* fn() { + 2 │ (x = (yield) => {}) => {}; + · ───── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-65/input.js:1:3] - 1 │ 0x__1_1_, 0 - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-generator-6/input.js:2:9] + 1 │ function* fn() { + 2 │ (x = (yield)) => {}; + · ──┬── + · ╰── yield expression not allowed in formal parameter + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-66/input.js:1:3] - 1 │ 0x_1__1, 0 - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator/input.js:1:18] + 1 │ function* fn(x = yield) {} + · ──┬── + · ╰── yield expression not allowed in formal parameter ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-67/input.js:1:3] - 1 │ 0x_1_1_, 0 - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-inside-generator-method/input.js:1:16] + 1 │ ({ *method(x = yield) {} }) + · ──┬── + · ╰── yield expression not allowed in formal parameter ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-68/input.js:1:3] - 1 │ 0o_1_1, 0 - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-default-strict/input.js:2:17] + 1 │ "use strict"; + 2 │ function fn(x = yield) {} + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-69/input.js:1:3] - 1 │ 0o_11, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-1/input.js:2:4] + 1 │ function* fn() { + 2 │ (yield) => {}; + · ───── + 3 │ } ╰──── - × Invalid Character `E` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-7/input.js:1:7] - 1 │ 1_1.1_E1 - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-2/input.js:2:13] + 1 │ function* fn() { + 2 │ (yield fn) => {}; + · ▲ + 3 │ } ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-70/input.js:1:3] - 1 │ 0o_01_1_, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-inside-generator-3/input.js:2:10] + 1 │ function* fn() { + 2 │ (a, b, yield) => {}; + · ───── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-71/input.js:1:3] - 1 │ 0b_0_1_1, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-arrow-no-parens-inside-generator/input.js:2:3] + 1 │ function* fn() { + 2 │ yield => {}; + · ───── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-72/input.js:1:3] - 1 │ 0b_01_1_, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator/input.js:1:14] + 1 │ function* fn(yield) {} + · ───── ╰──── - × Invalid Character `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-73/input.js:1:8] - 1 │ 0b01_1_, 0 - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-generator-method/input.js:1:12] + 1 │ ({ *method(yield) {} }); + · ───── ╰──── - × Invalid Character `,` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-74/input.js:1:7] - 1 │ 0o1_1_, 0 - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict/input.js:2:13] + 1 │ "use strict"; + 2 │ function fn(yield) {} + · ───── ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-75/input.js:1:3] - 1 │ 0o_1_1_, 0 - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/parameter-name-strict-body/input.js:1:13] + 1 │ function fn(yield) { "use strict"; } + · ───── ╰──── - × Invalid Character `]` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-76/input.js:1:4] - 1 │ [1_] - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/input.js:1:25] + 1 │ function* fn(x = yield* yield) {} + · ──┬── + · ╰── yield expression not allowed in formal parameter ╰──── - × Invalid Character `]` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-77/input.js:1:6] - 1 │ [1_1_] - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2015/yield/yield-star-parameter-default-inside-generator/input.js:1:18] + 1 │ function* fn(x = yield* yield) {} + · ──────┬───── + · ╰── yield expression not allowed in formal parameter ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-78/input.js:1:6] - 1 │ [1_1__] - · ▲ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/10/input.js:1:1] + 1 │ -5 ** 6; + · ─────── ╰──── + help: Wrap unary expression in parentheses to enforce operator precedence - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-78/input.js:1:6] - 1 │ [1_1__] - · ─ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/11/input.js:1:1] + 1 │ -(5) ** 6; + · ───────── ╰──── + help: Wrap unary expression in parentheses to enforce operator precedence - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-79/input.js:1:4] - 1 │ [1__1] - · ▲ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/12/input.js:1:2] + 1 │ (-5 ** 6); + · ─────── ╰──── + help: Wrap unary expression in parentheses to enforce operator precedence - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-79/input.js:1:4] - 1 │ [1__1] + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/13/input.js:1:4] + 1 │ 1 %* 1; · ─ ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-8/input.js:1:7] - 1 │ 1_1.1e_1 - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/14/input.js:1:4] + 1 │ a %*= 1; + · ── ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-8/input.js:1:7] - 1 │ 1_1.1e_1 - · ─ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/15/input.js:1:1] + 1 │ -(5) ** 6; + · ───────── ╰──── + help: Wrap unary expression in parentheses to enforce operator precedence - × Invalid Character `.` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-80/input.js:1:6] - 1 │ [1_1_.1_1] - · ▲ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/16/input.js:1:2] + 1 │ (-5 ** 6); + · ─────── ╰──── + help: Wrap unary expression in parentheses to enforce operator precedence - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-81/input.js:1:6] - 1 │ [1_1._1_1] - · ─ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/await-before-exponential/input.js:1:13] + 1 │ async () => await 5 ** 6; + · ──────────── ╰──── + help: Wrap await expression in parentheses to enforce operator precedence - × Invalid Character `e` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-82/input.js:1:8] - 1 │ [1_1.1_e1] - · ▲ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/await-unary-before-exponential/input.js:1:13] + 1 │ async () => await -5 ** 6; + · ───────────── ╰──── + help: Wrap await expression in parentheses to enforce operator precedence - × Invalid Character `E` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-83/input.js:1:8] - 1 │ [1_1.1_E1] - · ▲ + × Unexpected exponentiation expression + ╭─[babel/packages/babel-parser/test/fixtures/es2016/exponentiation-operator/nested-unary-before-exponential/input.js:1:2] + 1 │ (-+5 ** 6); + · ──────── ╰──── + help: Wrap unary expression in parentheses to enforce operator precedence - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-84/input.js:1:8] - 1 │ [1_1.1e_1] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/array-pattern/input.js:2:3] + 1 │ function a([ option1, option2 ]) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-84/input.js:1:8] - 1 │ [1_1.1e_1] - · ─ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/array-pattern-default/input.js:2:3] + 1 │ function a([ option1, option2 ] = []) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-85/input.js:1:8] - 1 │ [1_1.1E_1] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/arrow-function/input.js:2:3] + 1 │ var a = (options = {}) => { + 2 │ "use strict"; + · ───────────── + 3 │ }; ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-85/input.js:1:8] - 1 │ [1_1.1E_1] - · ─ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function/input.js:2:3] + 1 │ var a = async (options = {}) => { + 2 │ "use strict"; + · ───────────── + 3 │ }; ╰──── - × Invalid Character `]` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-86/input.js:1:8] - 1 │ [0x1_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function-after-binary-operator/input.js:1:12] + 1 │ 3 + async() => 2 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `]` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-87/input.js:1:8] - 1 │ [0xa_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function-after-unary-operator/input.js:1:16] + 1 │ delete async () => 3; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-88/input.js:1:4] - 1 │ [0x_a_1] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-function/input.js:2:3] + 1 │ async function a(options = {}) { + 2 │ "use strict"; + · ───────────── + 3 │ } + ╰──── + + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/default/input.js:2:3] + 1 │ function a(options = {}) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-89/input.js:1:4] - 1 │ [0x__1_1_] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/generator-function/input.js:2:3] + 1 │ function* a(options = {}) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-9/input.js:1:7] - 1 │ 1_1.1E_1 - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/generator-method/input.js:3:5] + 2 │ * a(options = {}) { + 3 │ "use strict"; + · ───────────── + 4 │ } ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-9/input.js:1:7] - 1 │ 1_1.1E_1 - · ─ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/method/input.js:3:5] + 2 │ a(options = {}) { + 3 │ "use strict"; + · ───────────── + 4 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-90/input.js:1:4] - 1 │ [0x_1__1] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/object-pattern/input.js:2:3] + 1 │ function a({ option1, option2 }) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-91/input.js:1:4] - 1 │ [0x_1_1_] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/object-pattern-default/input.js:2:3] + 1 │ function a({ option1, option2 } = {}) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-92/input.js:1:4] - 1 │ [0o_1_1] - · ▲ + × Illegal 'use strict' directive in function with non-simple parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/rest/input.js:2:3] + 1 │ function a(...options) { + 2 │ "use strict"; + · ───────────── + 3 │ } ╰──── - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-93/input.js:1:4] - 1 │ [0o_11] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-array-pattern-nested/input.js:1:28] + 1 │ async ([ [(a)] = [] ] = []) => {}; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-94/input.js:1:4] - 1 │ [0o_01_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-array-pattern-nested-2/input.js:1:24] + 1 │ async ([(a) = []] = []) => {} + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-95/input.js:1:4] - 1 │ [0b_0_1_1] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-identifier/input.js:1:24] + 1 │ var foo = async ((foo)) => {}; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-96/input.js:1:4] - 1 │ [0b_01_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-member-expression/input.js:1:26] + 1 │ async ([(a.b) = []] = []) => {} + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `]` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-97/input.js:1:9] - 1 │ [0b01_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-binding-pattern/input.js:1:26] + 1 │ var foo = async ([(foo)]) => {}; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `]` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-98/input.js:1:8] - 1 │ [0o1_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-rest-array/input.js:1:29] + 1 │ var foo = async ([...(foo)]) => {}; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `_` - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-99/input.js:1:4] - 1 │ [0o_1_1_] - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-arrow/parenthesized-rest-object/input.js:1:29] + 1 │ var foo = async ({...(foo)}) => {}; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-hex/input.js:1:2] - 1 │ "\x1_0"; - · ─── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-argument-object-double-proto/input.js:1:9] + 1 │ async({ __proto__: x, __proto__: y }) + · ────┬──── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-leading-zero/input.js:1:2] - 1 │ 0_8 - · ─ + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-argument-object-with-assignment/input.js:1:9] + 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. - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-legacy-octal-literal/input.js:1:3] - 1 │ 00_0 - · ─ + × Expected `,` but found `?` + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-call/with-optional-operator/input.js:1:8] + 1 │ async(x?) + · ┬ + · ╰── `,` expected ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-non-octal-decimal-int/input.js:1:3] - 1 │ 08_0n - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/10/input.js:2:4] + 1 │ var x = async + 2 │ (x) => x + 1; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode/input.js:1:2] - 1 │ "\u{1F_639}" - · ───── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/2/input.js:2:8] + 1 │ async function bar() { + 2 │ await* foo(); + · ─ + 3 │ } ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-2/input.js:1:2] - 1 │ "\u12_34" - · ──── + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/35/input.js:1:15] + 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 Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-3/input.js:1:2] - 1 │ \u{_0061}; - · ── + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/36/input.js:1:16] + 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. - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-3/input.js:1:9] - 1 │ \u{_0061}; - · ─ + × Expected `(` but found `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/4/input.js:1:12] + 1 │ ({ async a }); + · ┬ + · ╰── `(` expected ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-4/input.js:1:2] - 1 │ \u{00__61}; - · ──── + × Expected `(` but found `:` + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/5/input.js:1:11] + 1 │ ({ async a: function () {} }); + · ┬ + · ╰── `(` expected ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-4/input.js:1:10] - 1 │ \u{00__61}; - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/6/input.js:1:15] + 1 │ async () => {}() + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-5/input.js:1:2] - 1 │ \u_0061; - · ─ + × `await` is only allowed within async functions and at the top levels of modules + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/9/input.js:1:25] + 1 │ function foo(promise) { await promise; } + · ───── ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-6/input.js:1:2] - 1 │ \u00__61; - · ─── + × `await` is only allowed within async functions and at the top levels of modules + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function-throw/input.js:2:10] + 1 │ function a() { + 2 │ return await 1 + · ───── + 3 │ } ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-7/input.js:1:2] - 1 │ \u{0061_}; - · ────── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/async-function-and-non-bmp-character/input.js:1:6] + 1 │ async function𝐬 f() {} + · ▲ ╰──── + help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-7/input.js:1:9] - 1 │ \u{0061_}; - · ─ + × Cannot use `await` as an identifier in an async context + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-async-function-expression-name/input.js:1:17] + 1 │ (async function await() {}); + · ───── ╰──── - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/template-with-invalid-numeric-separator-in-code-point/input.js:1:2] - 1 │ `abc\u{1000_0000}`; - · ──────────────── + × Cannot use `await` as an identifier in an async context + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-function-declaration-name-inside-async-function/input.js:2:12] + 1 │ async function foo() { + 2 │ function await() {} + · ───── + 3 │ } ╰──── - × The 'u' and 'v' regular expression flags cannot be enabled at the same time - ╭─[babel/packages/babel-parser/test/fixtures/es2024/regexp-unicode-sets/uv-error/input.js:1:1] - 1 │ /a/ugv; - · ────── + × await expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-arguments-of-async-call-inside-parameters-of-async-arrow-function/input.js:2:24] + 1 │ async function fn() { + 2 │ async (x = async(y = await 2)) => {}; + · ───┬─── + · ╰── await expression not allowed in formal parameter + 3 │ } ╰──── - × The 'u' and 'v' regular expression flags cannot be enabled at the same time - ╭─[babel/packages/babel-parser/test/fixtures/es2024/regexp-unicode-sets/vu-error/input.js:1:1] - 1 │ /a/vu; - · ───── + × `await` is only allowed within async functions and at the top levels of modules + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-arrow-expression-disallowed/input.js:1:9] + 1 │ () => { await x } + · ───── ╰──── - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/declaration-function/dupe-param/input.js:1:12] - 1 │ function a(x, x) {'use strict';} - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `x` has already been declared here + × await expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters/input.js:1:23] + 1 │ async function fn(x = await 2) {} + · ───┬─── + · ╰── await expression not allowed in formal parameter ╰──── - × Identifier `b` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/invalid-dup-param/input.js:1:6] - 1 │ ([a,[b],...b])=>0; - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `b` has already been declared here + × await expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-async-arrow-function/input.js:1:12] + 1 │ async (x = await 2) => {}; + · ───┬─── + · ╰── await expression not allowed in formal parameter ╰──── - × Unexpected trailing comma after rest element - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/invalid-elision-after-rest/input.js:1:9] - 1 │ ([a,...b,])=>0; - · ─ + × await expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-arrow-function/input.js:2:8] + 1 │ async function fn() { + 2 │ (x = await 2) => {}; + · ───┬─── + · ╰── await expression not allowed in formal parameter + 3 │ } ╰──── - × A rest element must be last in a destructuring pattern - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/invalid-elision-after-rest/input.js:1:5] - 1 │ ([a,...b,])=>0; - · ──── + × await expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-async-arrow-function/input.js:2:14] + 1 │ async function fn() { + 2 │ async (x = await 2) => {}; + · ───┬─── + · ╰── await expression not allowed in formal parameter + 3 │ } ╰──── - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/dupe-param-1/input.js:2:13] - 1 │ "use strict"; - 2 │ function a([a,a]){ } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here + × `await` is only allowed within async functions and at the top levels of modules + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-function/input.js:2:20] + 1 │ async function foo() { + 2 │ function bar(x = await 2) {} + · ───── + 3 │ } ╰──── - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/dupe-param-2/input.js:2:13] - 1 │ "use strict"; - 2 │ function a([a,...a]){ } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here + × await expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parameters-of-nested-function/input.js:2:20] + 1 │ async function foo() { + 2 │ function bar(x = await 2) {} + · ───┬─── + · ╰── await expression not allowed in formal parameter + 3 │ } ╰──── - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/dupe-param-3/input.js:2:14] - 1 │ "use strict"; - 2 │ function a([{a},...a]){ } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-async/input.js:1:8] + 1 │ export async; + · ───── ╰──── - × Expected `)` but found `=` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/with-default-catch-param-fail/input.js:1:20] - 1 │ try { } catch ([a] = []) { } - · ┬ - · ╰── `)` expected + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-invalid/input.js:1:21] + 1 │ export default async functionX () {} + · ▲ ╰──── + help: Try insert a semicolon here - × Expected `,` but found `...` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/arrow-rest-forgetting-comma/input.js:1:4] - 1 │ (a ...b) => 0 - · ─┬─ - · ╰── `,` expected + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-await-with-object-exp-in-function/input.js:2:8] + 1 │ function foo() { + 2 │ await { foo }; + · ▲ + 3 │ } ╰──── + help: Try insert a semicolon here - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-rest/input.js:1:2] - 1 │ (...a, ...b) => 0 - · ──── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-async-class-method/input.js:1:11] + 1 │ class X { \u0061sync x() { await x } } + · ────────── ╰──── - × A rest element must be last in a destructuring pattern - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-rest/input.js:1:2] - 1 │ (...a, ...b) => 0 - · ──── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-async-obj-method/input.js:1:4] + 1 │ ({ \u0061sync x() { await x } }) + · ────────── ╰──── - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/complex-rest-in-arrow-not-allowed/input.js:1:2] - 1 │ (a,...[a]) => 0; - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-async-static-class-method/input.js:1:18] + 1 │ class X { static \u0061sync x() { await x } } + · ────────── ╰──── - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-duplicated-params/input.js:1:2] - 1 │ (x, x) => y; - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `x` has already been declared here + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-await/input.js:1:21] + 1 │ (async function() { aw\u0061it x }) + · ────────── ╰──── - × Line terminator not permitted before arrow - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-line-terminator-arrow/input.js:2:1] - 1 │ () - 2 │ => 42 - · ── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-async-function/input.js:1:8] + 1 │ export \u0061sync function y() { await x } + · ────────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/input.js:1:6] - 1 │ ((a)) => 0 - · ▲ + × Cannot use export statement outside a module + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-async-function/input.js:1:1] + 1 │ export \u0061sync function y() { await x } + · ────── ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/input.js:1:6] - 1 │ ((a),...b) => 0; - · ─── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-export-dflt-async-function/input.js:1:16] + 1 │ export default \u0061sync function y() { await x } + · ────────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-member-expr/input.js:1:11] - 1 │ ({a:b[0]})=>0 - · ▲ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-arrow/input.js:1:1] + 1 │ \u0061sync x => { await x } + · ────────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-method-in-pattern/input.js:1:14] - 1 │ ({get a(){}}) => 0; - · ▲ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-arrow-list/input.js:1:2] + 1 │ (\u0061sync x => { await x }) + · ────────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-nested-param/input.js:1:51] - 1 │ ([[[[[[[[[[[[[[[[[[[[{a:b[0]}]]]]]]]]]]]]]]]]]]]])=>0; - · ▲ + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-function/input.js:1:1] + 1 │ \u0061sync function() { await x } + · ────────── ╰──── - help: Try insert a semicolon here - × Expected `,` but found `=>` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-pattern-without-parenthesis/input.js:1:4] - 1 │ ({}=>0) - · ─┬ - · ╰── `,` expected + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-function/input.js:1:20] + 1 │ \u0061sync function() { await x } + · ─ ╰──── + help: Function name is required in function declaration or named export - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/param-with-rest-without-arrow/input.js:1:5] - 1 │ (b, ...a) + 1 - · ─── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-escape-sequence-function-list/input.js:1:2] + 1 │ (\u0061sync function() { await x }) + · ────────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/rest-without-arrow/input.js:1:2] - 1 │ (...a) + 1 - · ─── + × Keywords cannot contain escape characters + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-for-await-expression-init/input.js:1:12] + 1 │ for (await o\u0066 [0];;); + · ─────── ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-class/invalid-eval-in-class-method-params/input.js:1:12] - 1 │ class A {a(eval){}} - · ──── + × Expected `)` but found `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-for-await-expression-init/input.js:1:23] + 1 │ for (await o\u0066 [0];;); + · ┬ + · ╰── `)` expected ╰──── - × Invalid assignment in object literal - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-cover-grammar/input.js:1:22] - 1 │ [[[[[[[[[[[[[[[[[[[[{a=b}]]]]]]]]]]]]]]]]]]]] - · ─── + × Async functions can only be declared at the top level or inside a block + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-generator-inside-loop/input.js:1:11] + 1 │ while (1) async function *foo(){} + · ───────────────────── ╰──── - 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. - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/input.js:1:2] - 1 │ (a,b)=(c,d); - · ─── + × Invalid function declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-generator-inside-loop/input.js:1:11] + 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 - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/input.js:1:5] - 1 │ ({a:this}=0) - · ──── + × Async functions can only be declared at the top level or inside a block + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-inside-loop/input.js:1:11] + 1 │ while (1) async function foo(){} + · ──────────────────── ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/input.js:1:6] - 1 │ ({a: this} = 0); - · ──── + × Invalid function declaration + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-inside-loop/input.js:1:11] + 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 - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-pattern-with-method/input.js:1:4] - 1 │ ({a(){}}=0) - · ──── + × Line terminator not permitted before arrow + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-newline-after-params/input.js:2:1] + 1 │ async (x) + 2 │ => {} + · ── ╰──── - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/input.js:2:1] - 1 │ export * + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-parens-async-arrow/input.js:1:11] + 1 │ (async)(a) => {} + · ▲ ╰──── + help: Try insert a semicolon here - × Expected `from` but found `+` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-token/input.js:1:10] - 1 │ export * + - · ┬ - · ╰── `from` expected + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/invalid-parens-async-func/input.js:1:8] + 1 │ (async) function x (a) {} + · ▲ ╰──── + help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default/input.js:1:20] - 1 │ export default from "foo" - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/multiple-await-in-async-arrow-params/input.js:1:41] + 1 │ async ({ x = [ await ], y = { await } }) => {} + · ▲ ╰──── help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-equal/input.js:1:16] - 1 │ export default = 42 - · ─ + × Line terminator not permitted before arrow + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/newline-before-arrow/input.js:2:1] + 1 │ async x + 2 │ => x + · ── ╰──── - × A reserved word cannot be used as an exported binding without `from` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/input.js:1:9] - 1 │ export {default} + - · ─────── + × Constructor can't be an async method + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/no-constructor/input.js:2:9] + 1 │ class A { + 2 │ async constructor() {} + · ─────────── + 3 │ } ╰──── - help: Did you mean `export { default as default } from 'some-module'`? - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/input.js:1:17] - 1 │ export {default} + - · ▲ + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/es2017/async-functions/params-invalid-rest-trailing-comma/input.js:1:8] + 1 │ async (...a,) => {}; + · ──── ╰──── - help: Try insert a semicolon here - × A reserved word cannot be used as an exported binding without `from` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-named-default/input.js:1:9] - 1 │ export {default} - · ─────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2017/trailing-function-commas/5/input.js:1:5] + 1 │ log(,); + · ─ ╰──── - help: Did you mean `export { default as default } from 'some-module'`? - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-named-default/input.js:1:1] - 1 │ export {default} - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2017/trailing-function-commas/6/input.js:1:14] + 1 │ function log(,) { } + · ─ ╰──── - × Export 'default' is not defined - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-named-default/input.js:1:9] - 1 │ export {default} - · ─────── + × Expected `)` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2017/trailing-function-commas/7/input.js:1:7] + 1 │ ('foo',) + · ┬ + · ╰── `)` expected ╰──── - × for-of loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-const-init/input.js:1:6] - 1 │ for (const x = 1 of y); - · ─────────── + × Expected `(` but found `await` + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-context/input.js:2:7] + 1 │ function f() { + 2 │ for await (let x of y); + · ──┬── + · ╰── `(` expected + 3 │ } ╰──── - × for-of loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-let-init/input.js:1:6] - 1 │ for (let x = 1 of y); - · ───────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-of-arrow/input.js:2:14] + 1 │ async function f() { + 2 │ for await (async of => {} of x); + · ────────────── + 3 │ } ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-lhs-init/input.js:1:6] - 1 │ for (this of that); - · ──── + × await can only be used in conjunction with `for...of` statements + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-of-arrow-semicolon/input.js:2:3] + 1 │ async function f() { + 2 │ for await (async of => {};;); + · ──────────────────────────── + 3 │ } ╰──── - × for-of loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-var-init/input.js:1:6] - 1 │ for (var x = 1 of y); - · ───────── + × await can only be used in conjunction with `for...of` statements + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-in/input.js:2:3] + 1 │ async function f() { + 2 │ for await (let x in y); + · ────────────────────── + 3 │ } ╰──── - × Expected `;` but found `decimal` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/unexpected-number/input.js:1:15] - 1 │ for (const of 42); - · ─┬ - · ╰── `;` expected + × await can only be used in conjunction with `for...of` statements + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-semi-1/input.js:2:3] + 1 │ async function f() { + 2 │ for await (;false;); + · ─────────────────── + 3 │ } ╰──── - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-method-with-invalid-computed-name/input.js:1:6] - 1 │ ({ *[yield iter]() {} }) - · ───── + × await can only be used in conjunction with `for...of` statements + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-semi-2/input.js:2:3] + 1 │ async function f() { + 2 │ for await (let i = 0;false;); + · ──────────────────────────── + 3 │ } ╰──── - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/input.js:2:13] - 1 │ (function*() { - 2 │ function(x = yield 3) {} - · ─ - 3 │ }) + × await can only be used in conjunction with `for...of` statements + ╭─[babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-no-semi-3/input.js:2:3] + 1 │ async function f() { + 2 │ for await (x = 0;false;); + · ──────────────────────── + 3 │ } ╰──── - help: Function name is required in function declaration or named export - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/input.js:2:18] - 1 │ (function*() { - 2 │ function(x = yield 3) {} - · ───── - 3 │ }) + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/11/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const { bar, ...foo } = baz; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/input.js:2:18] - 1 │ (function*() { - 2 │ function(x = yield 3) {} - · ───┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ }) + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/11/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { bar, ...foo } = baz; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/input.js:2:13] - 1 │ (function*() { - 2 │ function({x: y = yield 3}) {} - · ─ - 3 │ }) + × Identifier `bar` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/12/input.js:1:24] + 1 │ export const { foo, ...bar } = baz; + · ─┬─ + · ╰── `bar` has already been declared here + 2 │ export const bar = 1; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - help: Function name is required in function declaration or named export - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/input.js:2:22] - 1 │ (function*() { - 2 │ function({x: y = yield 3}) {} - · ───── - 3 │ }) + × Duplicated export 'bar' + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/12/input.js:1:24] + 1 │ export const { foo, ...bar } = baz; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const bar = 1; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/input.js:2:22] - 1 │ (function*() { - 2 │ function({x: y = yield 3}) {} - · ───┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ }) + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/13/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const { bar: { baz, ...foo } } = qux; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/input.js:2:13] - 1 │ (function*() { - 2 │ function({[yield 3]: y}) {} - · ─ - 3 │ }) + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/13/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const { bar: { baz, ...foo } } = qux; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - help: Function name is required in function declaration or named export - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/input.js:2:16] - 1 │ (function*() { - 2 │ function({[yield 3]: y}) {} - · ───── - 3 │ }) + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/14/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const [bar, { baz, ...foo }] = qux; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/input.js:2:16] - 1 │ (function*() { - 2 │ function({[yield 3]: y}) {} - · ───┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ }) + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/14/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const [bar, { baz, ...foo }] = qux; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/input.js:2:14] - 1 │ (function*() { - 2 │ function*(x = yield 3) {} - · ─ - 3 │ }) + × Identifier `foo` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/15/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── `foo` has already been declared here + 2 │ export const [bar, [{ baz, ...foo }]] = qux; + · ─┬─ + · ╰── It can not be redeclared here ╰──── - help: Function name is required in function declaration or named export - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/input.js:2:19] - 1 │ (function*() { - 2 │ function*(x = yield 3) {} - · ───┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ }) + × Duplicated export 'foo' + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/15/input.js:1:14] + 1 │ export const foo = 1; + · ─┬─ + · ╰── Export has already been declared here + 2 │ export const [bar, [{ baz, ...foo }]] = qux; + · ─┬─ + · ╰── It cannot be redeclared here ╰──── - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/input.js:2:14] - 1 │ (function*() { - 2 │ function*({x: y = yield 3}) {} - · ─ - 3 │ }) + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/16/input.js:1:9] + 1 │ var {...{z}} = { z: 1}; + · ─── ╰──── - help: Function name is required in function declaration or named export + help: Expected identifier in rest element - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/input.js:2:23] - 1 │ (function*() { - 2 │ function*({x: y = yield 3}) {} - · ───┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ }) + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/17/input.js:1:10] + 1 │ var { ...{ x = 5 } } = {x : 1}; + · ───────── ╰──── + help: Expected identifier in rest element - × Expected function name - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/input.js:2:14] - 1 │ (function*() { - 2 │ function*({[yield 3]: y}) {} - · ─ - 3 │ }) + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/19/input.js:1:19] + 1 │ function test({...{}}) {} + · ── ╰──── - help: Function name is required in function declaration or named export + help: Expected identifier in rest element - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/input.js:2:17] - 1 │ (function*() { - 2 │ function*({[yield 3]: y}) {} - · ───┬─── - · ╰── yield expression not allowed in formal parameter - 3 │ }) + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/20/input.js:1:19] + 1 │ function test({...{a}}) {} + · ─── ╰──── + help: Expected identifier in rest element - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/incomplete-yield-delegate/input.js:1:23] - 1 │ (function*() { yield* }) - · ─ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/21/input.js:1:6] + 1 │ ({...x = 1} = {}) + · ───── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method/input.js:1:4] - 1 │ ({ * }) - · ─ + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/22/input.js:1:9] + 1 │ var {...x = 1} = {} + · ───── ╰──── + help: Expected identifier in rest element - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method-2/input.js:1:15] - 1 │ class Foo { * } - · ─ + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/23/input.js:1:19] + 1 │ function test({...x = 1}) {} + · ───── ╰──── + help: Expected identifier in rest element - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_escaped_surrogate_pairs/input.js:1:6] - 1 │ var \uD83B\uDE00 - · ─────────── + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/25/input.js:1:9] + 1 │ var {...[]} = {} + · ── ╰──── + help: Expected identifier in rest element - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/input.js:1:1] - 1 │ export var answer = await + 1; - · ────── + × Invalid rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/26/input.js:1:19] + 1 │ function test({...[]}) {} + · ── ╰──── + help: Expected identifier in rest element - × Invalid Character `🀒` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_id_smp/input.js:1:5] - 1 │ var 🀒 - · ─ + × A rest element must be last in a destructuring pattern + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/7/input.js:1:7] + 1 │ let { ...x, y, z } = obj; + · ──── ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_lone_surrogate/input.js:1:2] - 1 │ \uD800! - · ───── + × Unexpected trailing comma after rest element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/8/input.js:1:17] + 1 │ let { x, y, ...z, } = obj; + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_lone_surrogate/input.js:1:7] - 1 │ \uD800! - · ▲ + × A rest element must be last in a destructuring pattern + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/8/input.js:1:13] + 1 │ let { x, y, ...z, } = obj; + · ──── ╰──── - help: Try insert a semicolon here - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_var_await/input.js:1:1] - 1 │ export var await; - · ────── + × A rest element must be last in a destructuring pattern + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/9/input.js:1:10] + 1 │ let { x, ...y, ...z } = obj; + · ──── ╰──── - × Expected `from` but found `default` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default/input.js:1:8] - 1 │ import default from "foo" - · ───┬─── - · ╰── `from` expected + × A rest element must be last in a destructuring pattern + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/9/input.js:1:10] + 1 │ let { x, ...y, ...z } = obj; + · ──── ╰──── - × Expected `from` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named/input.js:1:13] - 1 │ import {bar}, foo from "foo" - · ┬ - · ╰── `from` expected + × Spread must be last element + ╭─[babel/packages/babel-parser/test/fixtures/es2018/object-rest-spread/expression-rest-not-last-invalid/input.js:1:3] + 1 │ ({...rest, b} = {}) + · ─────── ╰──── - × Expected `from` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/input.js:1:18] - 1 │ import foo, {bar}, foo from "foo"; - · ┬ - · ╰── `from` expected + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-decimal/input.js:1:4] + 1 │ 1.0n + · ─ ╰──── - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/input.js:2:1] - 1 │ import foo + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-e/input.js:1:4] + 1 │ 2e9n + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-module-specifier/input.js:1:17] - 1 │ import foo from bar; - · ─── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-non-octal-decimal-int/input.js:1:4] + 1 │ 089n + · ─ ╰──── - × Expected `from` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-comma/input.js:1:12] - 1 │ import foo { bar } from "bar"; - · ┬ - · ╰── `from` expected + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2020/bigint/invalid-octal-legacy/input.js:1:7] + 1 │ 016432n + · ─ ╰──── - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-module-specifier/input.js:2:1] - 1 │ import { foo, bar } + × The only valid meta property for import is import.meta + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/direct-calls-only/input.js:2:10] + 1 │ function failsParse() { + 2 │ return import.then(); + · ─────────── + 3 │ } ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-module-specifier/input.js:1:18] - 1 │ export {foo} from bar - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-arguments-spread/input.js:1:8] + 1 │ import(...[1]) + · ─── ╰──── - help: Try insert a semicolon here - × Expected `from` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-named/input.js:1:13] - 1 │ import {bar}, {foo} from "foo"; - · ┬ - · ╰── `from` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-lone-import/input.js:1:8] + 1 │ (import) + · ─ ╰──── - × Expected `from` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-namespace/input.js:1:16] - 1 │ import * as foo, {bar} from "foo"; - · ┬ - · ╰── `from` expected + × Cannot use new with dynamic import + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/invalid-new/input.js:1:5] + 1 │ new import("foo"); + · ───────────── ╰──── - × Expected `from` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-as-missing-from/input.js:2:1] - 1 │ import {default as foo} + × Expected `)` but found `string` + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/multiple-args/input.js:1:26] + 1 │ import('hello', 'world', '!'); + · ─┬─ + · ╰── `)` expected ╰──── - × Expected `from` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-after-named/input.js:1:13] - 1 │ import {bar}, * as foo from "foo"; - · ┬ - · ╰── `from` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import/no-args/input.js:1:8] + 1 │ import(); + · ─ ╰──── - × Expected `as` but found `from` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-missing-as/input.js:1:10] - 1 │ import * from "foo" - · ──┬─ - · ╰── `as` expected + × The only valid meta property for import is import.meta + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/direct-calls-only/input.js:2:10] + 1 │ function failsParse() { + 2 │ return import.then(); + · ─────────── + 3 │ } ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-specifiers/input.js:1:13] - 1 │ import foo, from "bar"; - · ──── + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-arguments-spread/input.js:1:8] + 1 │ import(...[1]) + · ─── ╰──── - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/input.js:1:5] - 1 │ let [] - · ── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-lone-import/input.js:1:8] + 1 │ (import) + · ─ ╰──── - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_const_forin/input.js:1:6] - 1 │ for (const x = 0 in y){} - · ─────────── + × Cannot use new with dynamic import + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/invalid-new/input.js:1:5] + 1 │ new import("foo"); + · ───────────── ╰──── - × for-in loop variable declaration may not have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_let_forin/input.js:1:6] - 1 │ for (let x = 0 in y){} - · ───────── + × Expected `)` but found `string` + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/multiple-args/input.js:1:26] + 1 │ import('hello', 'world', '!'); + · ─┬─ + · ╰── `)` expected ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-dots/input.js:1:30] - 1 │ var x = function() { y = new..target; } - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/es2020/dynamic-import-createImportExpression-false/no-args/input.js:1:8] + 1 │ import(); + · ─ ╰──── - × Unexpected new.target expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-new-target/input.js:1:9] - 1 │ var x = new.target; - · ────────── + × Unexpected import.meta expression + ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/error-in-script/input.js:1:11] + 1 │ const x = import.meta; + · ─────────── ╰──── - help: new.target is only allowed in constructors and functions invoked using thew `new` operator + help: import.meta is only allowed in module code - × The only valid meta property for new is new.target - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/input.js:1:22] - 1 │ var f = function() { new.unknown_property; } - · ──────────────────── + × The only valid meta property for import is import.meta + ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/no-other-prop-names/input.js:1:1] + 1 │ import.notMeta; + · ────────────── ╰──── - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/input.js:1:21] - 1 │ ({ get __proto(){}, "__proto__": null, __proto__: null, }) - · ─────┬───── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/es2020/import-meta/not-assignable/input.js:1:1] + 1 │ import.meta = true; + · ─────────── ╰──── - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/input.js:1:4] - 1 │ ({ __proto__: null, "__proto__": null }) - · ────┬──── ─────┬───── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Logical expressions and coalesce expressions cannot be mixed + ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-and-nullish/input.js:1:1] + 1 │ c && d ?? e; + · ─────────── ╰──── + help: Wrap either expression by parentheses - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/input.js:1:4] - 1 │ ({ __proto__: null, __proto__: null }) - · ────┬──── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Logical expressions and coalesce expressions cannot be mixed + ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-nullish-and/input.js:1:1] + 1 │ a ?? b && c; + · ─────────── ╰──── + help: Wrap either expression by parentheses - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/input.js:1:4] - 1 │ ({ "__proto__": null, __proto__: null }) - · ─────┬───── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Logical expressions and coalesce expressions cannot be mixed + ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-nullish-or/input.js:1:1] + 1 │ e ?? f ?? g || h; + · ──────────────── ╰──── + help: Wrap either expression by parentheses - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/input.js:1:4] - 1 │ ({ "__proto__": null, '__proto__': null }) - · ─────┬───── ─────┬───── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Logical expressions and coalesce expressions cannot be mixed + ╭─[babel/packages/babel-parser/test/fixtures/es2020/nullish-coalescing-operator/no-paren-or-nullish/input.js:1:1] + 1 │ h || i ?? j; + · ─────────── ╰──── + help: Wrap either expression by parentheses - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/input.js:1:24] - 1 │ ({ set __proto__(x){}, "__proto__": null, __proto__: null, }) - · ─────┬───── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/class-contructor-call/input.js:1:1] + 1 │ new C?.b.d() + · ──────────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dot-dot/input.js:1:3] - 1 │ f(..g); - · ─ + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:1:1] + 1 │ new foo?.bar(); + · ────────────── + 2 │ new foo.bar?.(); ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dots/input.js:1:6] - 1 │ f(....g); - · ─ + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:2:1] + 1 │ new foo?.bar(); + 2 │ new foo.bar?.(); + · ─────────── + 3 │ new foo?.[0]; ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-spreads/input.js:1:7] - 1 │ f(... ... g); - · ─── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:3:1] + 2 │ new foo.bar?.(); + 3 │ new foo?.[0]; + · ──────────── + 4 │ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dot-dot/input.js:1:7] - 1 │ new f(..g); - · ─ + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:1:1] + 1 │ new foo?.bar(); + · ────────────── + 2 │ new foo.bar?.(); ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dots/input.js:1:10] - 1 │ new f(....g); - · ─ + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:2:1] + 1 │ new foo?.bar(); + 2 │ new foo.bar?.(); + · ─────────── + 3 │ new foo?.[0]; + ╰──── + + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:3:1] + 2 │ new foo.bar?.(); + 3 │ new foo?.[0]; + · ──────────── + 4 │ + ╰──── + + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:1:1] + 1 │ new foo?.bar(); + · ────────────── + 2 │ new foo.bar?.(); ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-spreads/input.js:1:11] - 1 │ new f(... ... g); - · ─── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:2:1] + 1 │ new foo?.bar(); + 2 │ new foo.bar?.(); + · ─────────── + 3 │ new foo?.bar!() ╰──── - × 'super' can only be used with function calls or in property accesses - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_access/input.js:3:10] - 2 │ constructor() { - 3 │ (super)(); - · ───── - 4 │ } + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:3:1] + 2 │ new foo.bar?.(); + 3 │ new foo?.bar!() + · ─────────────── + 4 │ new foo?.[0]; ╰──── - help: replace with `super()` or `super.prop` or `super[prop]` - × 'super' can only be used with function calls or in property accesses - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_id/input.js:2:17] - 1 │ class A { - 2 │ foo() { new super + 3 } - · ───── - 3 │ } + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:4:1] + 3 │ new foo?.bar!() + 4 │ new foo?.[0]; + · ──────────── + 5 │ new foo?.bar![0]; ╰──── - help: replace with `super()` or `super.prop` or `super[prop]` - × Super calls are not permitted outside constructors or in nested functions inside constructors. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_id/input.js:2:13] - 1 │ class A { - 2 │ foo() { new super + 3 } - · ───────── - 3 │ } + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:5:1] + 4 │ new foo?.[0]; + 5 │ new foo?.bar![0]; + · ──────────────── + 6 │ ╰──── - × Super calls are not permitted outside constructors or in nested functions inside constructors. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_not_inside_function/input.js:1:9] - 1 │ var x = super(); - · ─────── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:1:1] + 1 │ new foo?.bar(); + · ────────────── + 2 │ new foo.bar?.(); ╰──── - × Expected `(` but found `${}` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/after-switch/input.js:1:8] - 1 │ switch `test` - · ───┬── - · ╰── `(` expected + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:2:1] + 1 │ new foo?.bar(); + 2 │ new foo.bar?.(); + · ─────────── + 3 │ new foo?.bar!() ╰──── - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-escape/input.js:1:2] - 1 │ `\1`; - · ── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:3:1] + 2 │ new foo.bar?.(); + 3 │ new foo?.bar!() + · ─────────────── + 4 │ new foo?.[0]; ╰──── - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-octal-literal/input.js:1:2] - 1 │ `\00`; - · ─── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:4:1] + 3 │ new foo?.bar!() + 4 │ new foo?.[0]; + · ──────────── + 5 │ new foo?.bar![0]; ╰──── - × Bad escape sequence in untagged template literal - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-strict-octal-literal/input.js:1:16] - 1 │ 'use strict'; `\00`; - · ─── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:5:1] + 4 │ new foo?.[0]; + 5 │ new foo?.bar![0]; + · ──────────────── + 6 │ ╰──── - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed/input.js:1:1] - 1 │ `test - · ────── + × Optional chaining cannot appear in the callee of new expressions + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-constructor/input.js:1:1] + 1 │ new a?.(); + · ───── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed-interpolation/input.js:1:12] - 1 │ `hello ${10;test` - · ─ + × 'super' can only be used with function calls or in property accesses + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-super-property/input.js:3:16] + 2 │ b(){ + 3 │ return super?.c; + · ───── + 4 │ } ╰──── + help: replace with `super()` or `super.prop` or `super[prop]` - × Expected `$}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed-nested/input.js:2:1] - 1 │ `hello ${10 `test` + × 'super' can only be used with function calls or in property accesses + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-super-property-class/input.js:3:16] + 2 │ b(){ + 3 │ return super?.b; + · ───── + 4 │ } ╰──── + help: replace with `super()` or `super.prop` or `super[prop]` - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-binding-property/input.js:1:13] - 1 │ var {x: y = yield 3} = z; - · ───── + × Tagged template expressions are not permitted in an optional chain + ╭─[babel/packages/babel-parser/test/fixtures/es2020/optional-chaining/optional-tagged-template-literals/input.js:1:5] + 1 │ a?.b`foo` + · ───── ╰──── - × A 'yield' expression is only allowed in a generator body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/input.js:1:15] - 1 │ (function() { yield 3; }) - · ───── + × The left-hand side of a `for...of` statement may not be `async` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden/input.js:1:6] + 1 │ for (async of x); + · ───── + 2 │ ╰──── - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-default/input.js:1:22] - 1 │ function* g() { (x = yield 42) => {} } - · ────┬─── - · ╰── yield expression not allowed in formal parameter + × The left-hand side of a `for...of` statement may not be `async` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden/input.js:4:8] + 3 │ async () => { + 4 │ for (async of x); + · ───── + 5 │ } ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameter/input.js:1:17] - 1 │ function *g(){ (yield) => 42 } - · ───── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden-arrow-function/input.js:1:6] + 1 │ for (async of => {} of x); + · ────────────── ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameters/input.js:1:26] - 1 │ function *g(){ (a, b, c, yield) => 42 } - · ───── + × The left-hand side of a `for...of` statement may not be `async` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden-equals/input.js:3:6] + 2 │ // and finds "=" instead of "=>". + 3 │ for (async of = x); + · ───── ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-catch/input.js:1:31] - 1 │ function *g() { try {} catch (yield) {} } - · ───── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2021/for-async-of/forbidden-equals/input.js:3:15] + 2 │ // and finds "=" instead of "=>". + 3 │ for (async of = x); + · ─ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-declaration/input.js:1:27] - 1 │ function *g() { function *yield(){} } - · ───── + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-0/input.js:1:3] + 1 │ 1_ + · ▲ ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-export-default/input.js:1:1] - 1 │ export default function *yield() {} - · ────── + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-1/input.js:1:5] + 1 │ 1_1_ + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-name/input.js:1:11] - 1 │ (function*yield(){}) - · ───── + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-10/input.js:1:7] + 1 │ 0x1_1_ + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-parameter/input.js:1:13] - 1 │ (function *(yield){}) - · ───── + × Invalid Character `)` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-100/input.js:1:4] + 1 │ (1_) + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-rest/input.js:1:19] - 1 │ (function *(x, ...yield){}) - · ───── + × Invalid Character `)` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-101/input.js:1:6] + 1 │ (1_1_) + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-function-declaration/input.js:1:26] - 1 │ function *g() { function yield() {} } - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-102/input.js:1:6] + 1 │ (1_1__) + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-lexical-declaration/input.js:1:21] - 1 │ function *g() { let yield; } - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-102/input.js:1:6] + 1 │ (1_1__) + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-member-expression/input.js:1:29] - 1 │ function *g() { return yield.x; } - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-103/input.js:1:4] + 1 │ (1__1) + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-parameter/input.js:1:13] - 1 │ function *g(yield){} - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-103/input.js:1:4] + 1 │ (1__1) + · ─ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-rest/input.js:1:25] - 1 │ function *g(a, b, c, ...yield){} - · ───── + × Invalid Character `.` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-104/input.js:1:6] + 1 │ (1_1_.1_1) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-strict-function-expression/input.js:1:47] - 1 │ "use strict"; function *g(){ var y = function yield(){}; } - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-105/input.js:1:6] + 1 │ (1_1._1_1) + · ─ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-strict-function-parameter/input.js:1:48] - 1 │ "use strict"; function *g() { var z = function(yield) {} } - · ───── + × Invalid Character `e` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-106/input.js:1:8] + 1 │ (1_1.1_e1) + · ▲ ╰──── - × Cannot use `yield` as an identifier in a generator context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-variable-declaration/input.js:1:21] - 1 │ function *g() { var yield; } - · ───── + × Invalid Character `E` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-107/input.js:1:8] + 1 │ (1_1.1_E1) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-array-pattern/input.js:1:17] - 1 │ "use strict"; ([yield] = x) - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-108/input.js:1:8] + 1 │ (1_1.1e_1) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/input.js:1:20] - 1 │ "use strict"; (x = yield) => {} - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-108/input.js:1:8] + 1 │ (1_1.1e_1) + · ─ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/input.js:1:16] - 1 │ "use strict"; (yield) => 42 - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-109/input.js:1:8] + 1 │ (1_1.1E_1) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-binding-element/input.js:1:24] - 1 │ "use strict"; var { x: yield } = foo; - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-109/input.js:1:8] + 1 │ (1_1.1E_1) + · ─ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-catch-parameter/input.js:1:29] - 1 │ "use strict"; try {} catch (yield) {} - · ───── + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-11/input.js:1:7] + 1 │ 0xa_1_ + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/input.js:1:26] - 1 │ "use strict"; function f(yield) {} - · ───── + × Invalid Character `)` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-110/input.js:1:8] + 1 │ (0x1_1_) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-declaration/input.js:1:10] - 1 │ function yield(){ "use strict"; } - · ───── + × Invalid Character `)` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-111/input.js:1:8] + 1 │ (0xa_1_) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-expression/input.js:1:11] - 1 │ (function yield(){ "use strict"; }) - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-112/input.js:1:4] + 1 │ (0x_a_1) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-identifier/input.js:1:30] - 1 │ "use strict"; function f() { yield } - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-113/input.js:1:4] + 1 │ (0x__1_1_) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/input.js:1:19] - 1 │ "use strict"; let yield = 42; - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-114/input.js:1:4] + 1 │ (0x_1__1) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-rest-parameter/input.js:1:29] - 1 │ "use strict"; function f(...yield) {} - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-115/input.js:1:4] + 1 │ (0x_1_1_) + · ▲ ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-variable-declaration/input.js:1:19] - 1 │ "use strict"; var yield; - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-116/input.js:1:4] + 1 │ (0o_1_1) + · ▲ ╰──── - × yield expression not allowed in formal parameter - ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-default/input.js:1:22] - 1 │ function *g() { (x = yield) => {} } - · ──┬── - · ╰── yield expression not allowed in formal parameter + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-117/input.js:1:4] + 1 │ (0o_11) + · ▲ ╰──── - × Invalid Character ` ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/expression-primary-array/migrated_0012/input.js:1:19] - 1 │ \u2163\u2161\u200A - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-118/input.js:1:4] + 1 │ (0o_01_1_) + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-00/input.js:1:2] - 1 │ "\x"; - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-119/input.js:1:4] + 1 │ (0b_0_1_1) + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/input.js:1:2] - 1 │ "\x0"; - · ─── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-12/input.js:1:3] + 1 │ 0x_a_1 + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-02/input.js:1:2] - 1 │ "\xx"; - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-120/input.js:1:4] + 1 │ (0b_01_1_) + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-03/input.js:1:2] - 1 │ "\u"; - · ── + × Invalid Character `)` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-121/input.js:1:9] + 1 │ (0b01_1_) + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-04/input.js:1:2] - 1 │ "\u0"; - · ─── + × Invalid Character `)` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-122/input.js:1:8] + 1 │ (0o1_1_) + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-05/input.js:1:2] - 1 │ "\ux"; - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-123/input.js:1:4] + 1 │ (0o_1_1_) + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-06/input.js:1:2] - 1 │ "\u00"; - · ──── + × Invalid Character `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-124/input.js:1:4] + 1 │ {1_} + · ▲ ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-07/input.js:1:2] - 1 │ "\u000"; - · ───── + × Invalid Character `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-125/input.js:1:6] + 1 │ {1_1_} + · ▲ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0000/input.js:2:1] - 1 │ { + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-126/input.js:1:6] + 1 │ {1_1__} + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0001/input.js:1:1] - 1 │ } - · ─ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-126/input.js:1:6] + 1 │ {1_1__} + · ─ ╰──── - × Invalid Character `a` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/input.js:1:3] - 1 │ 3ea - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-127/input.js:1:4] + 1 │ {1__1} + · ▲ ╰──── × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/input.js:1:3] - 1 │ 3ea - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-127/input.js:1:4] + 1 │ {1__1} + · ─ + ╰──── + + × Invalid Character `.` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-128/input.js:1:6] + 1 │ {1_1_.1_1} + · ▲ ╰──── × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0003/input.js:1:2] - 1 │ 3in [] - · ── + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-129/input.js:1:6] + 1 │ {1_1._1_1} + · ─ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/input.js:1:3] - 1 │ 3e + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-13/input.js:1:3] + 1 │ 0x__1_1_ · ▲ ╰──── - × Invalid Number invalid float - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/input.js:1:1] - 1 │ 3e - · ── + × Invalid Character `e` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-130/input.js:1:8] + 1 │ {1_1.1_e1} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/input.js:1:4] - 1 │ 3e+ - · ▲ + × Invalid Character `E` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-131/input.js:1:8] + 1 │ {1_1.1_E1} + · ▲ ╰──── - × Invalid Number invalid float - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/input.js:1:1] - 1 │ 3e+ - · ─── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-132/input.js:1:8] + 1 │ {1_1.1e_1} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/input.js:1:4] - 1 │ 3e- - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-132/input.js:1:8] + 1 │ {1_1.1e_1} + · ─ ╰──── - × Invalid Number invalid float - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/input.js:1:1] - 1 │ 3e- - · ─── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-133/input.js:1:8] + 1 │ {1_1.1E_1} + · ▲ ╰──── × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0007/input.js:1:2] - 1 │ 3x - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-133/input.js:1:8] + 1 │ {1_1.1E_1} + · ─ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0008/input.js:1:2] - 1 │ 3x0 - · ─ + × Invalid Character `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-134/input.js:1:8] + 1 │ {0x1_1_} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0009/input.js:1:3] - 1 │ 0x - · ▲ + × Invalid Character `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-135/input.js:1:8] + 1 │ {0xa_1_} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0010/input.js:1:3] - 1 │ 01a - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-136/input.js:1:4] + 1 │ {0x_a_1} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0011/input.js:1:4] - 1 │ 0o1a - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-137/input.js:1:4] + 1 │ {0x__1_1_} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0012/input.js:1:3] - 1 │ 0o - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-138/input.js:1:4] + 1 │ {0x_1__1} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0013/input.js:1:3] - 1 │ 0O - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-139/input.js:1:4] + 1 │ {0x_1_1_} + · ▲ ╰──── - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0014/input.js:1:3] - 1 │ 0o9 + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-14/input.js:1:3] + 1 │ 0x_1__1 · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0015/input.js:1:4] - 1 │ 0o18 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-140/input.js:1:4] + 1 │ {0o_1_1} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0016/input.js:1:4] - 1 │ 0O1a - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-141/input.js:1:4] + 1 │ {0o_11} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0017/input.js:1:3] - 1 │ 0b - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-142/input.js:1:4] + 1 │ {0o_01_1_} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0018/input.js:1:4] - 1 │ 0b1a - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-143/input.js:1:4] + 1 │ {0b_0_1_1} + · ▲ ╰──── - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0019/input.js:1:3] - 1 │ 0b9 - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-144/input.js:1:4] + 1 │ {0b_01_1_} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0020/input.js:1:4] - 1 │ 0b18 - · ─ + × Invalid Character `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-145/input.js:1:9] + 1 │ {0b01_1_} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0021/input.js:1:4] - 1 │ 0b12 - · ─ + × Invalid Character `}` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-146/input.js:1:8] + 1 │ {0o1_1_} + · ▲ ╰──── - × Invalid Character ` - │ ` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0022/input.js:1:3] - 1 │ 0B - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-147/input.js:1:4] + 1 │ {0o_1_1_} + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0023/input.js:1:4] - 1 │ 0B1a - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-15/input.js:1:3] + 1 │ 0x_1_1_ + · ▲ ╰──── - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0024/input.js:1:3] - 1 │ 0B9 + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-16/input.js:1:3] + 1 │ 0o_1_1 · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0025/input.js:1:4] - 1 │ 0B18 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-17/input.js:1:3] + 1 │ 0o_11 + · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0026/input.js:1:4] - 1 │ 0B12 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-18/input.js:1:3] + 1 │ 0o_01_1_ + · ▲ ╰──── - × Invalid Character `9` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0027/input.js:1:3] - 1 │ 0O9 + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-19/input.js:1:3] + 1 │ 0b_0_1_1 · ▲ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0028/input.js:1:4] - 1 │ 0O18 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-2/input.js:1:5] + 1 │ 1_1__ + · ▲ ╰──── × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0029/input.js:1:2] - 1 │ 3in[] - · ── + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-2/input.js:1:5] + 1 │ 1_1__ + · ─ ╰──── - × Invalid characters after number - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0030/input.js:1:4] - 1 │ 0x3in[] - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-20/input.js:1:3] + 1 │ 0b_01_1_ + · ▲ ╰──── - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0031/input.js:1:1] - 1 │ "Hello - · ─────── - 2 │ World" + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-21/input.js:1:8] + 1 │ 0b01_1_ + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0032/input.js:1:3] - 1 │ x\ - · ─ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-22/input.js:1:7] + 1 │ 0o1_1_ + · ▲ + ╰──── + + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-23/input.js:1:3] + 1 │ 0o_1_1_ + · ▲ ╰──── - × Invalid Character `\` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0033/input.js:1:8] - 1 │ x\u005c - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-24/input.js:1:1] + 1 │ ._1_1 + · ─ ╰──── - × Invalid Character `*` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0034/input.js:1:8] - 1 │ x\u002a - · ▲ + × Invalid Character `8` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-25/input.js:1:6] + 1 │ 0o01_8 + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0036/input.js:1:3] - 1 │ a\u - · ─ + × Invalid Character `2` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-26/input.js:1:3] + 1 │ 0b2_1 + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0037/input.js:1:2] - 1 │ \ua - · ── + × Invalid Character `Z` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-27/input.js:1:3] + 1 │ 0xZ_1 + · ▲ ╰──── - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0038/input.js:1:1] - 1 │ / - · ── + × Invalid Character `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-28/input.js:1:3] + 1 │ 1_; + · ▲ ╰──── - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0039/input.js:1:1] - 1 │ /test - · ────── + × Invalid Character `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-29/input.js:1:5] + 1 │ 1_1_; + · ▲ ╰──── - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/input.js:1:1] - 1 │ /test - · ────── - 2 │ / + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-3/input.js:1:3] + 1 │ 1__1 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/input.js:3:1] - 2 │ / + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-3/input.js:1:3] + 1 │ 1__1 + · ─ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0041/input.js:1:17] - 1 │ var x = /[a-z]/\ux - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-30/input.js:1:5] + 1 │ 1_1__; + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0041/input.js:1:16] - 1 │ var x = /[a-z]/\ux - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-30/input.js:1:5] + 1 │ 1_1__; + · ─ ╰──── - help: Try insert a semicolon here - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0042/input.js:1:19] - 1 │ var x = /[a-z\n]/\ux - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-31/input.js:1:3] + 1 │ 1__1; + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0042/input.js:1:18] - 1 │ var x = /[a-z\n]/\ux - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-31/input.js:1:3] + 1 │ 1__1; + · ─ ╰──── - help: Try insert a semicolon here - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0043/input.js:1:17] - 1 │ var x = /[a-z]/\\ux - · ─ + × Invalid Character `.` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-32/input.js:1:5] + 1 │ 1_1_.1_1; + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0043/input.js:1:16] - 1 │ var x = /[a-z]/\\ux - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-33/input.js:1:5] + 1 │ 1_1._1_1; + · ─ ╰──── - help: Try insert a semicolon here - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0044/input.js:1:18] - 1 │ var x = /[P QR]/\\u0067 - · ─ + × Invalid Character `e` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-34/input.js:1:7] + 1 │ 1_1.1_e1; + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0044/input.js:1:17] - 1 │ var x = /[P QR]/\\u0067 - · ▲ + × Invalid Character `E` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-35/input.js:1:7] + 1 │ 1_1.1_E1; + · ▲ ╰──── - help: Try insert a semicolon here - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0045/input.js:1:1] - 1 │ 3 = 4 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-36/input.js:1:7] + 1 │ 1_1.1e_1; + · ▲ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0046/input.js:1:1] - 1 │ func() = 4 - · ────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-36/input.js:1:7] + 1 │ 1_1.1e_1; + · ─ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0047/input.js:1:2] - 1 │ (1 + 1) = 10 - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-37/input.js:1:7] + 1 │ 1_1.1E_1; + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0048/input.js:1:2] - 1 │ \u{110000} - · ──────── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-37/input.js:1:7] + 1 │ 1_1.1E_1; + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0048/input.js:1:10] - 1 │ \u{110000} - · ─ + × Invalid Character `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-38/input.js:1:7] + 1 │ 0x1_1_; + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0049/input.js:1:2] - 1 │ \u{} - · ── + × Invalid Character `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-39/input.js:1:7] + 1 │ 0xa_1_; + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0049/input.js:1:4] - 1 │ \u{} - · ─ + × Invalid Character `.` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-4/input.js:1:5] + 1 │ 1_1_.1_1 + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0050/input.js:1:2] - 1 │ \u{FFFF - · ────── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-40/input.js:1:3] + 1 │ 0x_a_1; + · ▲ ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0051/input.js:1:2] - 1 │ \u{FFZ} - · ──── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-41/input.js:1:3] + 1 │ 0x__1_1_; + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0051/input.js:1:7] - 1 │ \u{FFZ} - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-42/input.js:1:3] + 1 │ 0x_1__1; + · ▲ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0052/input.js:1:1] - 1 │ 1++ - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-43/input.js:1:3] + 1 │ 0x_1_1_; + · ▲ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0053/input.js:1:1] - 1 │ 1-- - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-44/input.js:1:3] + 1 │ 0o_1_1; + · ▲ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/input.js:1:3] - 1 │ ++1 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-45/input.js:1:3] + 1 │ 0o_11; + · ▲ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0055/input.js:1:3] - 1 │ --1 - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-46/input.js:1:3] + 1 │ 0o_01_1_; + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0056/input.js:1:5] - 1 │ for((1 + 1) in list) process(x); - · ─────── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-47/input.js:1:3] + 1 │ 0b_0_1_1; + · ▲ + ╰──── + + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-48/input.js:1:3] + 1 │ 0b_01_1_; + · ▲ ╰──── - × Expected `]` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0057/input.js:2:1] - 1 │ [ + × Invalid Character `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-49/input.js:1:8] + 1 │ 0b01_1_; + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0058/input.js:2:1] - 1 │ [, + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-5/input.js:1:5] + 1 │ 1_1._1_1 + · ─ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0059/input.js:2:1] - 1 │ 1 + { + × Invalid Character `;` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-50/input.js:1:7] + 1 │ 0o1_1_; + · ▲ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0060/input.js:2:1] - 1 │ 1 + { t:t + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-51/input.js:1:3] + 1 │ 0o_1_1_; + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0061/input.js:2:1] - 1 │ 1 + { t:t, + × Invalid Character `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-52/input.js:1:3] + 1 │ 1_, 0 + · ▲ ╰──── - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/input.js:1:9] - 1 │ var x = / - · ── - 2 │ / + × Invalid Character `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-53/input.js:1:5] + 1 │ 1_1_, 0 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/input.js:3:1] - 2 │ / + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-54/input.js:1:5] + 1 │ 1_1__, 0 + · ▲ ╰──── - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0063/input.js:1:9] - 1 │ var x = " - · ── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-54/input.js:1:5] + 1 │ 1_1__, 0 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0064/input.js:1:5] - 1 │ var if = 42 - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-55/input.js:1:3] + 1 │ 1__1, 0 + · ▲ ╰──── - × Invalid Character `=` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/input.js:1:4] - 1 │ i #= 42 - · ─ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-55/input.js:1:3] + 1 │ 1__1, 0 + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/input.js:1:2] - 1 │ i #= 42 - · ▲ + × Invalid Character `.` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-56/input.js:1:5] + 1 │ 1_1_.1_1, 0 + · ▲ ╰──── - help: Try insert a semicolon here - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0066/input.js:1:1] - 1 │ i + 2 = 42 - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-57/input.js:1:5] + 1 │ 1_1._1_1, 0 + · ─ ╰──── - × Cannot assign to this expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0067/input.js:1:1] - 1 │ +i = 42 - · ── + × Invalid Character `e` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-58/input.js:1:7] + 1 │ 1_1.1_e1, 0 + · ▲ ╰──── - × Expected `)` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0068/input.js:2:1] - 1 │ 1 + ( + × Invalid Character `E` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-59/input.js:1:7] + 1 │ 1_1.1_E1, 0 + · ▲ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0069/input.js:2:1] - 1 │ { + × Invalid Character `e` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-6/input.js:1:7] + 1 │ 1_1.1_e1 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0070/input.js:3:1] - 2 │ comment */ - 3 │ ) - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-60/input.js:1:7] + 1 │ 1_1.1e_1, 0 + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0071/input.js:1:6] - 1 │ { set 1 } - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-60/input.js:1:7] + 1 │ 1_1.1e_1, 0 + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0072/input.js:1:6] - 1 │ { get 2 } - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-61/input.js:1:7] + 1 │ 1_1.1E_1, 0 + · ▲ ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0073/input.js:1:11] - 1 │ ({ set: s(if) { } }) - · ── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-61/input.js:1:7] + 1 │ 1_1.1E_1, 0 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0074/input.js:1:10] - 1 │ ({ set s(.) { } }) - · ─ + × Invalid Character `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-62/input.js:1:7] + 1 │ 0x1_1_, 0 + · ▲ ╰──── - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0075/input.js:1:9] - 1 │ ({ set s() { } }) - · ── + × Invalid Character `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-63/input.js:1:7] + 1 │ 0xa_1_, 0 + · ▲ ╰──── - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0076/input.js:1:13] - 1 │ ({ set: s() { } }) - · ┬ - · ╰── `,` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-64/input.js:1:3] + 1 │ 0x_a_1, 0 + · ▲ ╰──── - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0077/input.js:1:17] - 1 │ ({ set: s(a, b) { } }) - · ┬ - · ╰── `,` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-65/input.js:1:3] + 1 │ 0x__1_1_, 0 + · ▲ ╰──── - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0078/input.js:1:14] - 1 │ ({ get: g(d) { } }) - · ┬ - · ╰── `,` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-66/input.js:1:3] + 1 │ 0x_1__1, 0 + · ▲ ╰──── - × Expected `]` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0080/input.js:1:5] - 1 │ ({[a,b]:0}) - · ┬ - · ╰── `]` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-67/input.js:1:3] + 1 │ 0x_1_1_, 0 + · ▲ ╰──── - × Expected `]` but found `,` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0081/input.js:1:8] - 1 │ ({get[a,b]:0}) - · ┬ - · ╰── `]` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-68/input.js:1:3] + 1 │ 0o_1_1, 0 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0082/input.js:1:3] - 1 │ ({(a):0}) - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-69/input.js:1:3] + 1 │ 0o_11, 0 + · ▲ ╰──── - × Expected `,` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0083/input.js:1:6] - 1 │ ({get{a}:0}) - · ┬ - · ╰── `,` expected + × Invalid Character `E` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-7/input.js:1:7] + 1 │ 1_1.1_E1 + · ▲ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0084/input.js:2:1] - 1 │ ({get + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-70/input.js:1:3] + 1 │ 0o_01_1_, 0 + · ▲ ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0087/input.js:1:16] - 1 │ "use strict"; (eval = 10) => 42 - · ──── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-71/input.js:1:3] + 1 │ 0b_0_1_1, 0 + · ▲ ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0088/input.js:1:15] - 1 │ "use strict"; eval => 42 - · ──── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-72/input.js:1:3] + 1 │ 0b_01_1_, 0 + · ▲ ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0089/input.js:1:15] - 1 │ "use strict"; arguments => 42 - · ───────── + × Invalid Character `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-73/input.js:1:8] + 1 │ 0b01_1_, 0 + · ▲ ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0090/input.js:1:16] - 1 │ "use strict"; (eval, a) => 42 - · ──── + × Invalid Character `,` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-74/input.js:1:7] + 1 │ 0o1_1_, 0 + · ▲ ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0091/input.js:1:16] - 1 │ "use strict"; (arguments, a) => 42 - · ───────── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-75/input.js:1:3] + 1 │ 0o_1_1_, 0 + · ▲ ╰──── - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0092/input.js:1:2] - 1 │ (a, a) => 42 - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here + × Invalid Character `]` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-76/input.js:1:4] + 1 │ [1_] + · ▲ ╰──── - × Identifier `a` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0093/input.js:1:16] - 1 │ "use strict"; (a, a) => 42 - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `a` has already been declared here + × Invalid Character `]` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-77/input.js:1:6] + 1 │ [1_1_] + · ▲ ╰──── - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0094/input.js:1:22] - 1 │ "use strict"; (a) => 00 - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-78/input.js:1:6] + 1 │ [1_1__] + · ▲ ╰──── - help: for octal literals use the '0o' prefix instead - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0095/input.js:1:1] - 1 │ () <= 42 - · ── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-78/input.js:1:6] + 1 │ [1_1__] + · ─ ╰──── - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0096/input.js:1:1] - 1 │ () ? 42 - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-79/input.js:1:4] + 1 │ [1__1] + · ▲ ╰──── - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0097/input.js:1:1] - 1 │ () + 42 - · ── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-79/input.js:1:4] + 1 │ [1__1] + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0098/input.js:1:5] - 1 │ (10) => 00 - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-8/input.js:1:7] + 1 │ 1_1.1e_1 + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0099/input.js:1:9] - 1 │ (10, 20) => 00 - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-8/input.js:1:7] + 1 │ 1_1.1e_1 + · ─ ╰──── - help: Try insert a semicolon here - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0100/input.js:1:16] - 1 │ "use strict"; (eval) => 42 - · ──── + × Invalid Character `.` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-80/input.js:1:6] + 1 │ [1_1_.1_1] + · ▲ ╰──── - × Expected `,` but found `/` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0102/input.js:1:8] - 1 │ p = { q/ } - · ┬ - · ╰── `,` expected + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-81/input.js:1:6] + 1 │ [1_1._1_1] + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0103/input.js:1:10] - 1 │ p = { "q"/ } - · ─ + × Invalid Character `e` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-82/input.js:1:8] + 1 │ [1_1.1_e1] + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0112/input.js:1:2] - 1 │ a b; - · ▲ + × Invalid Character `E` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-83/input.js:1:8] + 1 │ [1_1.1_E1] + · ▲ ╰──── - help: Try insert a semicolon here - × Expected `(` but found `.` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0113/input.js:1:3] - 1 │ if.a; - · ┬ - · ╰── `(` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-84/input.js:1:8] + 1 │ [1_1.1e_1] + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0114/input.js:1:2] - 1 │ a if; - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-84/input.js:1:8] + 1 │ [1_1.1e_1] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0115/input.js:1:2] - 1 │ a enum; - · ▲ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-85/input.js:1:8] + 1 │ [1_1.1E_1] + · ▲ ╰──── - help: Try insert a semicolon here - × Illegal break statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0116/input.js:1:1] - 1 │ break - · ───── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-85/input.js:1:8] + 1 │ [1_1.1E_1] + · ─ ╰──── - help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0117/input.js:1:7] - 1 │ break 1; - · ─ + × Invalid Character `]` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-86/input.js:1:8] + 1 │ [0x1_1_] + · ▲ ╰──── - × Illegal continue statement: no surrounding iteration statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0118/input.js:1:1] - 1 │ continue - · ──────── + × Invalid Character `]` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-87/input.js:1:8] + 1 │ [0xa_1_] + · ▲ ╰──── - help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0119/input.js:1:10] - 1 │ continue 2; - · ─ + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-88/input.js:1:4] + 1 │ [0x_a_1] + · ▲ ╰──── - × Illegal newline after throw - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/input.js:1:1] - 1 │ throw - · ──┬── - · ╰── throw starts here + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-89/input.js:1:4] + 1 │ [0x__1_1_] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/input.js:2:1] - 1 │ throw + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-9/input.js:1:7] + 1 │ 1_1.1E_1 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0121/input.js:1:6] - 1 │ throw; - · ─ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-9/input.js:1:7] + 1 │ 1_1.1E_1 + · ─ ╰──── - × Illegal newline after throw - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/input.js:1:1] - 1 │ throw - · ──┬── - · ╰── throw starts here + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-90/input.js:1:4] + 1 │ [0x_1__1] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/input.js:2:1] - 1 │ throw + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-91/input.js:1:4] + 1 │ [0x_1_1_] + · ▲ ╰──── - × Only a single declaration is allowed in a `for...in` statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0123/input.js:1:6] - 1 │ for (var i, i2 in {}); - · ───────── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-92/input.js:1:4] + 1 │ [0o_1_1] + · ▲ ╰──── - × Expected `;` but found `)` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0124/input.js:1:15] - 1 │ for ((i in {})); - · ┬ - · ╰── `;` expected + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-93/input.js:1:4] + 1 │ [0o_11] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0125/input.js:1:6] - 1 │ for (i + 1 in {}); - · ───── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-94/input.js:1:4] + 1 │ [0o_01_1_] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0126/input.js:1:6] - 1 │ for (+i in {}); - · ── + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-95/input.js:1:4] + 1 │ [0b_0_1_1] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0127/input.js:2:1] - 1 │ if(false) + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-96/input.js:1:4] + 1 │ [0b_01_1_] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0128/input.js:2:1] - 1 │ if(false) doThis(); else + × Invalid Character `]` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-97/input.js:1:9] + 1 │ [0b01_1_] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0129/input.js:2:1] - 1 │ do + × Invalid Character `]` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-98/input.js:1:8] + 1 │ [0o1_1_] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0130/input.js:2:1] - 1 │ while(false) + × Invalid Character `_` + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-99/input.js:1:4] + 1 │ [0o_1_1_] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0131/input.js:2:1] - 1 │ for(;;) + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-hex/input.js:1:2] + 1 │ "\x1_0"; + · ─── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0132/input.js:2:1] - 1 │ with(x) + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-leading-zero/input.js:1:2] + 1 │ 0_8 + · ─ ╰──── - × Missing catch or finally clause - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0133/input.js:1:8] - 1 │ try { } - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-legacy-octal-literal/input.js:1:3] + 1 │ 00_0 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0134/input.js:1:15] - 1 │ try {} catch (42) {} - · ── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-non-octal-decimal-int/input.js:1:3] + 1 │ 08_0n + · ─ ╰──── - × Expected `)` but found `(` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0135/input.js:1:21] - 1 │ try {} catch (answer()) {} - · ┬ - · ╰── `)` expected + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode/input.js:1:2] + 1 │ "\u{1F_639}" + · ───── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0136/input.js:1:15] - 1 │ try {} catch (-x) {} - · ─ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-2/input.js:1:2] + 1 │ "\u12_34" + · ──── ╰──── - × Invalid Character `‿` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0137/input.js:1:7] - 1 │ \u203F = 10 - · ▲ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-3/input.js:1:2] + 1 │ \u{_0061}; + · ── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/input.js:1:15] - 1 │ const x = 12, y; - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-3/input.js:1:9] + 1 │ \u{_0061}; + · ─ ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0139/input.js:1:7] - 1 │ const x, y = 12; - · ─ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-4/input.js:1:2] + 1 │ \u{00__61}; + · ──── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0140/input.js:1:7] - 1 │ const x; - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-4/input.js:1:10] + 1 │ \u{00__61}; + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0141/input.js:1:13] - 1 │ if(true) let a = 1; - · ▲ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-5/input.js:1:2] + 1 │ \u_0061; + · ─ ╰──── - help: Try insert a semicolon here - × Lexical declaration cannot appear in a single-statement context - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0142/input.js:1:10] - 1 │ if(true) const a = 1; - · ──────────── + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-6/input.js:1:2] + 1 │ \u00__61; + · ─── ╰──── - help: Wrap this declaration in a block statement - × Identifier `default` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0143/input.js:1:14] - 1 │ switch (c) { default: default: } - · ────┬─── ────┬─── - · │ ╰── It can not be redeclared here - · ╰── `default` has already been declared here + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-7/input.js:1:2] + 1 │ \u{0061_}; + · ────── ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0144/input.js:1:9] - 1 │ new X()."s" - · ─── + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/invalid-unicode-7/input.js:1:9] + 1 │ \u{0061_}; + · ─ ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0145/input.js:1:1] - 1 │ /* - · ─── + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/es2021/numeric-separator/template-with-invalid-numeric-separator-in-code-point/input.js:1:2] + 1 │ `abc\u{1000_0000}`; + · ──────────────── ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0146/input.js:1:1] - 1 │ /* - · ─── + × The 'u' and 'v' regular expression flags cannot be enabled at the same time + ╭─[babel/packages/babel-parser/test/fixtures/es2024/regexp-unicode-sets/uv-error/input.js:1:1] + 1 │ /a/ugv; + · ────── ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0147/input.js:1:1] - 1 │ /** - · ──── + × The 'u' and 'v' regular expression flags cannot be enabled at the same time + ╭─[babel/packages/babel-parser/test/fixtures/es2024/regexp-unicode-sets/vu-error/input.js:1:1] + 1 │ /a/vu; + · ───── ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0148/input.js:1:1] - 1 │ ╭─▶ /* - 2 │ │ - 3 │ ╰─▶ * + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/declaration-function/dupe-param/input.js:1:12] + 1 │ function a(x, x) {'use strict';} + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `x` has already been declared here ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0149/input.js:1:1] - 1 │ /*hello - · ──────── + × Identifier `b` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/invalid-dup-param/input.js:1:6] + 1 │ ([a,[b],...b])=>0; + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `b` has already been declared here ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0150/input.js:1:1] - 1 │ /*hello * - · ─────────── + × Unexpected trailing comma after rest element + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/invalid-elision-after-rest/input.js:1:9] + 1 │ ([a,...b,])=>0; + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0151/input.js:1:1] - 1 │ ] - · ─ + × A rest element must be last in a destructuring pattern + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-binding-pattern/invalid-elision-after-rest/input.js:1:5] + 1 │ ([a,...b,])=>0; + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0152/input.js:1:1] - 1 │ ] - · ─ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/dupe-param-1/input.js:2:13] + 1 │ "use strict"; + 2 │ function a([a,a]){ } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0153/input.js:1:1] - 1 │ ] - · ─ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/dupe-param-2/input.js:2:13] + 1 │ "use strict"; + 2 │ function a([a,...a]){ } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0154/input.js:1:1] - 1 │ ] - · ─ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/dupe-param-3/input.js:2:14] + 1 │ "use strict"; + 2 │ function a([{a},...a]){ } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0155/input.js:2:1] - 1 │ // - 2 │ ] - · ─ + × Expected `)` but found `=` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-array-pattern/with-default-catch-param-fail/input.js:1:20] + 1 │ try { } catch ([a] = []) { } + · ┬ + · ╰── `)` expected ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0156/input.js:3:1] - 2 │ ] - · ─ + × Expected `,` but found `...` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/arrow-rest-forgetting-comma/input.js:1:4] + 1 │ (a ...b) => 0 + · ─┬─ + · ╰── `,` expected ╰──── - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/input.js:1:1] - 1 │ /a\ - · ──── - 2 │ / + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-rest/input.js:1:2] + 1 │ (...a, ...b) => 0 + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/input.js:3:1] - 2 │ / + × A rest element must be last in a destructuring pattern + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-rest/input.js:1:2] + 1 │ (...a, ...b) => 0 + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0158/input.js:3:1] - 2 │ - 3 │ ] - · ─ + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/complex-rest-in-arrow-not-allowed/input.js:1:2] + 1 │ (a,...[a]) => 0; + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0159/input.js:2:3] - 1 │ /* - 2 │ */] - · ─ + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-duplicated-params/input.js:1:2] + 1 │ (x, x) => y; + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `x` has already been declared here ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0160/input.js:3:3] - 2 │ */] - · ─ + × Line terminator not permitted before arrow + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/invalid-line-terminator-arrow/input.js:2:1] + 1 │ () + 2 │ => 42 + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0161/input.js:3:3] - 2 │ - 3 │ */] - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/input.js:1:6] + 1 │ ((a)) => 0 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0162/input.js:1:2] - 1 │ \ - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/input.js:1:6] + 1 │ ((a),...b) => 0; + · ─── ╰──── - × Invalid Character `\` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0163/input.js:1:7] - 1 │ \u005c - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-member-expr/input.js:1:11] + 1 │ ({a:b[0]})=>0 + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0164/input.js:1:2] - 1 │ \x - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-method-in-pattern/input.js:1:14] + 1 │ ({get a(){}}) => 0; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0165/input.js:1:7] - 1 │ \u0000 - · ▲ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-nested-param/input.js:1:51] + 1 │ ([[[[[[[[[[[[[[[[[[[[{a:b[0]}]]]]]]]]]]]]]]]]]]]])=>0; + · ▲ ╰──── + help: Try insert a semicolon here - × Invalid Character `‌` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0166/input.js:1:7] - 1 │ \u200C = [] - · ▲ + × Expected `,` but found `=>` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/object-binding-pattern-invalid-pattern-without-parenthesis/input.js:1:4] + 1 │ ({}=>0) + · ─┬ + · ╰── `,` expected ╰──── - × Invalid Character `‍` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0167/input.js:1:7] - 1 │ \u200D = [] - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/param-with-rest-without-arrow/input.js:1:5] + 1 │ (b, ...a) + 1 + · ─── ╰──── - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0168/input.js:1:1] - 1 │ "\ - · ─── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-arrow-function/rest-without-arrow/input.js:1:2] + 1 │ (...a) + 1 + · ─── ╰──── - × Invalid escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0169/input.js:1:2] - 1 │ "\u - · ── + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-class/invalid-eval-in-class-method-params/input.js:1:12] + 1 │ class A {a(eval){}} + · ──── ╰──── - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0169/input.js:1:1] - 1 │ "\u - · ──── + × Invalid assignment in object literal + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-cover-grammar/input.js:1:22] + 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. - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0170/input.js:1:15] - 1 │ try { } catch() {} - · ─ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment/invalid-group-assignment/input.js:1:2] + 1 │ (a,b)=(c,d); + · ─── ╰──── - × TS(1108): A 'return' statement can only be used within a function body. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0171/input.js:1:1] - 1 │ return - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/input.js:1:5] + 1 │ ({a:this}=0) + · ──── ╰──── - × Illegal break statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0172/input.js:1:1] - 1 │ break - · ───── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/input.js:1:6] + 1 │ ({a: this} = 0); + · ──── ╰──── - help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Illegal continue statement: no surrounding iteration statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0173/input.js:1:1] - 1 │ continue - · ──────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/invalid-pattern-with-method/input.js:1:4] + 1 │ ({a(){}}=0) + · ──── ╰──── - help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Illegal continue statement: no surrounding iteration statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0174/input.js:1:23] - 1 │ switch (x) { default: continue; } - · ───────── + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/input.js:2:1] + 1 │ export * ╰──── - help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected `while` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0175/input.js:1:10] - 1 │ do { x } * + × Expected `from` but found `+` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-batch-token/input.js:1:10] + 1 │ export * + · ┬ - · ╰── `while` expected + · ╰── `from` expected ╰──── - × Use of undefined label - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0176/input.js:1:22] - 1 │ while (true) { break x; } - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default/input.js:1:20] + 1 │ export default from "foo" + · ▲ ╰──── + help: Try insert a semicolon here - × Use of undefined label - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0177/input.js:1:25] - 1 │ while (true) { continue x; } - · ─ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-equal/input.js:1:16] + 1 │ export default = 42 + · ─ ╰──── - × Jump target cannot cross function boundary. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/input.js:1:40] - 1 │ x: while (true) { (function () { break x; }); } - · ─ + × A reserved word cannot be used as an exported binding without `from` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/input.js:1:9] + 1 │ export {default} + + · ─────── ╰──── + help: Did you mean `export { default as default } from 'some-module'`? - × Jump target cannot cross function boundary. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0179/input.js:1:43] - 1 │ x: while (true) { (function () { continue x; }); } - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-default-token/input.js:1:17] + 1 │ export {default} + + · ▲ ╰──── + help: Try insert a semicolon here - × Illegal break statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0180/input.js:1:34] - 1 │ x: while (true) { (function () { break; }); } - · ────── + × A reserved word cannot be used as an exported binding without `from` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-named-default/input.js:1:9] + 1 │ export {default} + · ─────── ╰──── - help: A `break` statement can only be used within an enclosing iteration or switch statement. + help: Did you mean `export { default as default } from 'some-module'`? - × Illegal continue statement: no surrounding iteration statement - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0181/input.js:1:34] - 1 │ x: while (true) { (function () { continue; }); } - · ───────── + × Export 'default' is not defined + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/invalid-export-named-default/input.js:1:9] + 1 │ export {default} + · ─────── ╰──── - help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Identifier `x` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/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 + × for-of loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-const-init/input.js:1:6] + 1 │ for (const x = 1 of y); + · ─────────── ╰──── - × Delete of an unqualified identifier in strict mode. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0183/input.js:1:37] - 1 │ (function () { 'use strict'; delete i; }()) - · ─ + × for-of loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-let-init/input.js:1:6] + 1 │ for (let x = 1 of y); + · ───────── ╰──── - × 'with' statements are not allowed - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0184/input.js:1:30] - 1 │ (function () { 'use strict'; with (i); }()) - · ──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-lhs-init/input.js:1:6] + 1 │ for (this of that); + · ──── ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0185/input.js:1:37] - 1 │ function hello() {'use strict'; var eval = 10; } - · ──── + × for-of loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/invalid-var-init/input.js:1:6] + 1 │ for (var x = 1 of y); + · ───────── ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0186/input.js:1:37] - 1 │ function hello() {'use strict'; var arguments = 10; } - · ───────── + × Expected `;` but found `decimal` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-for-of/unexpected-number/input.js:1:15] + 1 │ for (const of 42); + · ─┬ + · ╰── `;` expected ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0187/input.js:1:48] - 1 │ function hello() {'use strict'; try { } catch (eval) { } } - · ──── + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-method-with-invalid-computed-name/input.js:1:6] + 1 │ ({ *[yield iter]() {} }) + · ───── ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0188/input.js:1:48] - 1 │ function hello() {'use strict'; try { } catch (arguments) { } } - · ───────── + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/input.js:2:13] + 1 │ (function*() { + 2 │ function(x = yield 3) {} + · ─ + 3 │ }) ╰──── + help: Function name is required in function declaration or named export - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0189/input.js:1:33] - 1 │ function hello() {'use strict'; eval = 10; } - · ──── + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/input.js:2:18] + 1 │ (function*() { + 2 │ function(x = yield 3) {} + · ───── + 3 │ }) ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0190/input.js:1:33] - 1 │ function hello() {'use strict'; arguments = 10; } - · ───────── + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-element/input.js:2:18] + 1 │ (function*() { + 2 │ function(x = yield 3) {} + · ───┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ }) ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0191/input.js:1:35] - 1 │ function hello() {'use strict'; ++eval; } - · ──── + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/input.js:2:13] + 1 │ (function*() { + 2 │ function({x: y = yield 3}) {} + · ─ + 3 │ }) ╰──── + help: Function name is required in function declaration or named export - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0192/input.js:1:35] - 1 │ function hello() {'use strict'; --eval; } - · ──── + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/input.js:2:22] + 1 │ (function*() { + 2 │ function({x: y = yield 3}) {} + · ───── + 3 │ }) ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0193/input.js:1:35] - 1 │ function hello() {'use strict'; ++arguments; } - · ───────── + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-binding-property/input.js:2:22] + 1 │ (function*() { + 2 │ function({x: y = yield 3}) {} + · ───┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ }) ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0194/input.js:1:35] - 1 │ function hello() {'use strict'; --arguments; } - · ───────── + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/input.js:2:13] + 1 │ (function*() { + 2 │ function({[yield 3]: y}) {} + · ─ + 3 │ }) ╰──── + help: Function name is required in function declaration or named export - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0195/input.js:1:33] - 1 │ function hello() {'use strict'; eval++; } - · ──── + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/input.js:2:16] + 1 │ (function*() { + 2 │ function({[yield 3]: y}) {} + · ───── + 3 │ }) ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0196/input.js:1:33] - 1 │ function hello() {'use strict'; eval--; } - · ──── + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-computed-property-name/input.js:2:16] + 1 │ (function*() { + 2 │ function({[yield 3]: y}) {} + · ───┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ }) ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0197/input.js:1:33] - 1 │ function hello() {'use strict'; arguments++; } - · ───────── + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/input.js:2:14] + 1 │ (function*() { + 2 │ function*(x = yield 3) {} + · ─ + 3 │ }) ╰──── + help: Function name is required in function declaration or named export - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0198/input.js:1:33] - 1 │ function hello() {'use strict'; arguments--; } - · ───────── + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-element/input.js:2:19] + 1 │ (function*() { + 2 │ function*(x = yield 3) {} + · ───┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ }) ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0199/input.js:1:42] - 1 │ function hello() {'use strict'; function eval() { } } - · ──── + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/input.js:2:14] + 1 │ (function*() { + 2 │ function*({x: y = yield 3}) {} + · ─ + 3 │ }) ╰──── + help: Function name is required in function declaration or named export - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0200/input.js:1:42] - 1 │ function hello() {'use strict'; function arguments() { } } - · ───────── + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-binding-property/input.js:2:23] + 1 │ (function*() { + 2 │ function*({x: y = yield 3}) {} + · ───┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ }) ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0201/input.js:1:10] - 1 │ function eval() {'use strict'; } - · ──── + × Expected function name + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/input.js:2:14] + 1 │ (function*() { + 2 │ function*({[yield 3]: y}) {} + · ─ + 3 │ }) ╰──── + help: Function name is required in function declaration or named export - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0202/input.js:1:10] - 1 │ function arguments() {'use strict'; } - · ───────── + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/generator-parameter-invalid-computed-property-name/input.js:2:17] + 1 │ (function*() { + 2 │ function*({[yield 3]: y}) {} + · ───┬─── + · ╰── yield expression not allowed in formal parameter + 3 │ }) ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0203/input.js:1:43] - 1 │ function hello() {'use strict'; (function eval() { }()) } - · ──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/incomplete-yield-delegate/input.js:1:23] + 1 │ (function*() { yield* }) + · ─ ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0204/input.js:1:43] - 1 │ function hello() {'use strict'; (function arguments() { }()) } - · ───────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method/input.js:1:4] + 1 │ ({ * }) + · ─ ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0205/input.js:1:11] - 1 │ (function eval() {'use strict'; })() - · ──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-generator/malformed-generator-method-2/input.js:1:15] + 1 │ class Foo { * } + · ─ ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0206/input.js:1:11] - 1 │ (function arguments() {'use strict'; })() - · ───────── + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_escaped_surrogate_pairs/input.js:1:6] + 1 │ var \uD83B\uDE00 + · ─────────── ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0207/input.js:1:48] - 1 │ function hello() {'use strict'; ({ s: function eval() { } }); } - · ──── + × Cannot use export statement outside a module + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/input.js:1:1] + 1 │ export var answer = await + 1; + · ────── ╰──── - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0208/input.js:1:11] - 1 │ (function package() {'use strict'; })() - · ─────── + × Invalid Character `🀒` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_id_smp/input.js:1:5] + 1 │ var 🀒 + · ─ ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0209/input.js:1:49] - 1 │ function hello() {'use strict'; ({ i: 10, set s(eval) { } }); } - · ──── + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_lone_surrogate/input.js:1:2] + 1 │ \uD800! + · ───── ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0210/input.js:1:42] - 1 │ function hello() {'use strict'; ({ set s(eval) { } }); } - · ──── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_lone_surrogate/input.js:1:7] + 1 │ \uD800! + · ▲ ╰──── + help: Try insert a semicolon here - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0211/input.js:1:50] - 1 │ function hello() {'use strict'; ({ s: function s(eval) { } }); } - · ──── + × Cannot use export statement outside a module + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_var_await/input.js:1:1] + 1 │ export var await; + · ────── ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0212/input.js:1:16] - 1 │ function hello(eval) {'use strict';} - · ──── + × Expected `from` but found `default` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default/input.js:1:8] + 1 │ import default from "foo" + · ───┬─── + · ╰── `from` expected ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0213/input.js:1:16] - 1 │ function hello(arguments) {'use strict';} - · ───────── + × Expected `from` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named/input.js:1:13] + 1 │ import {bar}, foo from "foo" + · ┬ + · ╰── `from` expected ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0214/input.js:1:49] - 1 │ function hello() { 'use strict'; function inner(eval) {} } - · ──── + × Expected `from` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/input.js:1:18] + 1 │ import foo, {bar}, foo from "foo"; + · ┬ + · ╰── `from` expected ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0215/input.js:1:49] - 1 │ function hello() { 'use strict'; function inner(arguments) {} } - · ───────── + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/input.js:2:1] + 1 │ import foo ╰──── - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0216/input.js:1:1] - 1 │ "\1"; 'use strict'; - · ──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-default-module-specifier/input.js:1:17] + 1 │ import foo from bar; + · ─── ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0217/input.js:1:34] - 1 │ function hello() { 'use strict'; "\1"; } - · ──── + × Expected `from` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-comma/input.js:1:12] + 1 │ import foo { bar } from "bar"; + · ┬ + · ╰── `from` expected ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0218/input.js:1:34] - 1 │ function hello() { 'use strict'; 021; } - · ─── + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-missing-module-specifier/input.js:2:1] + 1 │ import { foo, bar } ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0219/input.js:1:37] - 1 │ function hello() { 'use strict'; ({ "\1": 42 }); } - · ──── + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-module-specifier/input.js:1:18] + 1 │ export {foo} from bar + · ▲ ╰──── - help: for octal literals use the '0o' prefix instead + help: Try insert a semicolon here - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0220/input.js:1:37] - 1 │ function hello() { 'use strict'; ({ 021: 42 }); } - · ─── + × Expected `from` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-named/input.js:1:13] + 1 │ import {bar}, {foo} from "foo"; + · ┬ + · ╰── `from` expected ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0221/input.js:1:20] - 1 │ function hello() { "octal directive\1"; "use strict"; } - · ─────────────────── + × Expected `from` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-after-namespace/input.js:1:16] + 1 │ import * as foo, {bar} from "foo"; + · ┬ + · ╰── `from` expected ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0222/input.js:1:20] - 1 │ function hello() { "octal directive\1"; "octal directive\2"; "use strict"; } - · ─────────────────── + × Expected `from` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-named-as-missing-from/input.js:2:1] + 1 │ import {default as foo} ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0222/input.js:1:41] - 1 │ function hello() { "octal directive\1"; "octal directive\2"; "use strict"; } - · ─────────────────── + × Expected `from` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-after-named/input.js:1:13] + 1 │ import {bar}, * as foo from "foo"; + · ┬ + · ╰── `from` expected ╰──── - help: for octal literals use the '0o' prefix instead - × '0'-prefixed octal literals and octal escape sequences are deprecated - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0223/input.js:1:53] - 1 │ function hello() { "use strict"; function inner() { "octal directive\1"; } } - · ─────────────────── + × Expected `as` but found `from` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-namespace-missing-as/input.js:1:10] + 1 │ import * from "foo" + · ──┬─ + · ╰── `as` expected ╰──── - help: for octal literals use the '0o' prefix instead - × The keyword 'implements' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0224/input.js:1:38] - 1 │ function hello() { "use strict"; var implements; } - · ────────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/invalid-import-specifiers/input.js:1:13] + 1 │ import foo, from "bar"; + · ──── ╰──── - × The keyword 'interface' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0225/input.js:1:38] - 1 │ function hello() { "use strict"; var interface; } - · ───────── + × Missing initializer in destructuring declaration + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/input.js:1:5] + 1 │ let [] + · ── ╰──── - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0226/input.js:1:38] - 1 │ function hello() { "use strict"; var package; } - · ─────── + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_const_forin/input.js:1:6] + 1 │ for (const x = 0 in y){} + · ─────────── ╰──── - × The keyword 'private' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0227/input.js:1:38] - 1 │ function hello() { "use strict"; var private; } - · ─────── + × for-in loop variable declaration may not have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-lexical-declaration/invalid_let_forin/input.js:1:6] + 1 │ for (let x = 0 in y){} + · ───────── ╰──── - × The keyword 'protected' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0228/input.js:1:38] - 1 │ function hello() { "use strict"; var protected; } - · ───────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-dots/input.js:1:30] + 1 │ var x = function() { y = new..target; } + · ─ ╰──── - × The keyword 'public' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0229/input.js:1:38] - 1 │ function hello() { "use strict"; var public; } - · ────── + × Unexpected new.target expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/invalid-new-target/input.js:1:9] + 1 │ var x = new.target; + · ────────── ╰──── + help: new.target is only allowed in constructors and functions invoked using thew `new` operator - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0230/input.js:1:38] - 1 │ function hello() { "use strict"; var static; } - · ────── + × The only valid meta property for new is new.target + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-meta-property/unknown-property/input.js:1:22] + 1 │ var f = function() { new.unknown_property; } + · ──────────────────── ╰──── - × The keyword 'yield' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0231/input.js:1:38] - 1 │ function hello() { "use strict"; var yield; } - · ───── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/input.js:1:21] + 1 │ ({ get __proto(){}, "__proto__": null, __proto__: null, }) + · ─────┬───── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × The keyword 'let' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0232/input.js:1:38] - 1 │ function hello() { "use strict"; var let; } - · ─── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/input.js:1:4] + 1 │ ({ __proto__: null, "__proto__": null }) + · ────┬──── ─────┬───── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0233/input.js:1:16] - 1 │ function hello(static) { "use strict"; } - · ────── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/input.js:1:4] + 1 │ ({ __proto__: null, __proto__: null }) + · ────┬──── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0234/input.js:1:10] - 1 │ function static() { "use strict"; } - · ────── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/input.js:1:4] + 1 │ ({ "__proto__": null, __proto__: null }) + · ─────┬───── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0235/input.js:1:10] - 1 │ function eval(a) { "use strict"; } - · ──── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/input.js:1:4] + 1 │ ({ "__proto__": null, '__proto__': null }) + · ─────┬───── ─────┬───── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × Cannot assign to 'arguments' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0236/input.js:1:10] - 1 │ function arguments(a) { "use strict"; } - · ───────── + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/input.js:1:24] + 1 │ ({ set __proto__(x){}, "__proto__": null, __proto__: null, }) + · ─────┬───── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0239/input.js:1:24] - 1 │ "use strict"; function static() { } - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dot-dot/input.js:1:3] + 1 │ f(..g); + · ─ ╰──── - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0240/input.js:1:12] - 1 │ function a(t, t) { "use strict"; } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `t` has already been declared here + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-dots/input.js:1:6] + 1 │ f(....g); + · ─ ╰──── - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0241/input.js:1:12] - 1 │ function a(eval) { "use strict"; } - · ──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-call-spreads/input.js:1:7] + 1 │ f(... ... g); + · ─── ╰──── - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0242/input.js:1:12] - 1 │ function a(package) { "use strict"; } - · ─────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dot-dot/input.js:1:7] + 1 │ new f(..g); + · ─ ╰──── - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0243/input.js:1:41] - 1 │ function a() { "use strict"; function b(t, t) { }; } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `t` has already been declared here + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-dots/input.js:1:10] + 1 │ new f(....g); + · ─ ╰──── - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0244/input.js:1:13] - 1 │ (function a(t, t) { "use strict"; }) - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `t` has already been declared here + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-spread-element/invalid-new-spreads/input.js:1:11] + 1 │ new f(... ... g); + · ─── ╰──── - × Identifier `t` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0245/input.js:1:42] - 1 │ function a() { "use strict"; (function b(t, t) { }); } - · ┬ ┬ - · │ ╰── It can not be redeclared here - · ╰── `t` has already been declared here + × 'super' can only be used with function calls or in property accesses + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_access/input.js:3:10] + 2 │ constructor() { + 3 │ (super)(); + · ───── + 4 │ } ╰──── + help: replace with `super()` or `super.prop` or `super[prop]` - × Cannot assign to 'eval' in strict mode - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0246/input.js:1:13] - 1 │ (function a(eval) { "use strict"; }) - · ──── + × 'super' can only be used with function calls or in property accesses + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_id/input.js:2:17] + 1 │ class A { + 2 │ foo() { new super + 3 } + · ───── + 3 │ } ╰──── + help: replace with `super()` or `super.prop` or `super[prop]` - × The keyword 'package' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0247/input.js:1:13] - 1 │ (function a(package) { "use strict"; }) - · ─────── + × Super calls are not permitted outside constructors or in nested functions inside constructors. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_id/input.js:2:13] + 1 │ class A { + 2 │ foo() { new super + 3 } + · ───────── + 3 │ } ╰──── - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/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 + × Super calls are not permitted outside constructors or in nested functions inside constructors. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-super-property/invalid_super_not_inside_function/input.js:1:9] + 1 │ var x = super(); + · ─────── ╰──── - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0249/input.js:1:26] - 1 │ "use strict"; function t(__proto__, __proto__) { } - · ────┬──── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Expected `(` but found `${}` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/after-switch/input.js:1:8] + 1 │ switch `test` + · ───┬── + · ╰── `(` expected ╰──── - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/input.js:1:7] - 1 │ x = { __proto__: 42, __proto__: 43 } - · ────┬──── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-escape/input.js:1:2] + 1 │ `\1`; + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0252/input.js:2:1] - 1 │ var + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-octal-literal/input.js:1:2] + 1 │ `\00`; + · ─── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0254/input.js:2:1] - 1 │ const + × Bad escape sequence in untagged template literal + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/invalid-strict-octal-literal/input.js:1:16] + 1 │ 'use strict'; `\00`; + · ─── ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0255/input.js:2:1] - 1 │ { ; ; + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed/input.js:1:1] + 1 │ `test + · ────── ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0256/input.js:2:1] - 1 │ function t() { ; ; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed-interpolation/input.js:1:12] + 1 │ `hello ${10;test` + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0257/input.js:1:16] - 1 │ 'use strict'; a package - · ▲ + × Expected `$}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-template-literals/unclosed-nested/input.js:2:1] + 1 │ `hello ${10 `test` ╰──── - help: Try insert a semicolon here - × A rest parameter must be last in a parameter list - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0258/input.js:1:15] - 1 │ function f(a, ...b, c){} - · ──── + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-binding-property/input.js:1:13] + 1 │ var {x: y = yield 3} = z; + · ───── ╰──── - × A rest parameter cannot have an initializer - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0260/input.js:1:15] - 1 │ function x(...a = 1){} + × A 'yield' expression is only allowed in a generator body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/input.js:1:15] + 1 │ (function() { yield 3; }) · ───── ╰──── - × Expected `{` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0261/input.js:2:1] - 1 │ class - ╰──── - - × Expected `{` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0262/input.js:2:1] - 1 │ class + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-default/input.js:1:22] + 1 │ function* g() { (x = yield 42) => {} } + · ────┬─── + · ╰── yield expression not allowed in formal parameter ╰──── - × Expected `{` but found `;` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0263/input.js:1:6] - 1 │ class; - · ┬ - · ╰── `{` expected + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameter/input.js:1:17] + 1 │ function *g(){ (yield) => 42 } + · ───── ╰──── - × Expected `{` but found `+` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0264/input.js:1:19] - 1 │ class A extends a + b {} - · ┬ - · ╰── `{` expected + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-arrow-parameters/input.js:1:26] + 1 │ function *g(){ (a, b, c, yield) => 42 } + · ───── ╰──── - × Expected `{` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0265/input.js:2:1] - 1 │ class A + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-catch/input.js:1:31] + 1 │ function *g() { try {} catch (yield) {} } + · ───── ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0266/input.js:2:1] - 1 │ class A { + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-declaration/input.js:1:27] + 1 │ function *g() { function *yield(){} } + · ───── ╰──── - × Expected `{` but found `;` - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0267/input.js:1:8] - 1 │ class A; - · ┬ - · ╰── `{` expected + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-export-default/input.js:1:26] + 1 │ export default function *yield() {} + · ───── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0268/input.js:1:11] - 1 │ class A {a:0} - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-name/input.js:1:11] + 1 │ (function*yield(){}) + · ───── ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0269/input.js:1:15] - 1 │ class A {a(){},b(){}} - · ─ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-parameter/input.js:1:13] + 1 │ (function *(yield){}) + · ───── ╰──── - × Classes may not have a static property named prototype - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0270/input.js:1:17] - 1 │ class A {static prototype(){}} - · ───────── + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-expression-rest/input.js:1:19] + 1 │ (function *(x, ...yield){}) + · ───── ╰──── - × Classes may not have a static property named prototype - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0271/input.js:1:17] - 1 │ class A {static "prototype"(){}} - · ─────────── + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-function-declaration/input.js:1:26] + 1 │ function *g() { function yield() {} } + · ───── ╰──── - × Constructor can't have get/set modifier - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0272/input.js:1:14] - 1 │ class A {get constructor(){}} - · ─────────── + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-lexical-declaration/input.js:1:21] + 1 │ function *g() { let yield; } + · ───── ╰──── - × Constructor can't have get/set modifier - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0273/input.js:1:14] - 1 │ class A {set constructor(m){}} - · ─────────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-member-expression/input.js:1:29] + 1 │ function *g() { return yield.x; } + · ─ ╰──── - × Multiple constructor implementations are not allowed. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0274/input.js:1:10] - 1 │ class A {constructor(){} "constructor"(){}} - · ─────┬───── ──────┬────── - · │ ╰── it cannot be redeclared here - · ╰── constructor has already been declared here + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-parameter/input.js:1:13] + 1 │ function *g(yield){} + · ───── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0275/input.js:1:11] - 1 │ class A {a static(){}} - · ▲ + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-rest/input.js:1:25] + 1 │ function *g(a, b, c, ...yield){} + · ───── ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0277/input.js:1:12] - 1 │ class A {a(enum){}} - · ──── + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-strict-function-expression/input.js:1:47] + 1 │ "use strict"; function *g(){ var y = function yield(){}; } + · ───── ╰──── - × The keyword 'static' is reserved - ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0278/input.js:1:18] - 1 │ class A {static [static](){};} - · ────── + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-strict-function-parameter/input.js:1:48] + 1 │ "use strict"; function *g() { var z = function(yield) {} } + · ───── ╰──── - × A 'set' accessor cannot have rest parameter. - ╭─[babel/packages/babel-parser/test/fixtures/esprima/rest-parameter/invalid-setter-rest/input.js:1:13] - 1 │ x = { set f(...y) {} } - · ──── + × Cannot use `yield` as an identifier in a generator context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-generator-variable-declaration/input.js:1:21] + 1 │ function *g() { var yield; } + · ───── ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0002/input.js:1:2] - 1 │ \\u0061 - · ─ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-array-pattern/input.js:1:17] + 1 │ "use strict"; ([yield] = x) + · ───── ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0003/input.js:1:3] - 1 │ a\\u0061 - · ─ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-default/input.js:1:20] + 1 │ "use strict"; (x = yield) => {} + · ───── ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0004/input.js:1:2] - 1 │ \\u0061a - · ─ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-arrow-parameter-name/input.js:1:16] + 1 │ "use strict"; (yield) => 42 + · ───── ╰──── - × Invalid Unicode escape sequence - ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0005/input.js:1:2] - 1 │ \\u0061a - · ─ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-binding-element/input.js:1:24] + 1 │ "use strict"; var { x: yield } = foo; + · ───── ╰──── - × Missing initializer in destructuring declaration - ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-variable/complex-pattern-requires-init/input.js:1:5] - 1 │ var [] - · ── + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-catch-parameter/input.js:1:29] + 1 │ "use strict"; try {} catch (yield) {} + · ───── ╰──── - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/estree/object-method/invalid-setter/input.js:1:9] - 1 │ ({ set x(){} }) - · ── + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/input.js:1:26] + 1 │ "use strict"; function f(yield) {} + · ───── ╰──── - × A 'set' accessor must have exactly one parameter. - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/getter-setter/input.ts:3:9] - 2 │ ({ get x() { return 1 } }); - 3 │ ({ set x() {} }); - · ── - 4 │ ({ get x(x) {} }); + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-declaration/input.js:1:10] + 1 │ function yield(){ "use strict"; } + · ───── ╰──── - × A 'get' accessor must not have any formal parameters. - ╭─[babel/packages/babel-parser/test/fixtures/estree/typescript/getter-setter/input.ts:4:9] - 3 │ ({ set x() {} }); - 4 │ ({ get x(x) {} }); - · ─── + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-expression/input.js:1:11] + 1 │ (function yield(){ "use strict"; }) + · ───── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/bad_01/input.js:1:12] - 1 │ var f = (x): number => 123 => 123; - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-identifier/input.js:1:30] + 1 │ "use strict"; function f() { yield } + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/bad_02/input.js:1:12] - 1 │ var f = (x): string | number => 123 => 123; - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/input.js:1:19] + 1 │ "use strict"; let yield = 42; + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/bad_01/input.js:1:12] - 1 │ var f = (x): (number) => 123 => 123; - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-rest-parameter/input.js:1:29] + 1 │ "use strict"; function f(...yield) {} + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/bad_02/input.js:1:12] - 1 │ var f = (x): string | (number) => 123 => 123; - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-variable-declaration/input.js:1:19] + 1 │ "use strict"; var yield; + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/bad_03/input.js:1:12] - 1 │ var f = (x): ?(number) => 123 => 123; - · ▲ + × yield expression not allowed in formal parameter + ╭─[babel/packages/babel-parser/test/fixtures/esprima/es2015-yield/yield-generator-arrow-default/input.js:1:22] + 1 │ function *g() { (x = yield) => {} } + · ──┬── + · ╰── yield expression not allowed in formal parameter ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58-ambiguous/input.js:4:19] - 3 │ // a ? ((b): c => d) : (e => f) - 4 │ a ? (b) : c => (d) : e => f; + × Invalid Character ` ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/expression-primary-array/migrated_0012/input.js:1:19] + 1 │ \u2163\u2161\u200A · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58-failing-1/input.js:2:19] - 1 │ // Function which looks like a return type - 2 │ a ? (b) : (c => d) => e; - · ▲ + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-00/input.js:1:2] + 1 │ "\x"; + · ── ╰──── - help: Try insert a semicolon here - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58-failing-2/input.js:2:37] - 1 │ // Invalid LHS parameter after type parameters - 2 │ a ? (b => c) : d => (e) : f => g; + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-01/input.js:1:2] + 1 │ "\x0"; + · ─── ╰──── - × Expected `:` but found `=>` - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58-failing-3/input.js:2:14] - 1 │ // Invalid LHS parameter after type parameters - 2 │ a ? (b => c) => (e) : f => g; - · ─┬ - · ╰── `:` expected + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-02/input.js:1:2] + 1 │ "\xx"; + · ── ╰──── - × Expected `:` but found `=>` - ╭─[babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58-failing-4/input.js:2:20] - 1 │ // Invalid LHS parameter - 2 │ a ? async (b => c) => (d) : f => g; - · ─┬ - · ╰── `:` expected + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-03/input.js:1:2] + 1 │ "\u"; + · ── ╰──── - × Identifier `__proto__` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/flow/async-call/parenthesized-argument-object-double-proto/input.js:1:11] - 1 │ async?.({ __proto__: x, __proto__: y }) - · ────┬──── ────┬──── - · │ ╰── It can not be redeclared here - · ╰── `__proto__` has already been declared here + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-04/input.js:1:2] + 1 │ "\u0"; + · ─── ╰──── - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/async-call/with-optional-parameter/input.js:1:8] - 1 │ async(x?) - · ┬ - · ╰── `,` expected + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-05/input.js:1:2] + 1 │ "\ux"; + · ── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-before-decorators/input.js:2:10] - 1 │ class A { - 2 │ declare @dec foo - · ▲ - 3 │ } + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-06/input.js:1:2] + 1 │ "\u00"; + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/class-properties/invalid-getter-setter/input.js:1:8] - 1 │ declare class B { - · ▲ - 2 │ get a: number; + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-07/input.js:1:2] + 1 │ "\u000"; + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/classes/constructor-override-with-class-prop-plugin/input.js:2:14] - 1 │ class Foo { - 2 │ constructor: () => this; - · ▲ - 3 │ } + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/GH-1106-09/input.js:1:1] + 1 │ "\9"; + · ──── ╰──── - help: Try insert a semicolon here + help: \8 and \9 are not allowed in strict mode - × Expected `{` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/flow/classes/mixins-error/input.js:1:9] - 1 │ class A mixins B {} - · ───┬── - · ╰── `{` expected + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0000/input.js:2:1] + 1 │ { ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/06-type-include-error/input.js:2:3] - 1 │ class MyClass { - 2 │ ╭─▶ /* :: prop: string; - 3 │ ╰─▶ } + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0001/input.js:1:1] + 1 │ } + · ─ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/06-type-include-error/input.js:2:3] - 1 │ class MyClass { - 2 │ ╭─▶ /* :: prop: string; - 3 │ ├─▶ } - · ╰──── `}` expected + × Invalid Character `a` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/input.js:1:3] + 1 │ 3ea + · ▲ ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/07-type-include-error/input.js:1:1] - 1 │ ╭─▶ /*:: - 2 │ │ type Foo = { - 3 │ │ foo: number, - 4 │ │ bar: boolean, - 5 │ │ baz: string - 6 │ ╰─▶ }; + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0002/input.js:1:3] + 1 │ 3ea + · ─ ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/08-type-flow-include-error/input.js:1:1] - 1 │ ╭─▶ /* flow-include - 2 │ │ type Foo = { - 3 │ │ foo: number, - 4 │ │ bar: boolean, - 5 │ │ baz: string - 6 │ ╰─▶ }; + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0003/input.js:1:2] + 1 │ 3in [] + · ── ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/09-type-flow-include-error/input.js:2:3] - 1 │ class MyClass { - 2 │ ╭─▶ /*flow-include prop: string; - 3 │ ╰─▶ } + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/input.js:1:3] + 1 │ 3e + · ▲ ╰──── - × Expected `}` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/09-type-flow-include-error/input.js:2:3] - 1 │ class MyClass { - 2 │ ╭─▶ /*flow-include prop: string; - 3 │ ├─▶ } - · ╰──── `}` expected + × Invalid Number invalid float + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0004/input.js:1:1] + 1 │ 3e + · ── ╰──── - × Unterminated multiline comment - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/10-type-annotation-error/input.js:1:23] - 1 │ ╭─▶ function method(param /*: string) { - 2 │ ╰─▶ } + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/input.js:1:4] + 1 │ 3e+ + · ▲ ╰──── - × Expected `)` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/comment/10-type-annotation-error/input.js:1:23] - 1 │ ╭─▶ function method(param /*: string) { - 2 │ ├─▶ } - · ╰──── `)` expected + × Invalid Number invalid float + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0005/input.js:1:1] + 1 │ 3e+ + · ─── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-with-mixin-order/input.js:1:8] - 1 │ declare class A implements B mixins C {} - · ▲ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/input.js:1:4] + 1 │ 3e- + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-declare-export-type/input.js:1:8] - 1 │ declare export type foo = number; - · ▲ + × Invalid Number invalid float + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0006/input.js:1:1] + 1 │ 3e- + · ─── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-arrow/input.js:1:8] - 1 │ declare export (a:number) => number - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0007/input.js:1:2] + 1 │ 3x + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-const/input.js:1:8] - 1 │ declare export const foo: number - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0008/input.js:1:2] + 1 │ 3x0 + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-default-function/input.js:1:8] - 1 │ declare export default function (p1: number): string; - · ▲ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0009/input.js:1:3] + 1 │ 0x + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-default-var/input.js:1:8] - 1 │ declare export default var a: number - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0010/input.js:1:3] + 1 │ 01a + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-interface/input.js:1:8] - 1 │ declare export interface bar {} - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0011/input.js:1:4] + 1 │ 0o1a + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-export/invalid-export-let/input.js:1:8] - 1 │ declare export let foo: number - · ▲ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0012/input.js:1:3] + 1 │ 0o + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/7/input.js:1:8] - 1 │ declare module A { declare module.foo: { foo(): number; } } - · ▲ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0013/input.js:1:3] + 1 │ 0O + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/8/input.js:1:8] - 1 │ declare module A { - · ▲ - 2 │ declar var a:number + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0014/input.js:1:3] + 1 │ 0o9 + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/invalid-commonjs-module/input.js:1:8] - 1 │ declare module "foo" { declare module.exports: number; declare export var a: number; } - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0015/input.js:1:4] + 1 │ 0o18 + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/invalid-es-module/input.js:1:8] - 1 │ declare module "foo" { declare export var a: number; declare module.exports: number; } - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0016/input.js:1:4] + 1 │ 0O1a + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/invalid-import/input.js:1:8] - 1 │ declare module "M" { import T from "TM"; } - · ▲ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0017/input.js:1:3] + 1 │ 0b + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/invalid-module-in-module/input.js:1:8] - 1 │ declare module A { declare module B {} } - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0018/input.js:1:4] + 1 │ 0b1a + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-module/invalid-multiple-commonjs/input.js:1:8] - 1 │ declare module "foo" { declare module.exports: string; declare module.exports: number; } - · ▲ + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0019/input.js:1:3] + 1 │ 0b9 + · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/class-multiple-extends-invalid/input.js:1:8] - 1 │ declare class A extends B, C {} - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0020/input.js:1:4] + 1 │ 0b18 + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/invalid/input.js:1:8] - 1 │ declare foobar - · ▲ + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0021/input.js:1:4] + 1 │ 0b12 + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/declare-statements/invalid-literal/input.js:1:8] - 1 │ declare 1; - · ▲ + × Invalid Character ` + │ ` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0022/input.js:1:3] + 1 │ 0B + · ▲ ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-member-not-initialized-explicit/input.js:1:1] - 1 │ enum E of boolean { - · ──── - 2 │ A, + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0023/input.js:1:4] + 1 │ 0B1a + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-member-not-initialized-implicit/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A, + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0024/input.js:1:3] + 1 │ 0B9 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/duplicate-member-name/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A, + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0025/input.js:1:4] + 1 │ 0B18 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/end-of-file/input.js:1:1] - 1 │ enum - · ──── + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0026/input.js:1:4] + 1 │ 0B12 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/inconsistent-member-values-majority-defaulted/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A, + × Invalid Character `9` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0027/input.js:1:3] + 1 │ 0O9 + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/inconsistent-member-values-mixed-initializers/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A = 1, + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0028/input.js:1:4] + 1 │ 0O18 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-explicit-type-expression/input.js:1:1] - 1 │ enum E of [] { - · ──── - 2 │ } + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0029/input.js:1:2] + 1 │ 3in[] + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-explicit-type-identifier/input.js:1:1] - 1 │ enum E of xxx { - · ──── - 2 │ } + × Invalid characters after number + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0030/input.js:1:4] + 1 │ 0x3in[] + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-boolean-explicit-string/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A = true, + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0031/input.js:1:1] + 1 │ "Hello + · ─────── + 2 │ World" ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-expression-explicit-boolean/input.js:1:1] - 1 │ enum E of boolean { - · ──── - 2 │ A = 1 + 2, + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0032/input.js:1:3] + 1 │ x\ + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-expression-explicit-number/input.js:1:1] - 1 │ enum E of number { - · ──── - 2 │ A = 1 + 2, + × Invalid Character `\` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0033/input.js:1:8] + 1 │ x\u005c + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-expression-explicit-string/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A = 1 + 2, + × Invalid Character `*` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0034/input.js:1:8] + 1 │ x\u002a + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-expression-explicit-symbol/input.js:1:1] - 1 │ enum E of symbol { - · ──── - 2 │ A = 1 + 2, + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0036/input.js:1:3] + 1 │ a\u + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-expression-implicit/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A = 1 + 2, + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0037/input.js:1:2] + 1 │ \ua + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-literal-explicit-symbol/input.js:1:1] - 1 │ enum E of symbol { - · ──── - 2 │ A = 1, + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0038/input.js:1:1] + 1 │ / + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-number-explicit-boolean/input.js:1:1] - 1 │ enum E of boolean { - · ──── - 2 │ A = 1, + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0039/input.js:1:1] + 1 │ /test + · ────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-number-explicit-string/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A = 1, + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/input.js:1:1] + 1 │ /test + · ────── + 2 │ / ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-parenthesized/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A = (1), + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0040/input.js:3:1] + 2 │ / ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-string-explicit-boolean/input.js:1:1] - 1 │ enum E of boolean { - · ──── - 2 │ A = "hi", + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0041/input.js:1:17] + 1 │ var x = /[a-z]/\ux + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-initializer-string-explicit-number/input.js:1:1] - 1 │ enum E of number { - · ──── - 2 │ A = "hi", + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0041/input.js:1:16] + 1 │ var x = /[a-z]/\ux + · ▲ ╰──── + help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/invalid-member-name/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ foo, + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0042/input.js:1:19] + 1 │ var x = /[a-z\n]/\ux + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-member-not-initialized-explicit/input.js:1:1] - 1 │ enum E of number { - · ──── - 2 │ A, + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0042/input.js:1:18] + 1 │ var x = /[a-z\n]/\ux + · ▲ ╰──── + help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-member-not-initialized-implicit/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ A, + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0043/input.js:1:17] + 1 │ var x = /[a-z]/\\ux + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/reserved-word-enum-name/input.js:1:1] - 1 │ enum class { - · ──── - 2 │ } + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0043/input.js:1:16] + 1 │ var x = /[a-z]/\\ux + · ▲ ╰──── + help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-member-inconsistently-initialized-majority-defaulted/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A = "a", + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0044/input.js:1:18] + 1 │ var x = /[P QR]/\\u0067 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-member-inconsistently-initialized-majority-initialized/input.js:1:1] - 1 │ enum E of string { - · ──── - 2 │ A, + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0044/input.js:1:17] + 1 │ var x = /[P QR]/\\u0067 + · ▲ ╰──── + help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/enum-declaration/unknown-members-invalid/input.js:1:1] - 1 │ enum E { - · ──── - 2 │ ..., + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0045/input.js:1:1] + 1 │ 3 = 4 + · ─ ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/expect-plugin/export-interface/input.js:1:1] - 1 │ export interface Foo {} + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0046/input.js:1:1] + 1 │ func() = 4 · ────── ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/expect-plugin/export-type/input.js:1:1] - 1 │ export type Foo = number; - · ────── + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0047/input.js:1:2] + 1 │ (1 + 1) = 10 + · ───── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/expect-plugin/export-type-named/input.js:2:13] - 1 │ var Foo; - 2 │ export type { Foo }; - · ─ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0048/input.js:1:2] + 1 │ \u{110000} + · ──────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects1/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ declare class A { + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0048/input.js:1:10] + 1 │ \u{110000} + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects2/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ declare class B { + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0049/input.js:1:2] + 1 │ \u{} + · ── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects3/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ declare class C { + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0049/input.js:1:4] + 1 │ \u{} + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects4/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ declare class D { + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0050/input.js:1:2] + 1 │ \u{FFFF + · ────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects5/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ interface F { + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0051/input.js:1:2] + 1 │ \u{FFZ} + · ──── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects6/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ interface G { + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0051/input.js:1:7] + 1 │ \u{FFZ} + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_disallowed_in_non_objects7/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ interface H { + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0052/input.js:1:1] + 1 │ 1++ + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_forbidden_in_exact/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type T = {| foo: number, ... |} + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0053/input.js:1:1] + 1 │ 1-- + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_must_appear_last/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type T = {..., foo: number}; + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0054/input.js:1:3] + 1 │ ++1 + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_object_invalid1/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type T = {x: number, ..., y: number}; + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0055/input.js:1:3] + 1 │ --1 + · ─ ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_object_invalid2/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type U = {x: number, ..., ...}; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0056/input.js:1:5] + 1 │ for((1 + 1) in list) process(x); + · ─────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_object_invalid3/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type V = {x: number, ..., ...X}; + × Expected `]` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0057/input.js:2:1] + 1 │ [ ╰──── - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/imports/imports-with-as-identifiers/input.js:2:1] - 1 │ // @flow - 2 │ import { foo as as } from "foo"; - · ────── - 3 │ import { as as as } from "foo"; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0058/input.js:2:1] + 1 │ [, ╰──── - × Identifier `as` has already been declared - ╭─[babel/packages/babel-parser/test/fixtures/flow/imports/imports-with-as-identifiers/input.js:2:17] - 1 │ // @flow - 2 │ import { foo as as } from "foo"; - · ─┬ - · ╰── `as` has already been declared here - 3 │ import { as as as } from "foo"; - · ─┬ - · ╰── It can not be redeclared here - 4 │ import { as as foo } from "foo"; + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0059/input.js:2:1] + 1 │ 1 + { ╰──── - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/imports/imports-with-as-identifiers/input.js:3:1] - 2 │ import { foo as as } from "foo"; - 3 │ import { as as as } from "foo"; - · ────── - 4 │ import { as as foo } from "foo"; + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0060/input.js:2:1] + 1 │ 1 + { t:t ╰──── - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/imports/imports-with-as-identifiers/input.js:4:1] - 3 │ import { as as as } from "foo"; - 4 │ import { as as foo } from "foo"; - · ────── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0061/input.js:2:1] + 1 │ 1 + { t:t, ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/escape-in-interface/input.js:1:15] - 1 │ interf\u{61}ce A {} - · ▲ + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/input.js:1:9] + 1 │ var x = / + · ── + 2 │ / ╰──── - help: Try insert a semicolon here - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-multiple-reserved-invalid-1/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ interface I extends X, bool {} + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0062/input.js:3:1] + 2 │ / ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-multiple-reserved-invalid-2/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ interface I extends X, bool.m {} + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0063/input.js:1:9] + 1 │ var x = " + · ── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-reserved-invalid-1/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ interface I extends bool {} + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0064/input.js:1:5] + 1 │ var if = 42 + · ── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-reserved-invalid-2/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ interface I extends bool.m {} + × Invalid Character `=` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/input.js:1:4] + 1 │ i #= 42 + · ─ ╰──── × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/invalid-declare-implements/input.js:1:8] - 1 │ declare interface A implements I { p: string } - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0065/input.js:1:2] + 1 │ i #= 42 + · ▲ ╰──── help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/invalid-declare-mixins/input.js:1:8] - 1 │ declare interface A mixins M { p: string } - · ▲ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0066/input.js:1:1] + 1 │ i + 2 = 42 + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/invalid-implements/input.js:1:10] - 1 │ interface A implements I { p: string } - · ▲ + × Cannot assign to this expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0067/input.js:1:1] + 1 │ +i = 42 + · ── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interface-types/invalid-mixins/input.js:1:10] - 1 │ interface A mixins M { p: string } - · ▲ + × Expected `)` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0068/input.js:2:1] + 1 │ 1 + ( ╰──── - help: Try insert a semicolon here - × Cannot use import statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/import-statement/input.js:1:1] - 1 │ import interface from "foo"; - · ────── + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0069/input.js:2:1] + 1 │ { ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-type-invalid/input.js:1:10] - 1 │ interface string {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0070/input.js:3:1] + 2 │ comment */ + 3 │ ) + · ─ ╰──── - help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface-variance/input.js:1:10] - 1 │ interface T { +[[foo]](): X } - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0071/input.js:1:6] + 1 │ { set 1 } + · ▲ ╰──── help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-variance/input.js:1:5] - 1 │ type T = { +[[foo]]: X } - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0072/input.js:1:6] + 1 │ { get 2 } + · ▲ ╰──── help: Try insert a semicolon here × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/03/input.js:1:5] - 1 │ var @@asyncIterator; - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0073/input.js:1:11] + 1 │ ({ set: s(if) { } }) + · ── ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/04/input.js:1:5] - 1 │ var @@iterator; - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0074/input.js:1:10] + 1 │ ({ set s(.) { } }) + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/05/input.js:3:1] - 2 │ @@asyncIterator(){} - 3 │ } - · ─ + × A 'set' accessor must have exactly one parameter. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0075/input.js:1:9] + 1 │ ({ set s() { } }) + · ── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/06/input.js:3:1] - 2 │ @@iterator(){} - 3 │ } - · ─ + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0076/input.js:1:13] + 1 │ ({ set: s() { } }) + · ┬ + · ╰── `,` expected ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/07/input.js:1:5] - 1 │ type @@iterator = number - · ▲ + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0077/input.js:1:17] + 1 │ ({ set: s(a, b) { } }) + · ┬ + · ╰── `,` expected ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/08/input.js:1:5] - 1 │ type @@asyncIterator = number - · ▲ + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0078/input.js:1:14] + 1 │ ({ get: g(d) { } }) + · ┬ + · ╰── `,` expected + ╰──── + + × Expected `]` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0080/input.js:1:5] + 1 │ ({[a,b]:0}) + · ┬ + · ╰── `]` expected + ╰──── + + × Expected `]` but found `,` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0081/input.js:1:8] + 1 │ ({get[a,b]:0}) + · ┬ + · ╰── `]` expected ╰──── - help: Try insert a semicolon here × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/09/input.js:2:3] - 1 │ let x = { - 2 │ @@iterator() {} + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0082/input.js:1:3] + 1 │ ({(a):0}) · ─ - 3 │ } ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/10/input.js:2:3] - 1 │ let x = { - 2 │ @@asyncIterator() {} - · ─ - 3 │ } + × Expected `,` but found `{` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0083/input.js:1:6] + 1 │ ({get{a}:0}) + · ┬ + · ╰── `,` expected ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/iterator/11/input.js:2:3] - 1 │ let x = { - 2 │ @@random() {} - · ─ - 3 │ } + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0084/input.js:2:1] + 1 │ ({get ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/invalid-number-negative/input.js:1:6] - 1 │ var a: -z - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0087/input.js:1:16] + 1 │ "use strict"; (eval = 10) => 42 + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/literal-types/invalid-number-positive/input.js:1:6] - 1 │ var a: +1 - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0088/input.js:1:15] + 1 │ "use strict"; eval => 42 + · ──── ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/module-string-names/import-local-is-string/input.js:1:10] - 1 │ import { "foo" } from "baz"; - · ───── + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0089/input.js:1:15] + 1 │ "use strict"; arguments => 42 + · ───────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/class/input.js:1:8] - 1 │ declare class C1 {} - · ▲ - 2 │ class C1 {} + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0090/input.js:1:16] + 1 │ "use strict"; (eval, a) => 42 + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/interface/input.js:1:10] - 1 │ interface I {}; - · ▲ - 2 │ interface I {}; + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0091/input.js:1:16] + 1 │ "use strict"; (arguments, a) => 42 + · ───────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/type/input.js:1:5] - 1 │ type T1 = string; - · ▲ - 2 │ type T1 = number; + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0092/input.js:1:2] + 1 │ (a, a) => 42 + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/object-types/invalid-getter-param-count/input.js:1:5] - 1 │ type B = { - · ▲ - 2 │ get a(foo:number): number; + × Identifier `a` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0093/input.js:1:16] + 1 │ "use strict"; (a, a) => 42 + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `a` has already been declared here ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/object-types/invalid-getter-param-count-rest/input.js:1:5] - 1 │ type B = { - · ▲ - 2 │ get a(...foo): number; + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0094/input.js:1:22] + 1 │ "use strict"; (a) => 00 + · ── ╰──── - help: Try insert a semicolon here + help: for octal literals use the '0o' prefix instead - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/object-types/invalid-setter-param-count/input.js:1:5] - 1 │ type B = { - · ▲ - 2 │ set a(): void; + × Empty parenthesized expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0095/input.js:1:1] + 1 │ () <= 42 + · ── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/object-types/invalid-setter-param-type/input.js:1:5] - 1 │ type B = { - · ▲ - 2 │ set a(...w): void; + × Empty parenthesized expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0096/input.js:1:1] + 1 │ () ? 42 + · ── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/declare_opaque/input.js:1:8] - 1 │ declare opaque type ID = number; - · ▲ + × Empty parenthesized expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0097/input.js:1:1] + 1 │ () + 42 + · ── ╰──── - help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_t_and_st/input.js:1:8] - 1 │ declare export opaque type Foo: Bar = Baz - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0098/input.js:1:5] + 1 │ (10) => 00 + · ▲ ╰──── help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_t_no_st/input.js:1:8] - 1 │ declare export opaque type Foo = Bar - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0099/input.js:1:9] + 1 │ (10, 20) => 00 + · ▲ ╰──── help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_t_and_st/input.js:1:8] - 1 │ declare opaque type Foo: Bar = Baz - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0100/input.js:1:16] + 1 │ "use strict"; (eval) => 42 + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_t_no_st/input.js:1:8] - 1 │ declare opaque type Foo = Bar - · ▲ + × Expected `,` but found `/` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0102/input.js:1:8] + 1 │ p = { q/ } + · ┬ + · ╰── `,` expected ╰──── - help: Try insert a semicolon here × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_invalid1/input.js:1:8] - 1 │ export opaque potato ID = number; - · ────── + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0103/input.js:1:10] + 1 │ p = { "q"/ } + · ─ ╰──── × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_invalid2/input.js:1:7] - 1 │ opaque potato ID = number; - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0112/input.js:1:2] + 1 │ a b; + · ▲ ╰──── help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_invalid_decl1/input.js:1:8] - 1 │ declare export opaque = potato; - · ▲ + × Expected `(` but found `.` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0113/input.js:1:3] + 1 │ if.a; + · ┬ + · ╰── `(` expected ╰──── - help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_invalid_decl2/input.js:1:8] - 1 │ declare export opaque type ID = number; - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0114/input.js:1:2] + 1 │ a if; + · ▲ ╰──── help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_invalid_decl3/input.js:1:8] - 1 │ declare export opaque potato ID = number; - · ▲ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0115/input.js:1:2] + 1 │ a enum; + · ▲ ╰──── help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_invalid1/input.js:1:7] - 1 │ opaque Ident: Type = SuperType; - · ▲ + × Illegal break statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0116/input.js:1:1] + 1 │ break + · ───── ╰──── - help: Try insert a semicolon here + help: A `break` statement can only be used within an enclosing iteration or switch statement. × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_invalid2/input.js:1:8] - 1 │ export opaque potato: ID = number; - · ────── + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0117/input.js:1:7] + 1 │ break 1; + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_invalid3/input.js:1:7] - 1 │ opaque stuff: Box = Container - · ▲ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0118/input.js:1:1] + 1 │ continue + · ──────── ╰──── - help: Try insert a semicolon here + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-type-invalid/input.js:1:7] - 1 │ opaque type string = number; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0119/input.js:1:10] + 1 │ continue 2; + · ─ ╰──── - help: Try insert a semicolon here - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/optional-type/2/input.js:1:13] - 1 │ const f = (x?) - · ┬ - · ╰── `,` expected + × Illegal newline after throw + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/input.js:1:1] + 1 │ throw + · ──┬── + · ╰── throw starts here ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/optional-type/5/input.js:1:66] - 1 │ a ? b : c ? d : e ? f : g ? h : i ? j : k ? l : m ? n : (o ? p : =); - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0120/input.js:2:1] + 1 │ throw ╰──── - × Expected `,` but found `?` - ╭─[babel/packages/babel-parser/test/fixtures/flow/optional-type/6/input.js:1:14] - 1 │ function f([]?, {}) {} - · ┬ - · ╰── `,` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0121/input.js:1:6] + 1 │ throw; + · ─ ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/predicates/4/input.js:1:11] - 1 │ var f = (x: mixed): % checks => typeof x === "string"; - · ┬ - · ╰── `,` expected + × Illegal newline after throw + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/input.js:1:1] + 1 │ throw + · ──┬── + · ╰── throw starts here ╰──── × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/predicates/5/input.js:1:16] - 1 │ function foo(x): % checks { - · ─ - 2 │ return typeof x === "string"; + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0122/input.js:2:1] + 1 │ throw ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/proto-props/interface/input.js:1:10] - 1 │ interface I { - · ▲ - 2 │ proto p: string; + × Only a single declaration is allowed in a `for...in` statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0123/input.js:1:6] + 1 │ for (var i, i2 in {}); + · ───────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/proto-props/object/input.js:1:5] - 1 │ type T = { proto p: string } - · ▲ + × Expected `;` but found `)` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0124/input.js:1:15] + 1 │ for ((i in {})); + · ┬ + · ╰── `;` expected ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/proto-props/proto-static/input.js:1:8] - 1 │ declare class C { - · ▲ - 2 │ proto static p: T; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0125/input.js:1:6] + 1 │ for (i + 1 in {}); + · ───── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/proto-props/static-proto/input.js:1:8] - 1 │ declare class C { - · ▲ - 2 │ static proto p: T; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0126/input.js:1:6] + 1 │ for (+i in {}); + · ── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/arrow-function-parens-with-return-type/input.js:1:18] - 1 │ var foo = ((foo)): string => {}; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0127/input.js:2:1] + 1 │ if(false) ╰──── - help: Try insert a semicolon here - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-2154/input.js:1:2] - 1 │ !()=>0 - · ── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0128/input.js:2:1] + 1 │ if(false) doThis(); else ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-321-failing/input.js:1:7] - 1 │ const fn: ( Object, Object Object ) => void = ( o1, o2, ) => o1; - · ── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0129/input.js:2:1] + 1 │ do + ╰──── + + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0130/input.js:2:1] + 1 │ while(false) ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/regression/issue-321-failing/input.js:1:9] - 1 │ const fn: ( Object, Object Object ) => void = ( o1, o2, ) => o1; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0131/input.js:2:1] + 1 │ for(;;) ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/.dupl-decl-declare-func-let/input.js:1:8] - 1 │ declare function A(): number; - · ▲ - 2 │ let A; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0132/input.js:2:1] + 1 │ with(x) ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/.dupl-decl-var-declare-class/input.js:2:8] - 1 │ var A = 1; - 2 │ declare class A {} + × Missing catch or finally clause + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0133/input.js:1:8] + 1 │ try { } · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-const-declare-class/input.js:2:8] - 1 │ const A = 1; - 2 │ declare class A {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0134/input.js:1:15] + 1 │ try {} catch (42) {} + · ── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-const-declare-interface/input.js:2:8] - 1 │ const A = 1; - 2 │ declare interface A {} - · ▲ + × Expected `)` but found `(` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0135/input.js:1:21] + 1 │ try {} catch (answer()) {} + · ┬ + · ╰── `)` expected ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-const-interface/input.js:2:10] - 1 │ const A = 1; - 2 │ interface A {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0136/input.js:1:15] + 1 │ try {} catch (-x) {} + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-const-opaque-type/input.js:2:7] - 1 │ const A = 1; - 2 │ opaque type A = {}; + × Invalid Character `‿` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0137/input.js:1:7] + 1 │ \u203F = 10 · ▲ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-const-type/input.js:2:5] - 1 │ const A = 1; - 2 │ type A = {}; - · ▲ + × Missing initializer in const declaration + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0138/input.js:1:15] + 1 │ const x = 12, y; + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-class-declare-interface/input.js:1:8] - 1 │ declare class A {} - · ▲ - 2 │ declare interface A {} + × Missing initializer in const declaration + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0139/input.js:1:7] + 1 │ const x, y = 12; + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-interface-declare-class/input.js:1:8] - 1 │ declare interface A {} - · ▲ - 2 │ declare class A {} + × Missing initializer in const declaration + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0140/input.js:1:7] + 1 │ const x; + · ─ ╰──── - help: Try insert a semicolon here × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-var-let/input.js:1:8] - 1 │ declare var A: number; - · ▲ - 2 │ let A; + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0141/input.js:1:13] + 1 │ if(true) let a = 1; + · ▲ ╰──── help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-func-declare-func/input.js:2:8] - 1 │ function A() {} - 2 │ declare function A(): void; - · ▲ + × Lexical declaration cannot appear in a single-statement context + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0142/input.js:1:10] + 1 │ if(true) const a = 1; + · ──────────── ╰──── - help: Try insert a semicolon here + help: Wrap this declaration in a block statement - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-interface-interface/input.js:1:10] - 1 │ interface A {} - · ▲ - 2 │ interface A {} + × Identifier `default` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0143/input.js:1:14] + 1 │ switch (c) { default: default: } + · ────┬─── ────┬─── + · │ ╰── It can not be redeclared here + · ╰── `default` has already been declared here ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-let-declare-class/input.js:2:8] - 1 │ let A = 1; - 2 │ declare class A {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0144/input.js:1:9] + 1 │ new X()."s" + · ─── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-let-declare-interface/input.js:2:8] - 1 │ let A = 1; - 2 │ declare interface A {} - · ▲ + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0145/input.js:1:1] + 1 │ /* + · ─── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-let-interface/input.js:2:10] - 1 │ let A = 1; - 2 │ interface A {} - · ▲ + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0146/input.js:1:1] + 1 │ /* + · ─── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-let-opaque-type/input.js:2:7] - 1 │ let A = 1; - 2 │ opaque type A = {}; - · ▲ + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0147/input.js:1:1] + 1 │ /** + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-let-type/input.js:2:5] - 1 │ let A = 1; - 2 │ type A = {}; - · ▲ + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0148/input.js:1:1] + 1 │ ╭─▶ /* + 2 │ │ + 3 │ ╰─▶ * ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-opaque-type-const/input.js:1:7] - 1 │ opaque type A = {}; - · ▲ - 2 │ const A = 1; + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0149/input.js:1:1] + 1 │ /*hello + · ──────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-opaque-type-let/input.js:1:7] - 1 │ opaque type A = {}; - · ▲ - 2 │ let A = 1; + × Unterminated multiline comment + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0150/input.js:1:1] + 1 │ /*hello * + · ─────────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-opaque-type-opaque-type/input.js:1:7] - 1 │ opaque type A = {}; - · ▲ - 2 │ opaque type A = {}; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0151/input.js:1:1] + 1 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-opaque-type-type/input.js:1:7] - 1 │ opaque type A = {}; - · ▲ - 2 │ type A = {}; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0152/input.js:1:1] + 1 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-opaque-type-var/input.js:1:7] - 1 │ opaque type A = {}; - · ▲ - 2 │ var A = 1; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0153/input.js:1:1] + 1 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-type-const/input.js:1:5] - 1 │ type A = {}; - · ▲ - 2 │ const A = 1; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0154/input.js:1:1] + 1 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-type-interface/input.js:1:5] - 1 │ type A = number; - · ▲ - 2 │ interface A {} + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0155/input.js:2:1] + 1 │ // + 2 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-type-let/input.js:1:5] - 1 │ type A = {}; - · ▲ - 2 │ let A = 1; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0156/input.js:3:1] + 2 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-type-opaque-type/input.js:1:5] - 1 │ type A = {}; - · ▲ - 2 │ opaque type A = {}; + × Unterminated regular expression + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/input.js:1:1] + 1 │ /a\ + · ──── + 2 │ / ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-type-type/input.js:1:5] - 1 │ type A = {}; - · ▲ - 2 │ type A = {}; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0157/input.js:3:1] + 2 │ / ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-type-var/input.js:1:5] - 1 │ type A = {}; - · ▲ - 2 │ var A = 1; + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0158/input.js:3:1] + 2 │ + 3 │ ] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-var-declare-interface/input.js:2:8] - 1 │ var A = 1; - 2 │ declare interface A {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0159/input.js:2:3] + 1 │ /* + 2 │ */] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-var-interface/input.js:2:10] - 1 │ var A = 1; - 2 │ interface A {} - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0160/input.js:3:3] + 2 │ */] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-var-opaque-type/input.js:2:7] - 1 │ var A = 1; - 2 │ opaque type A = {}; - · ▲ + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0161/input.js:3:3] + 2 │ + 3 │ */] + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-var-type/input.js:2:5] - 1 │ var A = 1; - 2 │ type A = {}; - · ▲ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0162/input.js:1:2] + 1 │ \ + · ─ ╰──── - help: Try insert a semicolon here - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/default/input.js:1:13] - 1 │ function foo (this : number = 2) {} - · ┬ - · ╰── `(` expected + × Invalid Character `\` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0163/input.js:1:7] + 1 │ \u005c + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-method-type-this-not-first/input.js:1:5] - 1 │ type T = { - · ▲ - 2 │ foo(a : number, this : number) : void + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0164/input.js:1:2] + 1 │ \x + · ─ + ╰──── + + × Invalid Character `` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0165/input.js:1:7] + 1 │ \u0000 + · ▲ ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-arrow-function/input.js:1:10] - 1 │ let x = (this : number) => 0 - · ──── + × Invalid Character `‌` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0166/input.js:1:7] + 1 │ \u200C = [] + · ▲ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-constructor/input.js:2:15] - 1 │ class A { - 2 │ constructor(this: string) {} - · ──── - 3 │ } + × Invalid Character `‍` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0167/input.js:1:7] + 1 │ \u200D = [] + · ▲ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-constructor-declare/input.js:1:8] - 1 │ declare class A { - · ▲ - 2 │ constructor(this : number) : A; + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0168/input.js:1:1] + 1 │ "\ + · ─── ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-getter/input.js:2:11] - 1 │ class Foo { - 2 │ get foo(this: string) {} - · ──── - 3 │ } + × Invalid escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0169/input.js:1:2] + 1 │ "\u + · ── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-getter-type/input.js:1:5] - 1 │ type T = { - · ▲ - 2 │ get foo(this: string) : void + × Unterminated string + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0169/input.js:1:1] + 1 │ "\u + · ──── ╰──── - help: Try insert a semicolon here × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-no-annot/input.js:1:15] - 1 │ function foo (this) {} - · ──── + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0170/input.js:1:15] + 1 │ try { } catch() {} + · ─ ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-not-first/input.js:1:17] - 1 │ function foo (a : string, this : number) {} - · ┬ - · ╰── `,` expected + × TS(1108): A 'return' statement can only be used within a function body. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0171/input.js:1:1] + 1 │ return + · ────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-not-first-type/input.js:1:5] - 1 │ type T = (a : string, this : number) => void - · ▲ + × Illegal break statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0172/input.js:1:1] + 1 │ break + · ───── ╰──── - help: Try insert a semicolon here + help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-optional/input.js:1:14] - 1 │ function foo(this? : number) {} - · ──── + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/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` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-optional-type/input.js:1:5] - 1 │ type T = (this? : number) => void - · ▲ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0174/input.js:1:23] + 1 │ switch (x) { default: continue; } + · ───────── ╰──── - help: Try insert a semicolon here + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-setter/input.js:2:11] - 1 │ class Foo { - 2 │ set foo(this: string) {} - · ──── - 3 │ } + × Expected `while` but found `*` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0175/input.js:1:10] + 1 │ do { x } * + · ┬ + · ╰── `while` expected ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-setter-type/input.js:1:5] - 1 │ type T = { - · ▲ - 2 │ set foo(this: string) : void + × Use of undefined label + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0176/input.js:1:22] + 1 │ while (true) { break x; } + · ─ ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-string-literal-constructor/input.js:2:17] - 1 │ class A { - 2 │ "constructor"(this: string) {} - · ──── - 3 │ } + × Use of undefined label + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0177/input.js:1:25] + 1 │ while (true) { continue x; } + · ─ ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/106/input.js:1:6] - 1 │ var f: >x:int) => string; - · ▲ + × Jump target cannot cross function boundary. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0178/input.js:1:40] + 1 │ x: while (true) { (function () { break x; }); } + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/109/input.js:1:6] - 1 │ var a : { x: number{ y: string } } = { x: 0, y: 'foo' }; - · ▲ + × Jump target cannot cross function boundary. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0179/input.js:1:43] + 1 │ x: while (true) { (function () { continue x; }); } + · ─ ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/112/input.js:1:5] - 1 │ type X = {+m(): T} - · ▲ + × Illegal break statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0180/input.js:1:34] + 1 │ x: while (true) { (function () { break; }); } + · ────── ╰──── - help: Try insert a semicolon here + help: A `break` statement can only be used within an enclosing iteration or switch statement. - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/113/input.js:1:5] - 1 │ type X = {-m(): T} - · ▲ - 2 │ + × Illegal continue statement: no surrounding iteration statement + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0181/input.js:1:34] + 1 │ x: while (true) { (function () { continue; }); } + · ───────── ╰──── - help: Try insert a semicolon here + help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while` - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/116/input.js:1:5] - 1 │ type X = {+():T} - · ▲ + × Identifier `x` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/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 ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/117/input.js:1:5] - 1 │ type X = {-():T} - · ▲ + × Delete of an unqualified identifier in strict mode. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0183/input.js:1:37] + 1 │ (function () { 'use strict'; delete i; }()) + · ─ ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/120/input.js:1:10] - 1 │ class A {+m():T} - · ─ + × 'with' statements are not allowed + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0184/input.js:1:30] + 1 │ (function () { 'use strict'; with (i); }()) + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/121/input.js:1:10] - 1 │ class A {-m():T} - · ─ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0185/input.js:1:37] + 1 │ function hello() {'use strict'; var eval = 10; } + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/122/input.js:1:3] - 1 │ ({+p:e}) - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0186/input.js:1:37] + 1 │ function hello() {'use strict'; var arguments = 10; } + · ───────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/123/input.js:1:3] - 1 │ ({-p:e}) - · ─ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0187/input.js:1:48] + 1 │ function hello() {'use strict'; try { } catch (eval) { } } + · ──── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/124/input.js:1:17] - 1 │ class C { static + m() {} } - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0188/input.js:1:48] + 1 │ function hello() {'use strict'; try { } catch (arguments) { } } + · ───────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/125/input.js:1:8] - 1 │ declare class C { static + m() {} } - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0189/input.js:1:33] + 1 │ function hello() {'use strict'; eval = 10; } + · ──── ╰──── - help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/126/input.js:1:4] - 1 │ ({ + m() {} }); - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0190/input.js:1:33] + 1 │ function hello() {'use strict'; arguments = 10; } + · ───────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/131/input.js:1:5] - 1 │ type number = string; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0191/input.js:1:35] + 1 │ function hello() {'use strict'; ++eval; } + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/132/input.js:1:5] - 1 │ type foo = string; - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0192/input.js:1:35] + 1 │ function hello() {'use strict'; --eval; } + · ──── ╰──── - help: Try insert a semicolon here - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/133/input.js:1:11] - 1 │ function a(x: string): string { - · ┬ - · ╰── `(` expected - 2 │ return x; + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0193/input.js:1:35] + 1 │ function hello() {'use strict'; ++arguments; } + · ───────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/134/input.js:1:8] - 1 │ declare type bool = any; - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0194/input.js:1:35] + 1 │ function hello() {'use strict'; --arguments; } + · ───────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/137/input.js:1:10] - 1 │ interface A { - · ▲ - 2 │ ...any, + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0195/input.js:1:33] + 1 │ function hello() {'use strict'; eval++; } + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/139/input.js:2:5] - 1 │ class A {} - 2 │ type C = { - · ▲ - 3 │ -...A + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0196/input.js:1:33] + 1 │ function hello() {'use strict'; eval--; } + · ──── ╰──── - help: Try insert a semicolon here - × Empty parenthesized expression - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/invalid-line-terminator-arrow/input.js:1:1] - 1 │ (): string - · ── - 2 │ => {} + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0197/input.js:1:33] + 1 │ function hello() {'use strict'; arguments++; } + · ───────── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-1/input.js:2:7] - 1 │ // @flow - 2 │ const x: typeof interface = "hi"; - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0198/input.js:1:33] + 1 │ function hello() {'use strict'; arguments--; } + · ───────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-1/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const x: typeof interface = "hi"; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0199/input.js:1:42] + 1 │ function hello() {'use strict'; function eval() { } } + · ──── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-2/input.js:2:7] - 1 │ // @flow - 2 │ const x: typeof type.interface = "hi"; - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0200/input.js:1:42] + 1 │ function hello() {'use strict'; function arguments() { } } + · ───────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-2/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const x: typeof type.interface = "hi"; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0201/input.js:1:10] + 1 │ function eval() {'use strict'; } + · ──── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-3/input.js:2:7] - 1 │ // @flow - 2 │ const x: typeof stuff.number = "hi"; - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0202/input.js:1:10] + 1 │ function arguments() {'use strict'; } + · ───────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-3/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const x: typeof stuff.number = "hi"; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0203/input.js:1:43] + 1 │ function hello() {'use strict'; (function eval() { }()) } + · ──── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-4/input.js:2:7] - 1 │ // @flow - 2 │ const x: typeof static = "hi"; - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0204/input.js:1:43] + 1 │ function hello() {'use strict'; (function arguments() { }()) } + · ───────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-4/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const x: typeof static = "hi"; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0205/input.js:1:11] + 1 │ (function eval() {'use strict'; })() + · ──── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-5/input.js:2:7] - 1 │ // @flow - 2 │ const x: typeof typeof = "hi"; - · ─ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0206/input.js:1:11] + 1 │ (function arguments() {'use strict'; })() + · ───────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-5/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const x: typeof typeof = "hi"; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0207/input.js:1:48] + 1 │ function hello() {'use strict'; ({ s: function eval() { } }); } + · ──── ╰──── - × Missing initializer in const declaration - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-6/input.js:2:7] - 1 │ // @flow - 2 │ const x: typeof d.i\u{6e}terface = "hi"; - · ─ + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0208/input.js:1:11] + 1 │ (function package() {'use strict'; })() + · ─────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-invalid-6/input.js:1:3] - 1 │ // @flow - · ────── - 2 │ const x: typeof d.i\u{6e}terface = "hi"; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0209/input.js:1:49] + 1 │ function hello() {'use strict'; ({ i: 10, set s(eval) { } }); } + · ──── ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-invalid/input.js:1:21] - 1 │ function x(foo = "1": string) {} - · ┬ - · ╰── `,` expected + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0210/input.js:1:42] + 1 │ function hello() {'use strict'; ({ set s(eval) { } }); } + · ──── ╰──── - × Expected `from` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-exports/star-as-from/input.js:1:13] - 1 │ export type * as fooTypes from "foo"; - · ┬ - · ╰── `from` expected + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0211/input.js:1:50] + 1 │ function hello() {'use strict'; ({ s: function s(eval) { } }); } + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/anonymous-function-generator-invalid/input.ts:1:23] - 1 │ const fn = function* <,>(input: T): Generator { - · ─ - 2 │ yield 2; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0212/input.js:1:16] + 1 │ function hello(eval) {'use strict';} + · ──── ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-invalid/input.js:2:1] - 1 │ async () => {} + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0213/input.js:1:16] + 1 │ function hello(arguments) {'use strict';} + · ───────── ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/wrong-arrow-parens/input.js:2:1] - 1 │ (a => b); + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0214/input.js:1:49] + 1 │ function hello() { 'use strict'; function inner(eval) {} } + · ──── ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-generics/wrong-arrow-parens-no-jsx/input.js:2:1] - 1 │ (a => b); + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0215/input.js:1:49] + 1 │ function hello() { 'use strict'; function inner(arguments) {} } + · ───────── ╰──── - × Expected `from` but found `string` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type/input.js:1:13] - 1 │ import type string from "foo"; - · ───┬── - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0216/input.js:1:1] + 1 │ "\1"; 'use strict'; + · ──── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-2/input.js:1:13] - 1 │ import type { string } from "foo"; - · ┬ - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0217/input.js:1:34] + 1 │ function hello() { 'use strict'; "\1"; } + · ──── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `typeof` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-3/input.js:1:8] - 1 │ import typeof string from "foo"; - · ───┬── - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0218/input.js:1:34] + 1 │ function hello() { 'use strict'; 021; } + · ─── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `typeof` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-4/input.js:1:8] - 1 │ import typeof * as string from "foo"; - · ───┬── - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0219/input.js:1:37] + 1 │ function hello() { 'use strict'; ({ "\1": 42 }); } + · ──── ╰──── + help: for octal literals use the '0o' prefix instead - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-as/input.js:1:18] - 1 │ import { type as debugger } from "foo"; - · ──────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0220/input.js:1:37] + 1 │ function hello() { 'use strict'; ({ 021: 42 }); } + · ─── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `*` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-namespace/input.js:1:13] - 1 │ import type * as namespace from "bar"; - · ┬ - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0221/input.js:1:20] + 1 │ function hello() { "octal directive\1"; "use strict"; } + · ─────────────────── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `typeof` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand/input.js:1:8] - 1 │ import typeof {typeof t} from "foo"; - · ───┬── - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0222/input.js:1:20] + 1 │ function hello() { "octal directive\1"; "octal directive\2"; "use strict"; } + · ─────────────────── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `from` but found `{` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-2/input.js:1:13] - 1 │ import type {type t} from "foo"; - · ┬ - · ╰── `from` expected + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0222/input.js:1:41] + 1 │ function hello() { "octal directive\1"; "octal directive\2"; "use strict"; } + · ─────────────────── ╰──── + help: for octal literals use the '0o' prefix instead - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-3/input.js:1:10] - 1 │ import { typeof string } from "foo"; - · ────── + × '0'-prefixed octal literals and octal escape sequences are deprecated + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0223/input.js:1:53] + 1 │ function hello() { "use strict"; function inner() { "octal directive\1"; } } + · ─────────────────── ╰──── + help: for octal literals use the '0o' prefix instead - × Expected `,` but found `string` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-imports/invalid-import-type-shorthand-4/input.js:1:15] - 1 │ import { type string } from "foo"; - · ───┬── - · ╰── `,` expected + × The keyword 'implements' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0224/input.js:1:38] + 1 │ function hello() { "use strict"; var implements; } + · ────────── ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_error_with_jsx/input.js:2:1] - 1 │ "I'm not an arrow function" + × The keyword 'interface' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0225/input.js:1:38] + 1 │ function hello() { "use strict"; var interface; } + · ───────── ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_error_without_jsx/input.js:2:1] - 1 │ "I'm not an arrow function" + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0226/input.js:1:38] + 1 │ function hello() { "use strict"; var package; } + · ─────── ╰──── - × Expected `,` but found `=` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-invalid-class-extends/input.js:1:21] - 1 │ class A extends B {} - · ┬ - · ╰── `,` expected + × The keyword 'private' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0227/input.js:1:38] + 1 │ function hello() { "use strict"; var private; } + · ─────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-invalid-declare-func/input.js:1:8] - 1 │ declare function foo() {} - · ▲ + × The keyword 'protected' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0228/input.js:1:38] + 1 │ function hello() { "use strict"; var protected; } + · ───────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-invalid-var-type/input.js:1:6] - 1 │ var x: Array - · ▲ + × The keyword 'public' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0229/input.js:1:38] + 1 │ function hello() { "use strict"; var public; } + · ────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default-missing/input.js:1:5] - 1 │ type A = T; - · ▲ + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0230/input.js:1:38] + 1 │ function hello() { "use strict"; var static; } + · ────── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/empty/input.js:2:5] - 1 │ // Type parameter declaration may not have 0 type parameters - 2 │ type Foo<> = number; - · ▲ + × The keyword 'yield' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0231/input.js:1:38] + 1 │ function hello() { "use strict"; var yield; } + · ───── ╰──── - help: Try insert a semicolon here - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/error-object-property-type-param/input.js:2:4] - 1 │ const s = { - 2 │ p - · ┬ - · ╰── `(` expected - 3 │ } + × The keyword 'let' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0232/input.js:1:38] + 1 │ function hello() { "use strict"; var let; } + · ─── ╰──── - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-getter/input.js:2:11] - 1 │ const obj = { - 2 │ get prop() {}, - · ┬ - · ╰── `(` expected - 3 │ }; + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0233/input.js:1:16] + 1 │ function hello(static) { "use strict"; } + · ────── ╰──── - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/invalid-setter/input.js:2:11] - 1 │ const obj = { - 2 │ set prop(a) {}, - · ┬ - · ╰── `(` expected - 3 │ }; + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0234/input.js:1:10] + 1 │ function static() { "use strict"; } + · ────── ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/reserved-word-class-name-failure/input.js:1:8] - 1 │ declare class delete {} - · ▲ + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0235/input.js:1:10] + 1 │ function eval(a) { "use strict"; } + · ──── ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/star/input.js:2:5] - 1 │ // Star is only for type parameter initialization - 2 │ type Foo<*> = number; - · ▲ + × Cannot assign to 'arguments' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0236/input.js:1:10] + 1 │ function arguments(a) { "use strict"; } + · ───────── ╰──── - help: Try insert a semicolon here - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_illegal_param_instantiation_otherwise/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ var x: Generic<_> = 3; + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0239/input.js:1:24] + 1 │ "use strict"; function static() { } + · ────── ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_illegal_type_name/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type _ = number; + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0240/input.js:1:12] + 1 │ function a(t, t) { "use strict"; } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - × Flow is not supported - ╭─[babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_illegal_type_param_name/input.js:1:3] - 1 │ //@flow - · ───── - 2 │ type Generic<_> = _; + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0241/input.js:1:12] + 1 │ function a(eval) { "use strict"; } + · ──── ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-in-async-optional-calls/input.js:1:12] - 1 │ async?.(bar: string) => {} - · ┬ - · ╰── `,` expected + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0242/input.js:1:12] + 1 │ function a(package) { "use strict"; } + · ─────── ╰──── - - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-in-calls/input.js:1:14] - 1 │ funccall(a, b: string); - · ┬ - · ╰── `,` expected + + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0243/input.js:1:41] + 1 │ function a() { "use strict"; function b(t, t) { }; } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-in-calls-with-one-arg/input.js:1:11] - 1 │ funccall(b: string); - · ┬ - · ╰── `,` expected + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0244/input.js:1:13] + 1 │ (function a(t, t) { "use strict"; }) + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-in-optional-calls/input.js:1:16] - 1 │ funccall?.(a, b: string); - · ┬ - · ╰── `,` expected + × Identifier `t` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0245/input.js:1:42] + 1 │ function a() { "use strict"; (function b(t, t) { }); } + · ┬ ┬ + · │ ╰── It can not be redeclared here + · ╰── `t` has already been declared here ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-without-parens/input.js:1:6] - 1 │ (A, B: T) - · ┬ - · ╰── `,` expected + × Cannot assign to 'eval' in strict mode + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0246/input.js:1:13] + 1 │ (function a(eval) { "use strict"; }) + · ──── ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-without-parens-jsx-tokens-true/input.js:1:17] - 1 │
- · ┬ - · ╰── `,` expected + × The keyword 'package' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0247/input.js:1:13] + 1 │ (function a(package) { "use strict"; }) + · ─────── ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fail-without-parens-jsx-tokens-true-babel-7/input.js:1:17] - 1 │
- · ┬ - · ╰── `,` expected + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/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 ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fails-in-array-expression-1/input.js:1:3] - 1 │ [a: string]; - · ┬ - · ╰── `,` expected + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0249/input.js:1:26] + 1 │ "use strict"; function t(__proto__, __proto__) { } + · ────┬──── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fails-in-array-expression-2/input.js:1:4] - 1 │ ([a: string]); - · ┬ - · ╰── `,` expected + × Identifier `__proto__` has already been declared + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0250/input.js:1:7] + 1 │ x = { __proto__: 42, __proto__: 43 } + · ────┬──── ────┬──── + · │ ╰── It can not be redeclared here + · ╰── `__proto__` has already been declared here ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fails-in-array-expression-3/input.js:1:8] - 1 │ ([a, [b: string]]); - · ┬ - · ╰── `,` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0252/input.js:2:1] + 1 │ var ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fails-in-array-expression-4/input.js:1:10] - 1 │ async ([a: string]); - · ┬ - · ╰── `,` expected + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0254/input.js:2:1] + 1 │ const ╰──── - × Expected `,` but found `:` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/fails-in-array-expression-5/input.js:1:14] - 1 │ async ([a, [b: string]]); - · ┬ - · ╰── `,` expected + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0255/input.js:2:1] + 1 │ { ; ; ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func-invalid/input.js:2:1] - 1 │ (() => {}: any); + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0256/input.js:2:1] + 1 │ function t() { ; ; ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func-invalid-parenthesized/input.js:2:1] - 1 │ (() => {}: any); + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0257/input.js:1:16] + 1 │ 'use strict'; a package + · ▲ ╰──── + help: Try insert a semicolon here - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-type-param/input.js:2:1] - 1 │
() => {} + × A rest parameter must be last in a parameter list + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0258/input.js:1:15] + 1 │ function f(a, ...b, c){} + · ──── ╰──── - × Unterminated regular expression - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/adjacent-tags/input.js:1:32] - 1 │ var x =
one
two
; - · ─────── + × A rest parameter cannot have an initializer + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0260/input.js:1:15] + 1 │ function x(...a = 1){} + · ───── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/attribute-arbitrary-expression/input.js:1:10] - 1 │ - · ─── + × Expected `{` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0261/input.js:2:1] + 1 │ class ╰──── - × TS(18007): JSX expressions may not use the comma operator - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/attribute-sequence-expression/input.js:1:11] - 1 │
- · ───────────────────────────────────────── + × Expected `{` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0262/input.js:2:1] + 1 │ class ╰──── - help: Did you mean to write an array? - × Expected `(` but found `<` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/attributes-in-fragment/input.js:1:1] - 1 │ < key="nope"> - · ┬ - · ╰── `(` expected + × Expected `{` but found `;` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0263/input.js:1:6] + 1 │ class; + · ┬ + · ╰── `{` expected ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/member-in-namespace-1/input.js:1:5] - 1 │ - · ─ + × Expected `{` but found `+` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0264/input.js:1:19] + 1 │ class A extends a + b {} + · ┬ + · ╰── `{` expected ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/member-in-namespace-2/input.js:1:5] - 1 │ - · ─ + × Expected `{` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0265/input.js:2:1] + 1 │ class A ╰──── - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/nested-fragment-unclosed/input.js:2:1] - 1 │ <><> + × Expected `}` but found `EOF` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0266/input.js:2:1] + 1 │ class A { ╰──── - × TS(18007): JSX expressions may not use the comma operator - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression/input.js:1:7] - 1 │
{console.log('foo'), JSON.stringify(props)}
- · ───────────────────────────────────────── + × Expected `{` but found `;` + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0267/input.js:1:8] + 1 │ class A; + · ┬ + · ╰── `{` expected ╰──── - help: Did you mean to write an array? - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/unclosed-jsx-element/input.js:2:1] - 1 │
() => {} + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0268/input.js:1:11] + 1 │ class A {a:0} + · ▲ ╰──── + help: Try insert a semicolon here - × Expected `<` but found `EOF` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/unclosed-tag/input.js:2:1] - 1 │ yes + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0269/input.js:1:15] + 1 │ class A {a(){},b(){}} + · ─ ╰──── - × Unterminated string - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/unterminated-string/input.js:1:10] - 1 │ ` but found `Identifier` - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/wrong-closing-tag-fragment/input.js:1:5] - 1 │ <> - · ────┬──── - · ╰── `>` expected + × Constructor can't have get/set modifier + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0272/input.js:1:14] + 1 │ class A {get constructor(){}} + · ─────────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/jsx/errors/wrong-opening-tag-fragment/input.js:1:14] - 1 │ - · ─ + × Constructor can't have get/set modifier + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0273/input.js:1:14] + 1 │ class A {set constructor(m){}} + · ─────────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/_errors/no-plugin/input.js:1:1] - 1 │ %%FOO%% - · ─ + × Multiple constructor implementations are not allowed. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0274/input.js:1:10] + 1 │ class A {constructor(){} "constructor"(){}} + · ─────┬───── ──────┬────── + · │ ╰── it cannot be redeclared here + · ╰── constructor has already been declared here ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/_errors/space-after/input.js:1:1] - 1 │ %%FOO %% - · ─ + × Expected a semicolon or an implicit semicolon after a statement, but found none + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0275/input.js:1:11] + 1 │ class A {a static(){}} + · ▲ ╰──── + help: Try insert a semicolon here × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/_errors/space-before/input.js:1:1] - 1 │ %% FOO%% - · ─ + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0277/input.js:1:12] + 1 │ class A {a(enum){}} + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/arrow/async-parenless/input.js:1:8] - 1 │ async %%PARAM%% => %%BODY%%; - · ─ + × The keyword 'static' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0278/input.js:1:18] + 1 │ class A {static [static](){};} + · ────── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/arrow/sync-parenless/input.js:1:1] - 1 │ %%PARAM%% => %%BODY%%; - · ─ + × A 'set' accessor cannot have rest parameter. + ╭─[babel/packages/babel-parser/test/fixtures/esprima/rest-parameter/invalid-setter-rest/input.js:1:13] + 1 │ x = { set f(...y) {} } + · ──── ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/default-default-from/input.js:1:22] - 1 │ export default from %%FILE%%; - · ─ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0002/input.js:1:2] + 1 │ \\u0061 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/default-named-from/input.js:1:8] - 1 │ export name from %%FILE%%; - · ──── + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0003/input.js:1:3] + 1 │ a\\u0061 + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/default-named-from-2/input.js:1:8] - 1 │ export %%NAME%% from "file"; - · ─ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0004/input.js:1:2] + 1 │ \\u0061a + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/export/default-named-from-3/input.js:1:8] - 1 │ export %%NAME%% from %%FILE%%; - · ─ + × Invalid Unicode escape sequence + ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-expression/migrated_0005/input.js:1:2] + 1 │ \\u0061a + · ─ ╰──── - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/placeholders/variable/let-context-3/input.js:1:16] - 1 │ if (cond) let %%LHS%% = %%RHS%%; - · ─ + × Missing initializer in destructuring declaration + ╭─[babel/packages/babel-parser/test/fixtures/esprima/statement-variable/complex-pattern-requires-init/input.js:1:5] + 1 │ var [] + · ── ╰──── × Bad escape sequence in untagged template literal @@ -17600,6 +9862,13 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc · ─ ╰──── + × Unexpected token + ╭─[babel/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx/input.ts:4:3] + 3 │ + 4 │ (a: T): T => a; + · ─ + ╰──── + × Keywords cannot contain escape characters ╭─[babel/packages/babel-parser/test/fixtures/typescript/assert-predicate/invalid-escaped-asserts-keyword/input.ts:1:50] 1 │ declare function assertIsString(value: unknown): \u{61}sserts value; @@ -18017,25 +10286,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc · ────────────────────────────────── ╰──── - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/typescript/expect-plugin/export-interface/input.js:1:1] - 1 │ export interface Foo {} - · ────── - ╰──── - - × Cannot use export statement outside a module - ╭─[babel/packages/babel-parser/test/fixtures/typescript/expect-plugin/export-type/input.js:1:1] - 1 │ export type Foo = number; - · ────── - ╰──── - - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/typescript/expect-plugin/export-type-named/input.js:2:13] - 1 │ var Foo; - 2 │ export type { Foo }; - · ─ - ╰──── - × Unexpected exponentiation expression ╭─[babel/packages/babel-parser/test/fixtures/typescript/exponentiation/await-non-null-before-exponential/input.ts:1:14] 1 │ async (a) => await a! ** 6; @@ -18219,6 +10469,13 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc ╰──── help: Try insert a semicolon here + × The keyword 'interface' is reserved + ╭─[babel/packages/babel-parser/test/fixtures/typescript/interface/new-line/input.ts:1:1] + 1 │ interface + · ───────── + 2 │ F + ╰──── + × Expected a semicolon or an implicit semicolon after a statement, but found none ╭─[babel/packages/babel-parser/test/fixtures/typescript/interface/new-line-error/input.ts:2:2] 1 │ interface @@ -18547,13 +10804,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc 4 │ ); ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none - ╭─[babel/packages/babel-parser/test/fixtures/typescript/tsx/invalid-gt-arrow-like/input.ts:1:12] - 1 │ () => {}; - · ▲ - ╰──── - help: Try insert a semicolon here - × Expected a semicolon or an implicit semicolon after a statement, but found none ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-alias/declare-new-line/input.ts:1:8] 1 │ declare type @@ -18562,12 +10812,6 @@ Expect to Parse: tasks/coverage/babel/packages/babel-parser/test/fixtures/typesc ╰──── help: Try insert a semicolon here - × Unexpected token - ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments/empty-tsx/input.ts:1:18] - 1 │ var a = > - · ─ - ╰──── - × Expected a semicolon or an implicit semicolon after a statement, but found none ╭─[babel/packages/babel-parser/test/fixtures/typescript/type-arguments/new-without-arguments-missing-semicolon/input.ts:1:9] 1 │ new A if (0); diff --git a/tasks/coverage/semantic_babel.snap b/tasks/coverage/semantic_babel.snap index 8908b68fefcdf..e868d8a9fb9d8 100644 --- a/tasks/coverage/semantic_babel.snap +++ b/tasks/coverage/semantic_babel.snap @@ -1,2156 +1,149 @@ commit: 12619ffe semantic_babel Summary: -AST Parsed : 2771/2771 (100.00%) -Positive Passed: 1816/2771 (65.54%) -tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/basic/export-default-anonymous-class/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-after-export/input.js -semantic error: Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-before-export/input.js -semantic error: Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/decorators/decorators-legacy-before-export/input.js -semantic error: Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/interpreter-directive/interpreter-directive-import/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/regression/10892/input.js -semantic error: Cannot use import statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowAwaitOutsideFunction-true/input.js -semantic error: Expected `(` but found `await` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-true/input.js -semantic error: Unexpected new.target expression -Unexpected new.target expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowUndeclaredExports/input.js -semantic error: Cannot use export statement outside a module -Export 'foo' is not defined - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-1/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-2/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/scope/undecl-export-var/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/flow/input.js -semantic error: Expected `from` but found `{` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/import-meta/input.js -semantic error: Unexpected import.meta expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-all/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-default/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-export-named/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/sourcetype-unambiguous/module-import/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/327/input.js -semantic error: A 'return' statement can only be used within a function body. - -tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/328/input.js -semantic error: A 'return' statement can only be used within a function body. - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-builtin/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/duplicate-named-export-destructuring/input.js -semantic error: Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-declaration-trailing-comma/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-class-declaration/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-class-expression/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-declaration/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-default-function-expression/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/export-from-valid-reserved-word/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/import-declaration-trailing-comma/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/301/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/338/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/354/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/380/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/381/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/382/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/383/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/384/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/385/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/391/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/72/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/73/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/74/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/75/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/76/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/77/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/78/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/79/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/80/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/81/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/82/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/83/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/85/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/86/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/87/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/88/input.js -semantic error: Cannot use import statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/89/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/90/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/91/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/92/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/93/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/94/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/95/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/97/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/98/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/25/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/allow-await-outside-function/input.js -semantic error: `await` is only allowed within async functions and at the top levels of modules - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export/input.js -semantic error: Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-arrow/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export-default-newline/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2020/import-meta/valid-in-module/input.js -semantic error: Unexpected import.meta expression -Unexpected import.meta expression -Unexpected import.meta expression -Unexpected import.meta expression -Unexpected import.meta expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-const-number/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-array/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-class/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-expression/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-2/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-from-as-identifier-3/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-function/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-number/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-object/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-value/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-batch/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-default/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-default/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-specifier/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-named-as-specifiers/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-specifier/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-from-specifiers/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-function/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-let-number/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-default/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-specifier/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-as-specifiers/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-empty/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifier/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifiers/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-named-specifiers-comma/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-var-number/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-named-specifiers/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-namespace-specifiers/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-as/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-jquery/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-module/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifier/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifiers/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-empty/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifier/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers-comma/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-namespace-specifier/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-null-as-nil/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-method/flow/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-method/typescript/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-private-property/flow/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-private-property/typescript/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/export/batch/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/export/decorator-before-export/input.js -semantic error: Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/export/ns-from/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/flow/string-literal-annotation/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/import-assertions/valid-syntax-with-attributes/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/import-attributes/valid-syntax-with-attributes/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/module-string-names/mixed/input.js -semantic error: Cannot use import statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/module-string-names/shorthand/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/enum/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/import/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/import-require/input.js -semantic error: Expected `from` but found `=` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/literals/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property-babel-7/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/optional-chaining/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_01/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_02/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_03/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_04/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_05/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_06/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_07/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_08/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_09/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_10/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_11/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_12/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_13/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_14/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-no-parens-types/good_15/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_01/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_03/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_04/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_05/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_06/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_07/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_08/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_09/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_10/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_11/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_12/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_13/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/anonymous-function-types/good_14/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/5/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/6/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/7/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/8/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/array-types/9/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-13644/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/issue-58/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/param-type-and-return-type/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/arrows-in-ternaries/param-type-and-return-type-like/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/bounded-polymorphism/1/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/bounded-polymorphism/2/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/call-properties/5/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-private-property/variance/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-field-computed/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/declare-field-with-type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/field-named-declare-with-type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/getter-setter/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/class-properties/named-static/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/classes/constructor-with-class-prop-plugin/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/classes/good_01/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/classes/implements/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/classes/implements-multiple/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/comment/spread/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/implements/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-multiple/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/implements-with-mixin/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/mixins/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-class/mixins-multiple/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-class/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-arrow/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-class/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-function/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-default-union/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-from/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-function/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface-and-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-interface-commonjs/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-named-pattern/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-star/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-star-as/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-and-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-commonjs/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-type-star-from/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-export/export-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/10/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/5/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/6/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/9/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-module/import/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/10/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/11/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/12/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/13/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/14/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/15/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/16/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/17/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/18/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/19/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/5/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/6/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/7/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/8/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/9/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/declare-statements/symbol/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/def-site-variance/1/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-explicit/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/boolean-implicit/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/empty/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/enum-name/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/export/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/no-trailing-comma/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-explicit/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/number-implicit/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-explicit-defaulted/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-explicit-initialized/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-defaulted/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/string-implicit-initialized/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/symbol/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/enum-declaration/unknown-members/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_object/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/explicit-inexact-object/explicit_inexact_trailing_comma/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/imports/import-type-keyword/input.js -semantic error: Expected `from` but found `switch` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/indexed-access-types/base/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/indexed-access-types/optional/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/basic/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/extends/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/extends-multiple/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interface-types/identifier-named-static-method/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/10/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/5/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/6/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/7/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/8/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/9/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/id-reserved-value/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/identifier-named-static-method/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/identifier-named-static-optional/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-exports/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/implements-reserved-value/input.js -semantic error: ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/declare-class/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/declare-class-static/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/interface-method/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/object/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-method/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/internal-slot/object-optional/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/01/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/02/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/12/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/13/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/14/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/iterator/15/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/boolean-false/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/boolean-true/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/null/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-binary/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-float/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-integer/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-binary/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-float/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-octal/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-negative-octal-2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-octal/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/number-octal-2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/string-double/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/literal-types/string-single/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/module-string-names/default-import/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/module-string-names/mixed/input.js -semantic error: Cannot use import statement outside a module -Cannot use export statement outside a module -Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/module-string-names/named-imports/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-class/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-function/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/multiple-declarations/declare-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/object-types/complex-param-types/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/object-types/getter-key-is-keyword/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_collision/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_neither/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_export_st_no_t/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_neither/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_declare_st_no_t/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_allow_export/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_subtype_export/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type_allow_export/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/opaque_type_export/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/opaque-type-alias/reserved-value/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/optional-type/1/input.js -semantic error: Expected `,` but found `?` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/optional-type/3/input.js -semantic error: Expected `,` but found `?` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/optional-type/4/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/2/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/3/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/predicates/6/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/proto-props/declare-class/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/qualified-generic-type/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/arrow-function-with-newline/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10044/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-class/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-function/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-10675-interface/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-166/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-2493/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-321/input.js -semantic error: Missing initializer in const declaration -Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-336/input.js -semantic error: Expected `,` but found `?` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-593/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/regression/issue-92/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/declare-function-export/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/declare-module/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-class-declare-class/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-declare-func/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-declare-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-func-func/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-var-declare-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/export-named/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/export-star/input.js -semantic error: Expected `from` but found `*` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/sourcetype-script/import/input.js -semantic error: Expected `from` but found `{` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/declare-function/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/declare-method/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/function-declaration/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/function-type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/method/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-constructor/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-method-type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/object-type-constructor/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/this-annotation/this-type/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/trailing-function-commas-type/1/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/tuples/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/3/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/5/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-alias/6/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/1/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/10/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/100/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/101/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/102/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/103/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/104/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/105/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/107/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/108/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/11/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/110/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/111/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/114/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/115/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/118/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/119/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/12/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/127/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/128/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/129/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/13/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/130/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/135/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/136/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/138/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/14/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/15/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/16/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/17/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/18/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/19/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/2/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/20/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/21/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/22/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/23/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/24/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/25/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/26/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/27/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/28/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/29/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/3/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/30/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/31/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/32/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/33/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/34/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/35/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/36/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/37/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/38/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/39/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/4/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/40/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/41/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/42/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/43/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/44/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/45/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/46/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/47/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/48/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/49/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/5/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/50/input.js -semantic error: Expected `{` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/51/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/52/input.js -semantic error: Expected `,` but found `?` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/53/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/54/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/55/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/56/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/57/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/58/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/59/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/6/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/60/input.js -semantic error: Missing initializer in destructuring declaration -Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/61/input.js -semantic error: Missing initializer in destructuring declaration -Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/62/input.js -semantic error: Missing initializer in destructuring declaration -Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/63/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/64/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/65/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/66/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/67/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/68/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/69/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/7/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/70/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/71/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/72/input.js -semantic error: Empty parenthesized expression - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/73/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/74/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/75/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/76/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/77/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/79/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/8/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/80/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/81/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/82/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/83/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/84/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/85/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/86/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/87/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/88/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/9/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/97/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/98/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/99/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/arrow-func-return-newline/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/builtin/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/existential-type-param/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/existential-type-param-2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/function-is-valid-type/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/negative-number-literal/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/object-type-method/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/symbol/input.js -semantic error: Missing initializer in const declaration -Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/typeof-reserved-valid/input.js -semantic error: Missing initializer in const declaration -Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-annotations/with-default-valid/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/alias/input.js -semantic error: Cannot use export statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/interface/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/specifier/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/specifier-from/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-exports/star-from/input.js -semantic error: Expected `from` but found `*` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/1/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/2/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/anonymous-function-generator/input.ts -semantic error: Bindings Mismatch: -previous scope ScopeId(1): ["T", "input"] -current scope ScopeId(1): ["input"] -Symbols mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-2/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-like/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-rest/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/async-arrow-rest-optional-parameters/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-generics/with-jsx/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/1/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/3/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-grouping/4/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type/input.js -semantic error: Expected `from` but found `Identifier` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-2/input.js -semantic error: Cannot use import statement outside a module - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-shorthand/input.js -semantic error: Expected `,` but found `Identifier` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-imports/import-type-shorthand-2/input.js -semantic error: Expected `,` but found `Identifier` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/declare-class-method-reserved-word/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/declare-interface-method-reserved-word/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/default/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/interface-reserved-word/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/object-reserved-word/input.js -semantic error: Expected `(` but found `<` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/type-parameter-declaration/type-object-reserved-word/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/async-call/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/async-generic-arrow/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/function-call/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/method-call/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/method-call-computed/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/new/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/new-noparens/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/rollback-jsx/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_allowed_trailing_commas/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_anywhere_in_list/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_calls/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_methods/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typeapp-call/underscore_is_implicit_in_new/input.js -semantic error: Flow is not supported - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/1/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/2/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/3/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/4/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/generic-arrow-func-parenthesized/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/works-in-array-pattern/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/yield/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/flow/typecasts/yield-extra-parentheses/input.js -semantic error: Expected `,` but found `:` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/1/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/10/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/11/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/12/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/14/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/15/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/16/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/17/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/18/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/19/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/2/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/20/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/21/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/3/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/4/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/5/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/6/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/7/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/8/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/asi/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/empty-expression-container/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/entity/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/fragment-1/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/fragment-2/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/fragment-3/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/fragment-4/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/fragment-5/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/fragment-6/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/jsx-text-closing-angle-bracket-babel-7/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/jsx-text-closing-angle-bracket-wrapped/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/jsx-text-closing-curly-brace-babel-7/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/jsx-text-closing-curly-brace-wrapped/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/keyword-tag/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/namespace-tag/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/nonentity/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/nonentity-decimal/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/sequence-expression/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/spread-text/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/yield-tag/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param-no-flow/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/_no-plugin-ts-type-param-no-flow-babel-7/input.js -semantic error: Expected `<` but found `EOF` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/attribute-sequence-expression-babel-7/input.js -semantic error: JSX expressions may not use the comma operator - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression-babel-7/input.js -semantic error: JSX expressions may not use the comma operator - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/errors/sequence-expression-parenthesized/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/html-entities/code-point/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/html-entities/html4/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/html-entities/invalid/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/html-entities/no-object-prototype/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/1/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/2/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/3/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/4/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/5/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/6/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/7/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/issue-11387/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/issue-2083/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/issue-2114/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/issue-8891/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/regression/nbsp/input.js -semantic error: Symbols mismatch after transform -ReferenceId mismatch after transform - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/arrow/async/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/arrow/sync/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/body_expression/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/body_statement/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/decorators/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id-body/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id-super/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id-super-body/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id_expression/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/id_statement/input.js -semantic error: Expected `{` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/class/super/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/declaration/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias-2/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-alias-3/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-3/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias-2/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/named-from-alias-3/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/star-from/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/star-from-2/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/export/star-from-3/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/expression/01/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/body/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/id-params-body/input.js -semantic error: Expected `(` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/id_declaration/input.js -semantic error: Expected `(` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/id_expression/input.js -semantic error: Expected `(` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/function/param/input.js -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default/input.mjs -semantic error: Expected `from` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-file/input.mjs -semantic error: Expected `from` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-named/input.mjs -semantic error: Unexpected token - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-named-2/input.mjs -semantic error: Expected `from` but found `%` - -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-named-3/input.mjs -semantic error: Expected `from` but found `%` +AST Parsed : 2101/2101 (100.00%) +Positive Passed: 1813/2101 (86.29%) +tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/interpreter-directive/interpreter-directive-import/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["spawn"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-star/input.mjs -semantic error: Expected `from` but found `%` +tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/regression/10892/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-star-2/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-true/input.js +semantic error: Unexpected new.target expression +Unexpected new.target expression -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/default-star-3/input.mjs -semantic error: Expected `from` but found `%` +tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/327/input.js +semantic error: A 'return' statement can only be used within a function body. -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/file/input.mjs -semantic error: Expected `from` but found `%` +tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/328/input.js +semantic error: A 'return' statement can only be used within a function body. -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/file-empty/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/modules/import-declaration-trailing-comma/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["Foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/301/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar", "foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/92/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["$"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias-2/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/93/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["decrypt", "encrypt"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/named-alias-3/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/94/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["enc"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/import/star/input.mjs -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/95/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["crypto", "decrypt", "enc"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/asi/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/97/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["nil"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/break/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/98/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["crypto"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/continue/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/labels/labeled-statement/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-named-specifiers/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar", "foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/statement/asi/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-and-namespace-specifiers/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar", "foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/statement/nested/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-as/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/statement/top-level/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-jquery/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["$"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/try/try-catch-finally/input.js -semantic error: Expected `{` but found `%` +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifier/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["baz"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/try/with-catch-param/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-as-specifiers/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["baz", "xyz"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/const-init/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifier/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/let-context-2/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar", "baz"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/let-init/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-named-specifiers-comma/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar", "baz"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/using-init/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-namespace-specifier/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/placeholders/variable/var-init/input.js -semantic error: Unexpected token +tasks/coverage/babel/packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-null-as-nil/input.js +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["nil"] +current scope ScopeId(0): [] +Symbols mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/arrow-function/async-await-null/input.ts semantic error: Bindings Mismatch: @@ -2201,10 +194,7 @@ current scope ScopeId(1): ["a"] Symbols mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/arrow-function/generic-tsx-babel-7/input.ts -semantic error: Bindings Mismatch: -previous scope ScopeId(1): ["T", "a"] -current scope ScopeId(1): ["a"] -Symbols mismatch after transform +semantic error: Expected `<` but found `EOF` tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/assign/TSTypeParameterInstantiation/input.ts semantic error: Scopes mismatch after transform @@ -2227,7 +217,8 @@ tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/async- semantic error: Scopes mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/async-optional-method/input.js -semantic error: Expected `,` but found `:` +semantic error: Scopes mismatch after transform +Symbols mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/constructor/input.ts semantic error: Scopes mismatch after transform @@ -2393,9 +384,6 @@ Symbols mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/parameter-properties/input.ts semantic error: A required parameter cannot follow an optional parameter. -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/parameter-properties-with-decorators/input.ts -semantic error: ReferenceId mismatch after transform - tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/private-method-overload/input.ts semantic error: Scopes mismatch after transform Symbols mismatch after transform @@ -2426,14 +414,10 @@ previous scope ScopeId(0): ["x", "y"] current scope ScopeId(0): [] tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/eval/input.ts -semantic error: Bindings Mismatch: -previous scope ScopeId(0): ["global"] -current scope ScopeId(0): [] - -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/eval-dts/input.ts -semantic error: Bindings Mismatch: -previous scope ScopeId(0): ["global"] -current scope ScopeId(0): [] +semantic error: Cannot assign to 'eval' in strict mode +Cannot assign to 'arguments' in strict mode +Cannot assign to 'eval' in strict mode +Cannot assign to 'arguments' in strict mode tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/declare/interface/input.ts semantic error: Bindings Mismatch: @@ -2495,12 +479,6 @@ previous scope ScopeId(4): ["T", "x"] current scope ScopeId(4): ["x"] Symbols mismatch after transform -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/dts/no-initializer/input.ts -semantic error: Missing initializer in const declaration - -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/dts/valid-trailing-comma-for-rest/input.ts -semantic error: A rest parameter must be last in a parameter list - tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/enum/const/input.ts semantic error: Scopes mismatch after transform Symbols mismatch after transform @@ -2910,11 +888,6 @@ semantic error: Bindings Mismatch: previous scope ScopeId(0): ["Comma", "Newline", "Semi"] current scope ScopeId(0): [] -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/legacy-decorators/abstract-class/input.ts -semantic error: Scopes mismatch after transform -Symbols mismatch after transform -ReferenceId mismatch after transform - tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/module-namespace/body/input.ts semantic error: Scopes mismatch after transform Symbols mismatch after transform @@ -3091,10 +1064,14 @@ current scope ScopeId(0): [] ReferenceId mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/scope/module-declaration-var/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none +semantic error: Bindings Mismatch: +previous scope ScopeId(0): ["bar"] +current scope ScopeId(0): [] tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/scope/module-declaration-var-2/input.js -semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none +semantic error: Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/scope/redeclaration-constenum-constenum/input.ts semantic error: Scopes mismatch after transform @@ -3172,9 +1149,8 @@ current scope ScopeId(1): ["input"] Symbols mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/tsx/assignment-in-conditional-expression/input.ts -semantic error: Unexpected flag h in regular expression literal -Unexpected flag 1 in regular expression literal -Unexpected token +semantic error: Symbols mismatch after transform +ReferenceId mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/tsx/brace-is-block/input.tsx semantic error: Symbols mismatch after transform @@ -3237,7 +1213,8 @@ current scope ScopeId(0): ["C", "C1", "C2", "C3", "C4", "bar", "x10", "x11", "x ReferenceId mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/tsx/input.ts -semantic error: Unexpected token +semantic error: Symbols mismatch after transform +ReferenceId mismatch after transform tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments/whitespace/input.ts semantic error: Bindings Mismatch: @@ -3264,11 +1241,6 @@ semantic error: Bindings Mismatch: previous scope ScopeId(0): ["T"] current scope ScopeId(0): [] -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/decorator-legacy-call-expression/input.ts -semantic error: Bindings Mismatch: -previous scope ScopeId(0): ["T"] -current scope ScopeId(0): [] - tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/input.tsx semantic error: Unexpected token @@ -3290,11 +1262,6 @@ semantic error: Bindings Mismatch: previous scope ScopeId(0): ["T"] current scope ScopeId(0): [] -tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/decorator-legacy-call-expression/input.ts -semantic error: Bindings Mismatch: -previous scope ScopeId(0): ["T"] -current scope ScopeId(0): [] - tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/type-arguments-bit-shift-left-like-babel-7/jsx-opening-element/input.tsx semantic error: Unexpected token diff --git a/tasks/coverage/src/babel/mod.rs b/tasks/coverage/src/babel/mod.rs index 4484e9a5a3544..1fe6c0527cbf3 100644 --- a/tasks/coverage/src/babel/mod.rs +++ b/tasks/coverage/src/babel/mod.rs @@ -127,7 +127,7 @@ impl BabelCase { impl Case for BabelCase { /// # Panics fn new(path: PathBuf, code: String) -> Self { - let dir = workspace_root().join(FIXTURES_PATH).join(&path); + let dir = workspace_root().join(&path); let options = BabelOptions::from_test_path(dir.parent().unwrap()); let source_type = SourceType::from_path(&path) .unwrap() diff --git a/tasks/coverage/transformer_babel.snap b/tasks/coverage/transformer_babel.snap index a3f090e4ca546..cc33537346a44 100644 --- a/tasks/coverage/transformer_babel.snap +++ b/tasks/coverage/transformer_babel.snap @@ -1,6 +1,5 @@ commit: 12619ffe transformer_babel Summary: -AST Parsed : 2771/2771 (100.00%) -Positive Passed: 2770/2771 (99.96%) -Mismatch: tasks/coverage/babel/packages/babel-parser/test/fixtures/jsx/basic/7/input.js +AST Parsed : 2101/2101 (100.00%) +Positive Passed: 2101/2101 (100.00%)