mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
7042 lines
211 KiB
Text
7042 lines
211 KiB
Text
Babel Summary:
|
||
AST Parsed : 2056/2069 (99.37%)
|
||
Expect to Parse: "typescript/arrow-function/generic-tsx-babel-7/input.ts"
|
||
|
||
× Expect token
|
||
╭─[typescript/arrow-function/generic-tsx-babel-7/input.ts:1:1]
|
||
1 │ // Same as `generic`. Verify that JSX doesn't change things.
|
||
2 │ <T>(a: T): T => a;
|
||
· ┬
|
||
· ╰── Expect `<` here, but found `EOF`
|
||
╰────
|
||
Expect to Parse: "typescript/cast/satisfies/input.ts"
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[typescript/cast/satisfies/input.ts:1:1]
|
||
1 │ x satisfies T;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
2 │ x < y satisfies boolean; // (x < y) satisfies boolean;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
Expect to Parse: "typescript/declare/function-rest-trailing-comma/input.ts"
|
||
|
||
× Rest element must be last element
|
||
╭─[typescript/declare/function-rest-trailing-comma/input.ts:1:1]
|
||
1 │ declare function foo(...args: any[], )
|
||
· ───────┬──────
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
Expect to Parse: "typescript/dts/no-initializer/input.ts"
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[typescript/dts/no-initializer/input.ts:1:1]
|
||
1 │ const x: number;
|
||
· ┬
|
||
· ╰── const declaration need an initializer
|
||
╰────
|
||
Expect to Parse: "typescript/dts/valid-trailing-comma-for-rest/input.ts"
|
||
|
||
× Rest element must be last element
|
||
╭─[typescript/dts/valid-trailing-comma-for-rest/input.ts:1:1]
|
||
1 │ function foo(...args: any[], );
|
||
· ───────┬──────
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
Expect to Parse: "typescript/interface/get-set-properties/input.ts"
|
||
|
||
× Expect token
|
||
╭─[typescript/interface/get-set-properties/input.ts:1:1]
|
||
1 │ interface Foo {
|
||
2 │ get foo: string;
|
||
· ┬
|
||
· ╰── Expect `(` here, but found `:`
|
||
3 │ set bar: string;
|
||
╰────
|
||
Expect to Parse: "typescript/module-namespace/body-nested-declare/input.ts"
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[typescript/module-namespace/body-nested-declare/input.ts:2:1]
|
||
2 │ namespace B {
|
||
3 │ const x: number;
|
||
· ┬
|
||
· ╰── const declaration need an initializer
|
||
4 │ }
|
||
╰────
|
||
Expect to Parse: "typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts"
|
||
|
||
× Expect token
|
||
╭─[typescript/regression/nested-extends-in-arrow-type-param-babel-7/input.ts:1:1]
|
||
1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G;
|
||
· ───┬───
|
||
· ╰── Expect `,` here, but found `extends`
|
||
╰────
|
||
Expect to Parse: "typescript/regression/nested-extends-in-arrow-type-param/input.ts"
|
||
|
||
× Expect token
|
||
╭─[typescript/regression/nested-extends-in-arrow-type-param/input.ts:1:1]
|
||
1 │ type Equals = A extends (x: B extends C ? D : E) => 0 ? F : G;
|
||
· ───┬───
|
||
· ╰── Expect `,` here, but found `extends`
|
||
╰────
|
||
Expect to Parse: "typescript/type-arguments-bit-shift-left-like-babel-7/decorator-call-expression/input.ts"
|
||
|
||
× Unexpected token
|
||
╭─[typescript/type-arguments-bit-shift-left-like-babel-7/decorator-call-expression/input.ts:1:1]
|
||
1 │ (@f<<T>(v: T) => void>() class {});
|
||
· ─
|
||
╰────
|
||
Expect to Parse: "typescript/type-arguments-bit-shift-left-like/decorator-call-expression/input.ts"
|
||
|
||
× Unexpected token
|
||
╭─[typescript/type-arguments-bit-shift-left-like/decorator-call-expression/input.ts:1:1]
|
||
1 │ (@f<<T>(v: T) => void>() class {});
|
||
· ─
|
||
╰────
|
||
Expect to Parse: "typescript/types/const-type-parameters-babel-7/input.ts"
|
||
|
||
× Unexpected token
|
||
╭─[typescript/types/const-type-parameters-babel-7/input.ts:1:1]
|
||
1 │ function a<const T>() {}
|
||
· ─────
|
||
2 │ function b<const T extends U>() {}
|
||
╰────
|
||
Expect to Parse: "typescript/types/const-type-parameters/input.ts"
|
||
|
||
× Unexpected token
|
||
╭─[typescript/types/const-type-parameters/input.ts:1:1]
|
||
1 │ function a<const T>() {}
|
||
· ─────
|
||
2 │ function b<const T extends U>() {}
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/categorized/for-missing-semicolons/input.js:2:1]
|
||
2 │ var a = 1
|
||
3 │ a < 3
|
||
· ┬
|
||
· ╰── Expect `;` here, but found `Identifier`
|
||
4 │ a++
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-1/input.js:1:1]
|
||
1 │ (a = 1) = t
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-2/input.js:1:1]
|
||
1 │ [(a = 1)] = t
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-3/input.js:1:1]
|
||
1 │ [({ a: [b = 2]})] = t
|
||
· ───────┬───────
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-4/input.js:1:1]
|
||
1 │ [{b: [([a = 1])]}] = t
|
||
· ────┬────
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-5/input.js:1:1]
|
||
1 │ [([x])] = t;
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-6/input.js:1:1]
|
||
1 │ (a += 1) = t
|
||
· ───┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-7/input.js:1:1]
|
||
1 │ (a -= 1) = t
|
||
· ───┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-assignment-pattern-8/input.js:1:1]
|
||
1 │ (b = (a -= 1)) = t
|
||
· ──────┬─────
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-left-hand-side-in-postfix-operation/input.js:1:1]
|
||
1 │ a++ = t
|
||
· ─┬─
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/categorized/invalid-left-hand-side-in-prefix-operation/input.js:1:1]
|
||
1 │ ++a = t
|
||
· ─┬─
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/categorized/malformed-switch/input.js:1:1]
|
||
1 │ switch (x) {
|
||
2 │ var y = 5;
|
||
· ───
|
||
3 │ }
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-2/input.js:1:1]
|
||
1 │ [{b: [([a = 1])]}] = t
|
||
· ────┬────
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-3/input.js:1:1]
|
||
1 │ [({ a: [b = 2]})] = t
|
||
· ───────┬───────
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-4/input.js:1:1]
|
||
1 │ [(a = 1)] = t
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-5/input.js:1:1]
|
||
1 │ (a = 1) = t
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern-6/input.js:1:1]
|
||
1 │ ([a]) = []
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-assignment-pattern/input.js:1:1]
|
||
1 │ ({x}) = {x: 1};
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/invalid-parenthesized-left-hand-side/input.js:1:1]
|
||
1 │ (!a) += 1
|
||
· ─┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/create-parenthesized-expressions/invalid-pattern-in-rest-binding/input.js:1:1]
|
||
1 │ ([...(a)]) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid assignment
|
||
╭─[core/create-parenthesized-expressions/valid-parenthesized-assignment-array-pattern-3/input.js:1:1]
|
||
1 │ [([x])] = t;
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/escape-keyword/invalid/input.js:2:1]
|
||
2 │ br\u{65}ak
|
||
3 │ };
|
||
· ─
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[core/escape-template/non-octal-eight/input.js:1:1]
|
||
1 │ `\8`;
|
||
· ─┬
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[core/escape-template/non-octal-nine/input.js:1:1]
|
||
1 │ `\9`;
|
||
· ─┬
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[core/object/invalid-escape-get/input.js:1:1]
|
||
1 │ ({ ge\u0074 x() {} })
|
||
· ────┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[core/object/invalid-setter/input.js:1:1]
|
||
1 │ ({ set x(){} })
|
||
· ─┬
|
||
· ╰── A 'set' accessor must have exactly one parameter.
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/opts/allowAwaitOutsideFunction-false/input.js:1:1]
|
||
1 │ for await (const i of imports) {}
|
||
· ──┬──
|
||
· ╰── Expect `(` here, but found `await`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/regression/13694-invalid-dot-bracketL-member/input.js:1:1]
|
||
1 │ a.[b]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/regression/T2921/input.js:1:1]
|
||
1 │ a <== b;
|
||
· ─
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/regression/octal-float-fail/input.js:1:1]
|
||
1 │ 07.5
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[core/uncategorised/.542/input.js:1:1]
|
||
1 │ ({ get prop(x) {} })
|
||
· ─┬─
|
||
· ╰── A 'get' accessor must not have any formal parameters.
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[core/uncategorised/.543/input.js:1:1]
|
||
1 │ ({ set prop() {} })
|
||
· ─┬
|
||
· ╰── A 'set' accessor must have exactly one parameter.
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[core/uncategorised/.544/input.js:1:1]
|
||
1 │ ({ set prop(x, y) {} })
|
||
· ───┬──
|
||
· ╰── A 'set' accessor must have exactly one parameter.
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/108/input.js:1:1]
|
||
1 │ var x = /[P QR]/\u0067
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/345/input.js:1:1]
|
||
1 │ {
|
||
· ┬
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/346/input.js:1:1]
|
||
1 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Character `'a'`
|
||
╭─[core/uncategorised/347/input.js:1:1]
|
||
1 │ 3ea
|
||
· ▲
|
||
· ╰── Invalid Character `a`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/347/input.js:1:1]
|
||
1 │ 3ea
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/348/input.js:1:1]
|
||
1 │ 3in []
|
||
· ─┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[core/uncategorised/349/input.js:1:1]
|
||
1 │ 3e
|
||
╰────
|
||
|
||
× Invalid Number
|
||
╭─[core/uncategorised/349/input.js:1:1]
|
||
1 │ 3e
|
||
· ─┬
|
||
· ╰── invalid float
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[core/uncategorised/350/input.js:1:1]
|
||
1 │ 3e+
|
||
╰────
|
||
|
||
× Invalid Number
|
||
╭─[core/uncategorised/350/input.js:1:1]
|
||
1 │ 3e+
|
||
· ─┬─
|
||
· ╰── invalid float
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[core/uncategorised/351/input.js:1:1]
|
||
1 │ 3e-
|
||
╰────
|
||
|
||
× Invalid Number
|
||
╭─[core/uncategorised/351/input.js:1:1]
|
||
1 │ 3e-
|
||
· ─┬─
|
||
· ╰── invalid float
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/352/input.js:1:1]
|
||
1 │ 3x
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/353/input.js:1:1]
|
||
1 │ 3x0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[core/uncategorised/354/input.js:1:1]
|
||
1 │ 0x
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/357/input.js:1:1]
|
||
1 │ 01a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/358/input.js:1:1]
|
||
1 │ 3in[]
|
||
· ─┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[core/uncategorised/359/input.js:1:1]
|
||
1 │ 0x3in[]
|
||
· ─┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[core/uncategorised/360/input.js:1:1]
|
||
1 │ "Hello
|
||
· ───┬───
|
||
· ╰── Unterminated string
|
||
2 │ World"
|
||
╰────
|
||
|
||
× Invalid Character `'\\'`
|
||
╭─[core/uncategorised/362/input.js:1:1]
|
||
1 │ x\u005c
|
||
╰────
|
||
|
||
× Invalid Character `'*'`
|
||
╭─[core/uncategorised/363/input.js:1:1]
|
||
1 │ x\u002a
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[core/uncategorised/364/input.js:1:1]
|
||
1 │ /
|
||
· ┬
|
||
· ╰── Unterminated regular expression
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[core/uncategorised/365/input.js:1:1]
|
||
1 │ /test
|
||
· ──┬──
|
||
· ╰── Unterminated regular expression
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[core/uncategorised/366/input.js:1:1]
|
||
1 │ var x = /[a-z]/\ux
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/366/input.js:1:1]
|
||
1 │ var x = /[a-z]/\ux
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/367/input.js:1:1]
|
||
1 │ 3 = 4
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/368/input.js:1:1]
|
||
1 │ func() = 4
|
||
· ───┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/369/input.js:1:1]
|
||
1 │ (1 + 1) = 10
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/370/input.js:1:1]
|
||
1 │ 1++
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/371/input.js:1:1]
|
||
1 │ 1--
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/372/input.js:1:1]
|
||
1 │ ++1
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/373/input.js:1:1]
|
||
1 │ --1
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/374/input.js:1:1]
|
||
1 │ for((1 + 1) in list) process(x);
|
||
· ───────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/375/input.js:1:1]
|
||
1 │ [
|
||
· ┬
|
||
· ╰── Expect `]` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/376/input.js:1:1]
|
||
1 │ [,
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/377/input.js:1:1]
|
||
1 │ 1 + {
|
||
· ┬
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/378/input.js:1:1]
|
||
1 │ 1 + { t:t
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/379/input.js:1:1]
|
||
1 │ 1 + { t:t,
|
||
· ─
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[core/uncategorised/380/input.js:1:1]
|
||
1 │ var x = /
|
||
· ─┬
|
||
· ╰── Unterminated regular expression
|
||
2 │ /
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[core/uncategorised/381/input.js:1:1]
|
||
1 │ var x = "
|
||
· ─┬
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/382/input.js:1:1]
|
||
1 │ var if = 42
|
||
· ──
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/383/input.js:1:1]
|
||
1 │ i + 2 = 42
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[core/uncategorised/384/input.js:1:1]
|
||
1 │ +i = 42
|
||
· ─┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/385/input.js:1:1]
|
||
1 │ 1 + (
|
||
· ┬
|
||
· ╰── Expect `)` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/386/input.js:3:1]
|
||
3 │
|
||
4 │ {
|
||
· ┬
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/387/input.js:3:1]
|
||
3 │ comment */
|
||
4 │ )
|
||
· ─
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/388/input.js:1:1]
|
||
1 │ { set 1 }
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/389/input.js:1:1]
|
||
1 │ { get 2 }
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/390/input.js:1:1]
|
||
1 │ ({ set: s(if) { } })
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/391/input.js:1:1]
|
||
1 │ ({ set s(.) { } })
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/392/input.js:1:1]
|
||
1 │ ({ set: s() { } })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/393/input.js:1:1]
|
||
1 │ ({ set: s(a, b) { } })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/394/input.js:1:1]
|
||
1 │ ({ get: g(d) { } })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/395/input.js:1:1]
|
||
1 │ function t(...) { }
|
||
· ─
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[core/uncategorised/396/input.js:1:1]
|
||
1 │ function t(...rest, b) { }
|
||
· ───┬───
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/397/input.js:1:1]
|
||
1 │ function t(if) { }
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/398/input.js:1:1]
|
||
1 │ function t(true) { }
|
||
· ────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/399/input.js:1:1]
|
||
1 │ function t(false) { }
|
||
· ─────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/400/input.js:1:1]
|
||
1 │ function t(null) { }
|
||
· ────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/401/input.js:1:1]
|
||
1 │ function null() { }
|
||
· ──┬─
|
||
· ╰── Expect `(` here, but found `null`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/402/input.js:1:1]
|
||
1 │ function true() { }
|
||
· ──┬─
|
||
· ╰── Expect `(` here, but found `true`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/403/input.js:1:1]
|
||
1 │ function false() { }
|
||
· ──┬──
|
||
· ╰── Expect `(` here, but found `false`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/404/input.js:1:1]
|
||
1 │ function if() { }
|
||
· ─┬
|
||
· ╰── Expect `(` here, but found `if`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/405/input.js:1:1]
|
||
1 │ a b;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/406/input.js:1:1]
|
||
1 │ if.a;
|
||
· ┬
|
||
· ╰── Expect `(` here, but found `.`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/407/input.js:1:1]
|
||
1 │ a if;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[core/uncategorised/408/input.js:1:1]
|
||
1 │ a class;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/410/input.js:1:1]
|
||
1 │ break 1;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/412/input.js:1:1]
|
||
1 │ continue 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/413/input.js:1:1]
|
||
1 │ throw
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/414/input.js:1:1]
|
||
1 │ throw;
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/416/input.js:1:1]
|
||
1 │ for ((i in {}));
|
||
· ┬
|
||
· ╰── Expect `;` here, but found `)`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/417/input.js:1:1]
|
||
1 │ for (i + 1 in {});
|
||
· ─────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/418/input.js:1:1]
|
||
1 │ for (+i in {});
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/419/input.js:1:1]
|
||
1 │ if(false)
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/420/input.js:1:1]
|
||
1 │ if(false) doThis(); else
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/421/input.js:1:1]
|
||
1 │ do
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/422/input.js:1:1]
|
||
1 │ while(false)
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/423/input.js:1:1]
|
||
1 │ for(;;)
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/424/input.js:1:1]
|
||
1 │ with(x)
|
||
· ─
|
||
╰────
|
||
|
||
× Missing catch or finally clause
|
||
╭─[core/uncategorised/425/input.js:1:1]
|
||
1 │ try { }
|
||
╰────
|
||
|
||
× Invalid Character `'‿'`
|
||
╭─[core/uncategorised/426/input.js:1:1]
|
||
1 │ ‿ = 10
|
||
· ┬
|
||
· ╰── Invalid Character `‿`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/428/input.js:1:1]
|
||
1 │ new X()."s"
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[core/uncategorised/429/input.js:1:1]
|
||
1 │ /*
|
||
· ─┬
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[core/uncategorised/430/input.js:1:1]
|
||
1 │ ╭─▶ /*
|
||
2 │ │
|
||
3 │ ├─▶
|
||
· ╰──── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[core/uncategorised/431/input.js:1:1]
|
||
1 │ /**
|
||
· ─┬─
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[core/uncategorised/432/input.js:1:1]
|
||
1 │ ╭─▶ /*
|
||
2 │ │
|
||
3 │ ├─▶ *
|
||
· ╰──── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[core/uncategorised/433/input.js:1:1]
|
||
1 │ /*hello
|
||
· ───┬───
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[core/uncategorised/434/input.js:1:1]
|
||
1 │ /*hello *
|
||
· ─────┬────
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/435/input.js:1:1]
|
||
1 │
|
||
2 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/436/input.js:1:1]
|
||
1 │
|
||
]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/437/input.js:1:1]
|
||
1 │
|
||
2 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/438/input.js:2:1]
|
||
2 │
|
||
]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/439/input.js:1:1]
|
||
1 │ //
|
||
2 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/440/input.js:2:1]
|
||
2 │
|
||
]
|
||
· ─
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[core/uncategorised/441/input.js:1:1]
|
||
1 │ /a\
|
||
· ──┬─
|
||
· ╰── Unterminated regular expression
|
||
2 │ /
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/442/input.js:2:1]
|
||
2 │
|
||
3 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/443/input.js:1:1]
|
||
1 │ /*
|
||
2 │ */]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/444/input.js:2:1]
|
||
2 │
|
||
*/]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/445/input.js:2:1]
|
||
2 │
|
||
3 │ */]
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[core/uncategorised/446/input.js:1:1]
|
||
1 │ \\
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Character `'\\'`
|
||
╭─[core/uncategorised/447/input.js:1:1]
|
||
1 │ \u005c
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[core/uncategorised/448/input.js:1:1]
|
||
1 │ \x
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Character `'\0'`
|
||
╭─[core/uncategorised/449/input.js:1:1]
|
||
1 │ \u0000
|
||
╰────
|
||
|
||
× Invalid Character `'\u{200c}'`
|
||
╭─[core/uncategorised/450/input.js:1:1]
|
||
1 │ = []
|
||
· ┬
|
||
· ╰── Invalid Character ``
|
||
╰────
|
||
|
||
× Invalid Character `'\u{200d}'`
|
||
╭─[core/uncategorised/451/input.js:1:1]
|
||
1 │ = []
|
||
· ┬
|
||
· ╰── Invalid Character ``
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[core/uncategorised/452/input.js:1:1]
|
||
1 │ "\
|
||
· ─┬
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[core/uncategorised/452/input.js:1:1]
|
||
1 │ "\
|
||
· ─┬
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[core/uncategorised/453/input.js:1:1]
|
||
1 │ "\u
|
||
· ─┬
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[core/uncategorised/453/input.js:1:1]
|
||
1 │ "\u
|
||
· ─┬─
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[core/uncategorised/458/input.js:1:1]
|
||
1 │ do { x } *
|
||
· ┬
|
||
· ╰── Expect `while` here, but found `*`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/523/input.js:1:1]
|
||
1 │ var this = 10;
|
||
· ────
|
||
╰────
|
||
|
||
× Illegal newline after "throw"
|
||
╭─[core/uncategorised/524/input.js:1:1]
|
||
1 │ throw
|
||
· ──┬──
|
||
· ╰── throw starts here
|
||
2 │ 10;
|
||
· ─┬
|
||
· ╰── A newline is not expected here
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[core/uncategorised/536/input.js:1:1]
|
||
1 │ const a;
|
||
· ┬
|
||
· ╰── const declaration need an initializer
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[core/uncategorised/554/input.js:1:1]
|
||
1 │ var a = 0123.;
|
||
· ─
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[core/uncategorised/555/input.js:2:1]
|
||
2 │ first,
|
||
3 │ ...second,
|
||
· ────┬────
|
||
· ╰── Rest element must be last element
|
||
4 │ third,
|
||
╰────
|
||
|
||
× Unexpected trailing comma after rest element
|
||
╭─[es2015/array-rest-spread/comma-after-rest/input.js:1:1]
|
||
1 │ [...a,] = [];
|
||
· ▲
|
||
· ╰── Unexpected trailing comma after rest element
|
||
╰────
|
||
|
||
× Unexpected trailing comma after rest element
|
||
╭─[es2015/array-rest-spread/comma-after-spread-for-in/input.js:1:1]
|
||
1 │ for ([...a,] in []);
|
||
· ▲
|
||
· ╰── Unexpected trailing comma after rest element
|
||
╰────
|
||
|
||
× Unexpected trailing comma after rest element
|
||
╭─[es2015/array-rest-spread/comma-after-spread-nested/input.js:1:1]
|
||
1 │ [[...a,]] = [];
|
||
· ▲
|
||
· ╰── Unexpected trailing comma after rest element
|
||
╰────
|
||
|
||
× Spread must be last element
|
||
╭─[es2015/array-rest-spread/invalid-location/input.js:1:1]
|
||
1 │ [...a, b] = c
|
||
· ──┬─
|
||
· ╰── Spread must be last element
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[es2015/arrow-functions/comma-after-rest-param/input.js:1:1]
|
||
1 │ (...rest,) => {}
|
||
· ───┬───
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens-2/input.js:1:1]
|
||
1 │ (a, (b)) => 42
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens-array-pattern-2/input.js:1:1]
|
||
1 │ ([ [(a)] = [] ] = []) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens-array-pattern-3/input.js:1:1]
|
||
1 │ ([(a) = [] ] = []) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens-array-pattern/input.js:1:1]
|
||
1 │ ([(a)]) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens-object-pattern-member/input.js:1:1]
|
||
1 │ ({ a: (foo.qux) } = {}) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens-object-pattern/input.js:1:1]
|
||
1 │ ({ a: (foo) } = {}) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/inner-parens/input.js:1:1]
|
||
1 │ var foo = ((foo)) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/invalid-arrow-before-in/input.js:1:1]
|
||
1 │ () => {} in x
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Rest element must be last element
|
||
╭─[es2015/arrow-functions/invalid-rest-in-params/input.js:2:1]
|
||
2 │ first,
|
||
3 │ ...second,
|
||
· ────┬────
|
||
· ╰── Rest element must be last element
|
||
4 │ third
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/no-binary-left/input.js:1:1]
|
||
1 │ () => {} || true
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/no-callee/input.js:1:1]
|
||
1 │ () => {}()
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2015/arrow-functions/no-for-in-init-concise-binary-in/input.js:1:1]
|
||
1 │ for (() => x in y;;);
|
||
· ───────
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/arrow-functions/no-ternary-test/input.js:1:1]
|
||
1 │ () => {} ? 1 : 2;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/class-methods/disallow-computed-async-identifier/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ [async] a() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/class-methods/disallow-computed-async-string/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ ["async"] a() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/class-methods/disallow-computed-get-identifier/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ [get] a() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/class-methods/disallow-computed-get-string/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ ["get"] a() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/class-methods/disallow-literal-async/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ "async" a() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/class-methods/disallow-literal-get/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ "get" a() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[es2015/class-methods/disallow-static-generator-prototype/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ static *prototype() {}
|
||
· ────┬────
|
||
· ╰── Classes may not have a static property named prototype
|
||
3 │ }
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[es2015/class-methods/disallow-static-prototype/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ static prototype() {}
|
||
· ────┬────
|
||
· ╰── Classes may not have a static property named prototype
|
||
3 │ }
|
||
╰────
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[es2015/class-methods/getter-signature/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ get prop (arg) {}
|
||
· ──┬──
|
||
· ╰── A 'get' accessor must not have any formal parameters.
|
||
3 │ }
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[es2015/class-methods/malformed-super-expression/input.js:2:1]
|
||
2 │ x () {
|
||
3 │ super - 1;
|
||
· ──┬──
|
||
· ╰── 'super' can only be used with function calls or in property accesses
|
||
4 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/class/invalid-escape-get/input.js:1:1]
|
||
1 │ class X { ge\u0074 x() {} }
|
||
· ────┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/class/invalid-escape-set/input.js:1:1]
|
||
1 │ class X { se\u0074 x(value) {} }
|
||
· ────┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/class/invalid-escape-static/input.js:1:1]
|
||
1 │ class X { st\u0061tic y() {} }
|
||
· ─────┬─────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/destructuring/binding-this/input.js:1:1]
|
||
1 │ var { this } = {};
|
||
· ┬
|
||
· ╰── Expect `:` here, but found `}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/destructuring/invalid-object-method/input.js:1:1]
|
||
1 │ const { foo() {} } = foo();
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `(`
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[es2015/destructuring/parenthesized-lhs-array/input.js:1:1]
|
||
1 │ ([a]) = 2;
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[es2015/destructuring/parenthesized-lhs-object/input.js:1:1]
|
||
1 │ ({a}) = 2;
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/for-in/bare-initializer/input.js:1:1]
|
||
1 │ var a;
|
||
2 │ for (a = 0 in {});
|
||
· ─────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/for-of/bare-initializer/input.js:1:1]
|
||
1 │ var a;
|
||
2 │ for (a = 0 of {});
|
||
· ─────
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/for-of/invalid-escape-of/input.js:1:1]
|
||
1 │ for (x \u006ff y) {}
|
||
· ───┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/for-of/invalid-expr/input.js:1:1]
|
||
1 │ for (let x of y, z) {}
|
||
· ┬
|
||
· ╰── Expect `)` here, but found `,`
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/generators/invalid-escape-yield/input.js:1:1]
|
||
1 │ (function* () { y\u0069eld; })
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Generators can only be declared at the top level or inside a block
|
||
╭─[es2015/generators/invalid-hanging/input.js:1:1]
|
||
1 │ if (1) function *foo() {}
|
||
· ───────┬───────
|
||
· ╰── Generators can only be declared at the top level or inside a block
|
||
╰────
|
||
|
||
× Generators can only be declared at the top level or inside a block
|
||
╭─[es2015/generators/invalid-sloppy-function/input.js:1:1]
|
||
1 │ while (1) function *foo() {}
|
||
· ───────┬───────
|
||
· ╰── Generators can only be declared at the top level or inside a block
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/identifiers/invalid-escape-seq-const/input.js:1:1]
|
||
1 │ var co\u{6e}st = 123;
|
||
· ──────────
|
||
2 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/identifiers/invalid-escape-seq-export/input.js:1:1]
|
||
1 │ var expor\u{74} = 123;
|
||
· ───────────
|
||
2 │
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/identifiers/invalid-escape-seq-if/input.js:1:1]
|
||
1 │ \u0069\u{66} (true) {}
|
||
· ──────┬─────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/identifiers/invalid-escape-seq-import/input.js:1:1]
|
||
1 │ var \u{69}\u{6d}\u{70}\u{6f}\u{72}\u{74} = 123;
|
||
· ────────────────────────────────────
|
||
2 │
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/identifiers/invalid-escape-seq-null/input.js:1:1]
|
||
1 │ nul\u{6c}
|
||
· ────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/identifiers/invalid-escape-seq-true/input.js:1:1]
|
||
1 │ \u0074rue
|
||
· ────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/let/invalid-escape/input.js:1:1]
|
||
1 │ le\u0074 x = 5
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[es2015/let/let-array-with-newline/input.js:1:1]
|
||
1 │ ╭─▶ do let
|
||
2 │ ├─▶ [x] = 0
|
||
· ╰──── Lexical declaration is not allowed here
|
||
3 │ while (false);
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/meta-properties/new-target-invalid-escaped-new/input.js:1:1]
|
||
1 │ function f() { n\u0065w.target; }
|
||
· ────┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/meta-properties/new-target-invalid-escaped-target/input.js:1:1]
|
||
1 │ function f() { new.ta\u0072get; }
|
||
· ─────┬─────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/modules/export-default-variable-declaration/input.js:1:1]
|
||
1 │ export default const Foo = () => {
|
||
· ─────
|
||
2 │ return `<div class="bar">Hola</div>`;
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/modules/export-default-variable-declaration2/input.js:1:1]
|
||
1 │ export default let Foo = () => {
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
2 │ return `<div class="bar">Hola</div>`;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2015/modules/export-default-variable-declaration3/input.js:1:1]
|
||
1 │ export default var Foo = () => {
|
||
· ───
|
||
2 │ return `<div class="bar">Hola</div>`;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/modules/import-invalid-keyword-typeof/input.js:1:1]
|
||
1 │ import { typeof } from "foo";
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/modules/import-invalid-keyword/input.js:1:1]
|
||
1 │ import { debugger } from "foo";
|
||
· ────────
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/modules/invalid-escape-export-as/input.js:1:1]
|
||
1 │ export { X \u0061s Y }
|
||
· ───┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2015/modules/invalid-escape-import-from/input.js:1:1]
|
||
1 │ import X fro\u006d 'x'
|
||
· ────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/modules/invalid-xml-comment-in-module/input.js:1:1]
|
||
1 │ <!--bar-->
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/object/async-method-linebreak/input.js:2:1]
|
||
2 │ async
|
||
3 │ foo() {}
|
||
· ─┬─
|
||
· ╰── Expect `,` here, but found `Identifier`
|
||
4 │ })
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/object/invalid-accessor-generator/input.js:1:1]
|
||
1 │ ({
|
||
2 │ get *iterator() { },
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `*`
|
||
3 │ set *iterator(iter) { }
|
||
╰────
|
||
|
||
× Flag 'i' is mentioned twice in regular expression literal
|
||
╭─[es2015/regex/duplicate-flags/input.js:1:1]
|
||
1 │ /./gii;
|
||
· ▲
|
||
· ╰── Flag i is mentioned twice in regular expression literal
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/shorthand/reserved-word/input.js:1:1]
|
||
1 │ var x = ({ const, if, this });
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid class declaration
|
||
╭─[es2015/statements/label-invalid-class/input.js:1:1]
|
||
1 │ foo: class X {}
|
||
· ────┬───
|
||
· ╰── Classes can only be declared at top level or inside a block
|
||
╰────
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[es2015/statements/label-invalid-const/input.js:1:1]
|
||
1 │ foo: const bar = null;
|
||
· ────────┬────────
|
||
· ╰── Lexical declaration is not allowed here
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Async functions can only be declared at the top level or inside a block
|
||
╭─[es2015/statements/label-invalid-func-async/input.js:1:1]
|
||
1 │ foo: async function bar() {}
|
||
· ──────────┬─────────
|
||
· ╰── Async functions can only be declared at the top level or inside a block
|
||
╰────
|
||
|
||
× Generators can only be declared at the top level or inside a block
|
||
╭─[es2015/statements/label-invalid-func-generator/input.js:1:1]
|
||
1 │ foo: function* bar() {}
|
||
· ───────┬───────
|
||
· ╰── Generators can only be declared at the top level or inside a block
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/statements/label-invalid-let/input.js:1:1]
|
||
1 │ foo: let bar;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[es2015/template/error-after-newline/input.js:1:1]
|
||
1 │ ╭─▶ `
|
||
2 │ ├─▶ \u{12_34}
|
||
· ╰──── Bad escape sequence in untagged template literal
|
||
3 │ `;
|
||
╰────
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[es2015/uncategorised/.345/input.js:1:1]
|
||
1 │ class A { get prop(x) {} }
|
||
· ─┬─
|
||
· ╰── A 'get' accessor must not have any formal parameters.
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[es2015/uncategorised/.346/input.js:1:1]
|
||
1 │ class A { set prop() {} }
|
||
· ─┬
|
||
· ╰── A 'set' accessor must have exactly one parameter.
|
||
╰────
|
||
|
||
× Constructor can't have get/set modifier
|
||
╭─[es2015/uncategorised/126/input.js:1:1]
|
||
1 │ class A { get constructor() {} }
|
||
· ─────┬─────
|
||
· ╰── Constructor can't have get/set modifier
|
||
╰────
|
||
|
||
× Constructor can't be a generator
|
||
╭─[es2015/uncategorised/127/input.js:1:1]
|
||
1 │ class A { *constructor() {} }
|
||
· ─────┬─────
|
||
· ╰── Constructor can't be a generator
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/151/input.js:1:1]
|
||
1 │ ({[x]})
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[es2015/uncategorised/198/input.js:1:1]
|
||
1 │ 0o
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/199/input.js:1:1]
|
||
1 │ 0o1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[es2015/uncategorised/200/input.js:1:1]
|
||
1 │ 0o9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/201/input.js:1:1]
|
||
1 │ 0o18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[es2015/uncategorised/202/input.js:1:1]
|
||
1 │ 0O
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/203/input.js:1:1]
|
||
1 │ 0O1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[es2015/uncategorised/204/input.js:1:1]
|
||
1 │ 0O9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/205/input.js:1:1]
|
||
1 │ 0O18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[es2015/uncategorised/206/input.js:1:1]
|
||
1 │ 0b
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/207/input.js:1:1]
|
||
1 │ 0b1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[es2015/uncategorised/208/input.js:1:1]
|
||
1 │ 0b9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/209/input.js:1:1]
|
||
1 │ 0b18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/210/input.js:1:1]
|
||
1 │ 0b12
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[es2015/uncategorised/211/input.js:1:1]
|
||
1 │ 0B
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/212/input.js:1:1]
|
||
1 │ 0B1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[es2015/uncategorised/213/input.js:1:1]
|
||
1 │ 0B9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/214/input.js:1:1]
|
||
1 │ 0B18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2015/uncategorised/215/input.js:1:1]
|
||
1 │ 0B12
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2015/uncategorised/216/input.js:1:1]
|
||
1 │ "\u{110000}"
|
||
· ────┬────
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2015/uncategorised/217/input.js:1:1]
|
||
1 │ "\u{}"
|
||
· ─┬─
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2015/uncategorised/218/input.js:1:1]
|
||
1 │ "\u{FFFF"
|
||
· ───┬───
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2015/uncategorised/219/input.js:1:1]
|
||
1 │ "\u{FFZ}"
|
||
· ──┬──
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[es2015/uncategorised/221/input.js:1:1]
|
||
1 │ [2] = 42
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[es2015/uncategorised/222/input.js:1:1]
|
||
1 │ ({ obj:20 } = 42)
|
||
· ─┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[es2015/uncategorised/223/input.js:1:1]
|
||
1 │ ({ get x() {} } = 0)
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/224/input.js:1:1]
|
||
1 │ x
|
||
2 │ is y
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/225/input.js:1:1]
|
||
1 │ x
|
||
2 │ isnt y
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/226/input.js:1:1]
|
||
1 │ function default() {}
|
||
· ───┬───
|
||
· ╰── Expect `(` here, but found `default`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/229/input.js:1:1]
|
||
1 │ var super
|
||
· ─────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/230/input.js:1:1]
|
||
1 │ var default
|
||
· ───────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/231/input.js:1:1]
|
||
1 │ let default
|
||
· ───────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/232/input.js:1:1]
|
||
1 │ const default = 2
|
||
· ───────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/237/input.js:1:1]
|
||
1 │ import foo
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/238/input.js:1:1]
|
||
1 │ import { foo, bar }
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/239/input.js:1:1]
|
||
1 │ import foo from bar
|
||
· ───
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[es2015/uncategorised/250/input.js:1:1]
|
||
1 │ () <= 42
|
||
· ▲
|
||
· ╰── Expected an expression here
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/251/input.js:1:1]
|
||
1 │ (10) => 00
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/252/input.js:1:1]
|
||
1 │ (10, 20) => 00
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/255/input.js:1:1]
|
||
1 │ void { [1, 2]: 3 };
|
||
· ┬
|
||
· ╰── Expect `]` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/261/input.js:1:1]
|
||
1 │ var obj = { *test** }
|
||
· ─┬
|
||
· ╰── Expect `(` here, but found `**`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/263/input.js:1:1]
|
||
1 │ class default
|
||
· ───┬───
|
||
· ╰── Expect `{` here, but found `default`
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[es2015/uncategorised/264/input.js:1:1]
|
||
1 │ `test
|
||
· ──┬──
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/265/input.js:1:1]
|
||
1 │ switch `test`
|
||
· ───┬──
|
||
· ╰── Expect `(` here, but found `${}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/266/input.js:1:1]
|
||
1 │ `hello ${10 `test`
|
||
· ┬
|
||
· ╰── Expect `$}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/267/input.js:1:1]
|
||
1 │ `hello ${10;test`
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/268/input.js:1:1]
|
||
1 │ function a() 1 // expression closure is not supported
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/273/input.js:1:1]
|
||
1 │ var a = [if (x) x]
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/275/input.js:1:1]
|
||
1 │ ({ "chance" }) = obj
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/276/input.js:1:1]
|
||
1 │ ({ 42 }) = obj
|
||
· ─
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[es2015/uncategorised/277/input.js:1:1]
|
||
1 │ function f(a, ...b, c) { }
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/278/input.js:1:1]
|
||
1 │ function f(a, ...b = 0)
|
||
· ─
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[es2015/uncategorised/283/input.js:1:1]
|
||
1 │ (...a, b) => {}
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/284/input.js:1:1]
|
||
1 │ ([ 5 ]) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/285/input.js:1:1]
|
||
1 │ ({ 5 }) => {}
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/286/input.js:1:1]
|
||
1 │ (...[ 5 ]) => {}
|
||
· ─
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[es2015/uncategorised/290/input.js:1:1]
|
||
1 │ "use strict"; `${test}\02`;
|
||
· ─┬─
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/293/input.js:1:1]
|
||
1 │ if (b,...a, );
|
||
· ───
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/294/input.js:1:1]
|
||
1 │ (b, ...a)
|
||
· ───
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/295/input.js:1:1]
|
||
1 │ switch (cond) { case 10: let a = 20;
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/298/input.js:1:1]
|
||
1 │ ({ get test() { } }) => 42
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[es2015/uncategorised/324/input.js:1:1]
|
||
1 │ let [x]
|
||
· ─┬─
|
||
· ╰── Missing initializer in destructuring declaration
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[es2015/uncategorised/325/input.js:1:1]
|
||
1 │ var [x]
|
||
· ─┬─
|
||
· ╰── Missing initializer in destructuring declaration
|
||
╰────
|
||
|
||
× Invalid Character `'𖫵'`
|
||
╭─[es2015/uncategorised/326/input.js:1:1]
|
||
1 │ var _𖫵 = 11;
|
||
· ┬
|
||
· ╰── Invalid Character `𖫵`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/326/input.js:1:1]
|
||
1 │ var _𖫵 = 11;
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Character `'\u{2b81e}'`
|
||
╭─[es2015/uncategorised/327/input.js:1:1]
|
||
1 │ var _ = 12;
|
||
· ─┬
|
||
· ╰── Invalid Character ``
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/328/input.js:1:1]
|
||
1 │ if (1) let x = 10;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[es2015/uncategorised/329/input.js:1:1]
|
||
1 │ for (;;) const x = 10;
|
||
· ──────┬──────
|
||
· ╰── Lexical declaration is not allowed here
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Invalid class declaration
|
||
╭─[es2015/uncategorised/331/input.js:1:1]
|
||
1 │ if (1) ; else class Cls {}
|
||
· ─────┬────
|
||
· ╰── Classes can only be declared at top level or inside a block
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[es2015/uncategorised/339/input.js:1:1]
|
||
1 │ `\07`
|
||
· ─┬─
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/340/input.js:1:1]
|
||
1 │ x = { method() 42 }
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/341/input.js:1:1]
|
||
1 │ x = { get method() 42 }
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/342/input.js:1:1]
|
||
1 │ x = { set method(val) v = val }
|
||
· ─
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[es2015/uncategorised/344/input.js:1:1]
|
||
1 │ super
|
||
· ──┬──
|
||
· ╰── 'super' can only be used with function calls or in property accesses
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[es2015/uncategorised/347/input.js:1:1]
|
||
1 │ class A { set prop(x, y) {} }
|
||
· ───┬──
|
||
· ╰── A 'set' accessor must have exactly one parameter.
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/357/input.js:1:1]
|
||
1 │ await = foo();
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/368/input.js:1:1]
|
||
1 │ enum = foo();
|
||
· ────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/369/input.js:1:1]
|
||
1 │ enum = foo();
|
||
· ────
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/37/input.js:1:1]
|
||
1 │ ([a.a]) => 42
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/370/input.js:1:1]
|
||
1 │ const enum = foo();
|
||
· ────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/371/input.js:1:1]
|
||
1 │ const enum = foo();
|
||
· ────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/372/input.js:1:1]
|
||
1 │ const { enum } = foo();
|
||
· ┬
|
||
· ╰── Expect `:` here, but found `}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/373/input.js:1:1]
|
||
1 │ const { enum } = foo();
|
||
· ┬
|
||
· ╰── Expect `:` here, but found `}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/374/input.js:1:1]
|
||
1 │ function foo({ enum }) {}
|
||
· ┬
|
||
· ╰── Expect `:` here, but found `}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/375/input.js:1:1]
|
||
1 │ function foo({ enum }) {}
|
||
· ┬
|
||
· ╰── Expect `:` here, but found `}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/376/input.js:1:1]
|
||
1 │ function enum() {}
|
||
· ──┬─
|
||
· ╰── Expect `(` here, but found `enum`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/377/input.js:1:1]
|
||
1 │ function enum() {}
|
||
· ──┬─
|
||
· ╰── Expect `(` here, but found `enum`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/378/input.js:1:1]
|
||
1 │ class enum {}
|
||
· ──┬─
|
||
· ╰── Expect `{` here, but found `enum`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/379/input.js:1:1]
|
||
1 │ class enum {}
|
||
· ──┬─
|
||
· ╰── Expect `{` here, but found `enum`
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[es2015/uncategorised/38/input.js:1:1]
|
||
1 │ console.log(typeof () => {});
|
||
· ▲
|
||
· ╰── Expected an expression here
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/38/input.js:1:1]
|
||
1 │ console.log(typeof () => {});
|
||
· ─┬
|
||
· ╰── Expect `,` here, but found `=>`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/386/input.js:1:1]
|
||
1 │ export typeof foo;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/387/input.js:1:1]
|
||
1 │ export new Foo();
|
||
· ───
|
||
╰────
|
||
|
||
× Expected function name
|
||
╭─[es2015/uncategorised/388/input.js:1:1]
|
||
1 │ export function() {};
|
||
· ┬
|
||
· ╰── Function name is required here
|
||
╰────
|
||
help: Function name is required in function declaration or named export
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/389/input.js:1:1]
|
||
1 │ export for (;;);
|
||
· ───
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/uncategorised/390/input.js:1:1]
|
||
1 │ export while(foo);
|
||
· ─────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/392/input.js:1:1]
|
||
1 │ import foo, { bar: { a } } from 'my-module';
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `:`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/uncategorised/395/input.js:1:1]
|
||
1 │ ([a.a]) => 42
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/84/input.js:1:1]
|
||
1 │ export *
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/uncategorised/96/input.js:1:1]
|
||
1 │ import default from "foo"
|
||
· ───┬───
|
||
· ╰── Expect `from` here, but found `default`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2015/yield/in-class-heritage/input.js:1:1]
|
||
1 │ class A extends yield B { }
|
||
· ┬
|
||
· ╰── Expect `{` here, but found `Identifier`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2015/yield/in-iterator-stmt/input.js:1:1]
|
||
1 │ function* g() {
|
||
2 │ for (yield '' in {}; ; ) ;
|
||
· ────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2015/yield/parameter-name-arrow-inside-generator-2/input.js:1:1]
|
||
1 │ function* fn() {
|
||
2 │ (yield fn) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2016/exponentiation-operator/13/input.js:1:1]
|
||
1 │ 1 %* 1;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2016/exponentiation-operator/14/input.js:1:1]
|
||
1 │ a %*= 1;
|
||
· ──
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2016/simple-parameter-list/async-arrow-function-after-binary-operator/input.js:1:1]
|
||
1 │ 3 + async() => 2
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2016/simple-parameter-list/async-arrow-function-after-unary-operator/input.js:1:1]
|
||
1 │ delete async () => 3;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-array-pattern-nested-2/input.js:1:1]
|
||
1 │ async ([(a) = []] = []) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-array-pattern-nested/input.js:1:1]
|
||
1 │ async ([ [(a)] = [] ] = []) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-binding-identifier/input.js:1:1]
|
||
1 │ var foo = async ((foo)) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-binding-member-expression/input.js:1:1]
|
||
1 │ async ([(a.b) = []] = []) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-binding-pattern/input.js:1:1]
|
||
1 │ var foo = async ([(foo)]) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-rest-array/input.js:1:1]
|
||
1 │ var foo = async ([...(foo)]) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-arrow/parenthesized-rest-object/input.js:1:1]
|
||
1 │ var foo = async ({...(foo)}) => {};
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[es2017/async-call/with-optional-operator/input.js:1:1]
|
||
1 │ async(x?)
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `?`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/10/input.js:1:1]
|
||
1 │ var x = async
|
||
2 │ (x) => x + 1;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2017/async-functions/2/input.js:1:1]
|
||
1 │ async function bar() {
|
||
2 │ await* foo();
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2017/async-functions/4/input.js:1:1]
|
||
1 │ ({ async a });
|
||
· ┬
|
||
· ╰── Expect `(` here, but found `}`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2017/async-functions/5/input.js:1:1]
|
||
1 │ ({ async a: function () {} });
|
||
· ┬
|
||
· ╰── Expect `(` here, but found `:`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/6/input.js:1:1]
|
||
1 │ async () => {}()
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/async-function-and-non-bmp-character/input.js:1:1]
|
||
1 │ async function𝐬 f() {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[es2017/async-functions/export-async/input.js:1:1]
|
||
1 │ export async;
|
||
· ─────
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/export-invalid/input.js:1:1]
|
||
1 │ export default async functionX () {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/invalid-await-with-object-exp-in-function/input.js:1:1]
|
||
1 │ function foo() {
|
||
2 │ await { foo };
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-async-class-method/input.js:1:1]
|
||
1 │ class X { \u0061sync x() { await x } }
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-async-obj-method/input.js:1:1]
|
||
1 │ ({ \u0061sync x() { await x } })
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-async-static-class-method/input.js:1:1]
|
||
1 │ class X { static \u0061sync x() { await x } }
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-await/input.js:1:1]
|
||
1 │ (async function() { aw\u0061it x })
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-export-async-function/input.js:1:1]
|
||
1 │ export \u0061sync function y() { await x }
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-export-dflt-async-function/input.js:1:1]
|
||
1 │ export default \u0061sync function y() { await x }
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2017/async-functions/invalid-escape-sequence-arrow-list/input.js:1:1]
|
||
1 │ (\u0061sync x => { await x })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `Identifier`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/invalid-escape-sequence-arrow/input.js:1:1]
|
||
1 │ \u0061sync x => { await x }
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-sequence-function-list/input.js:1:1]
|
||
1 │ (\u0061sync function() { await x })
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-escape-sequence-function/input.js:1:1]
|
||
1 │ \u0061sync function() { await x }
|
||
· ─────┬────
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[es2017/async-functions/invalid-for-await-expression-init/input.js:1:1]
|
||
1 │ for (await o\u0066 [0];;);
|
||
· ───┬───
|
||
· ╰── keyword cannot contain escape characters
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2017/async-functions/invalid-for-await-expression-init/input.js:1:1]
|
||
1 │ for (await o\u0066 [0];;);
|
||
· ┬
|
||
· ╰── Expect `)` here, but found `;`
|
||
╰────
|
||
|
||
× Async functions can only be declared at the top level or inside a block
|
||
╭─[es2017/async-functions/invalid-generator-inside-loop/input.js:1:1]
|
||
1 │ while (1) async function *foo(){}
|
||
· ──────────┬──────────
|
||
· ╰── Async functions can only be declared at the top level or inside a block
|
||
╰────
|
||
|
||
× Async functions can only be declared at the top level or inside a block
|
||
╭─[es2017/async-functions/invalid-inside-loop/input.js:1:1]
|
||
1 │ while (1) async function foo(){}
|
||
· ──────────┬─────────
|
||
· ╰── Async functions can only be declared at the top level or inside a block
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[es2017/async-functions/invalid-newline-after-params/input.js:1:1]
|
||
1 │ async (x)
|
||
2 │ => {}
|
||
· ─┬
|
||
· ╰── Line terminator not permitted before arrow
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/invalid-parens-async-arrow/input.js:1:1]
|
||
1 │ (async)(a) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/invalid-parens-async-func/input.js:1:1]
|
||
1 │ (async) function x (a) {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/multiple-await-in-async-arrow-params/input.js:1:1]
|
||
1 │ async ({ x = [ await ], y = { await } }) => {}
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[es2017/async-functions/newline-before-arrow/input.js:1:1]
|
||
1 │ async x
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
2 │ => x
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Constructor can't be an async method
|
||
╭─[es2017/async-functions/no-constructor/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ async constructor() {}
|
||
· ─────┬─────
|
||
· ╰── Constructor can't be an async method
|
||
3 │ }
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[es2017/async-functions/params-invalid-rest-trailing-comma/input.js:1:1]
|
||
1 │ async (...a,) => {};
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2017/trailing-function-commas/5/input.js:1:1]
|
||
1 │ log(,);
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2017/trailing-function-commas/6/input.js:1:1]
|
||
1 │ function log(,) { }
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2018/async-generators/for-await-async-context/input.js:1:1]
|
||
1 │ function f() {
|
||
2 │ for await (let x of y);
|
||
· ──┬──
|
||
· ╰── Expect `(` here, but found `await`
|
||
3 │ }
|
||
╰────
|
||
|
||
× await can only be used in conjunction with `for...of` statements
|
||
╭─[es2018/async-generators/for-await-async-of-arrow-semicolon/input.js:1:1]
|
||
1 │ async function f() {
|
||
2 │ for await (async of => {};;);
|
||
· ──────────────┬─────────────
|
||
· ╰── await can only be used in conjunction with `for...of` statements
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2018/async-generators/for-await-async-of-arrow/input.js:1:1]
|
||
1 │ async function f() {
|
||
2 │ for await (async of => {} of x);
|
||
· ──────────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× await can only be used in conjunction with `for...of` statements
|
||
╭─[es2018/async-generators/for-await-no-in/input.js:1:1]
|
||
1 │ async function f() {
|
||
2 │ for await (let x in y);
|
||
· ───────────┬──────────
|
||
· ╰── await can only be used in conjunction with `for...of` statements
|
||
3 │ }
|
||
╰────
|
||
|
||
× await can only be used in conjunction with `for...of` statements
|
||
╭─[es2018/async-generators/for-await-no-semi-1/input.js:1:1]
|
||
1 │ async function f() {
|
||
2 │ for await (;false;);
|
||
· ─────────┬─────────
|
||
· ╰── await can only be used in conjunction with `for...of` statements
|
||
3 │ }
|
||
╰────
|
||
|
||
× await can only be used in conjunction with `for...of` statements
|
||
╭─[es2018/async-generators/for-await-no-semi-2/input.js:1:1]
|
||
1 │ async function f() {
|
||
2 │ for await (let i = 0;false;);
|
||
· ──────────────┬─────────────
|
||
· ╰── await can only be used in conjunction with `for...of` statements
|
||
3 │ }
|
||
╰────
|
||
|
||
× await can only be used in conjunction with `for...of` statements
|
||
╭─[es2018/async-generators/for-await-no-semi-3/input.js:1:1]
|
||
1 │ async function f() {
|
||
2 │ for await (x = 0;false;);
|
||
· ────────────┬───────────
|
||
· ╰── await can only be used in conjunction with `for...of` statements
|
||
3 │ }
|
||
╰────
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/16/input.js:1:1]
|
||
1 │ var {...{z}} = { z: 1};
|
||
· ───┬──
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/17/input.js:1:1]
|
||
1 │ var { ...{ x = 5 } } = {x : 1};
|
||
· ──────┬─────
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/19/input.js:1:1]
|
||
1 │ function test({...{}}) {}
|
||
· ──┬──
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/20/input.js:1:1]
|
||
1 │ function test({...{a}}) {}
|
||
· ───┬──
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid assignment
|
||
╭─[es2018/object-rest-spread/21/input.js:1:1]
|
||
1 │ ({...x = 1} = {})
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/22/input.js:1:1]
|
||
1 │ var {...x = 1} = {}
|
||
· ────┬───
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/23/input.js:1:1]
|
||
1 │ function test({...x = 1}) {}
|
||
· ────┬───
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/25/input.js:1:1]
|
||
1 │ var {...[]} = {}
|
||
· ──┬──
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Invalid rest argument
|
||
╭─[es2018/object-rest-spread/26/input.js:1:1]
|
||
1 │ function test({...[]}) {}
|
||
· ──┬──
|
||
· ╰── Invalid rest argument
|
||
╰────
|
||
help: Expected identifier in rest argument
|
||
|
||
× Rest element must be last element
|
||
╭─[es2018/object-rest-spread/7/input.js:1:1]
|
||
1 │ let { ...x, y, z } = obj;
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[es2018/object-rest-spread/8/input.js:1:1]
|
||
1 │ let { x, y, ...z, } = obj;
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[es2018/object-rest-spread/9/input.js:1:1]
|
||
1 │ let { x, ...y, ...z } = obj;
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Spread must be last element
|
||
╭─[es2018/object-rest-spread/expression-rest-not-last-invalid/input.js:1:1]
|
||
1 │ ({...rest, b} = {})
|
||
· ───┬───
|
||
· ╰── Spread must be last element
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2020/bigint/invalid-decimal/input.js:1:1]
|
||
1 │ 1.0n
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2020/bigint/invalid-e/input.js:1:1]
|
||
1 │ 2e9n
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2020/bigint/invalid-non-octal-decimal-int/input.js:1:1]
|
||
1 │ 089n
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2020/bigint/invalid-octal-legacy/input.js:1:1]
|
||
1 │ 016432n
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2020/dynamic-import/invalid-arguments-spread/input.js:1:1]
|
||
1 │ import(...[1])
|
||
· ───
|
||
╰────
|
||
|
||
× Cannot use new with dynamic import
|
||
╭─[es2020/dynamic-import/invalid-new/input.js:1:1]
|
||
1 │ new import("foo");
|
||
· ──────┬──────
|
||
· ╰── Cannot use new with dynamic import
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[es2020/dynamic-import/multiple-args/input.js:1:1]
|
||
1 │ import('hello', 'world', '!');
|
||
· ─┬─
|
||
· ╰── Expect `)` here, but found `string`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2020/dynamic-import/no-args/input.js:1:1]
|
||
1 │ import();
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[es2020/import-meta/not-assignable/input.js:1:1]
|
||
1 │ import.meta = true;
|
||
· ─────┬─────
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/class-contructor-call/input.js:1:1]
|
||
1 │ new C?.b.d()
|
||
· ──────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:1:1]
|
||
1 │ new foo?.bar();
|
||
· ───────┬──────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
2 │ new foo.bar?.();
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:1:1]
|
||
1 │ new foo?.bar();
|
||
2 │ new foo.bar?.();
|
||
· ─────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
3 │ new foo?.[0];
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-false/input.js:2:1]
|
||
2 │ new foo.bar?.();
|
||
3 │ new foo?.[0];
|
||
· ──────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
4 │
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:1:1]
|
||
1 │ new foo?.bar();
|
||
· ───────┬──────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
2 │ new foo.bar?.();
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:1:1]
|
||
1 │ new foo?.bar();
|
||
2 │ new foo.bar?.();
|
||
· ─────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
3 │ new foo?.[0];
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-createParenthesizedExpressions-true/input.js:2:1]
|
||
2 │ new foo.bar?.();
|
||
3 │ new foo?.[0];
|
||
· ──────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
4 │
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:1:1]
|
||
1 │ new foo?.bar();
|
||
· ───────┬──────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
2 │ new foo.bar?.();
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:1:1]
|
||
1 │ new foo?.bar();
|
||
2 │ new foo.bar?.();
|
||
· ─────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
3 │ new foo?.bar!()
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:2:1]
|
||
2 │ new foo.bar?.();
|
||
3 │ new foo?.bar!()
|
||
· ───────┬───────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
4 │ new foo?.[0];
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:3:1]
|
||
3 │ new foo?.bar!()
|
||
4 │ new foo?.[0];
|
||
· ──────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
5 │ new foo?.bar![0];
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-false/input.ts:4:1]
|
||
4 │ new foo?.[0];
|
||
5 │ new foo?.bar![0];
|
||
· ────────┬───────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
6 │
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:1:1]
|
||
1 │ new foo?.bar();
|
||
· ───────┬──────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
2 │ new foo.bar?.();
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:1:1]
|
||
1 │ new foo?.bar();
|
||
2 │ new foo.bar?.();
|
||
· ─────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
3 │ new foo?.bar!()
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:2:1]
|
||
2 │ new foo.bar?.();
|
||
3 │ new foo?.bar!()
|
||
· ───────┬───────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
4 │ new foo?.[0];
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:3:1]
|
||
3 │ new foo?.bar!()
|
||
4 │ new foo?.[0];
|
||
· ──────┬─────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
5 │ new foo?.bar![0];
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/new-ts-createParenthesizedExpressions-true copy/input.ts:4:1]
|
||
4 │ new foo?.[0];
|
||
5 │ new foo?.bar![0];
|
||
· ────────┬───────
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
6 │
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[es2020/optional-chaining/optional-constructor/input.js:1:1]
|
||
1 │ new a?.();
|
||
· ──┬──
|
||
· ╰── Optional chaining cannot appear in the callee of new expressions
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[es2020/optional-chaining/optional-super-property-class/input.js:2:1]
|
||
2 │ b(){
|
||
3 │ return super?.b;
|
||
· ──┬──
|
||
· ╰── 'super' can only be used with function calls or in property accesses
|
||
4 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[es2020/optional-chaining/optional-super-property/input.js:2:1]
|
||
2 │ b(){
|
||
3 │ return super?.c;
|
||
· ──┬──
|
||
· ╰── 'super' can only be used with function calls or in property accesses
|
||
4 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× Tagged template expressions are not permitted in an optional chain
|
||
╭─[es2020/optional-chaining/optional-tagged-template-literals/input.js:1:1]
|
||
1 │ a?.b`foo`
|
||
· ──┬──
|
||
· ╰── Tagged template expressions are not permitted in an optional chain
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2021/for-async-of/forbidden-arrow-function/input.js:1:1]
|
||
1 │ for (async of => {} of x);
|
||
· ──────────────
|
||
╰────
|
||
|
||
× The left-hand side of a `for...of` statement may not be `async`
|
||
╭─[es2021/for-async-of/forbidden-equals/input.js:2:1]
|
||
2 │ // and finds "=" instead of "=>".
|
||
3 │ for (async of = x);
|
||
· ──┬──
|
||
· ╰── The left-hand side of a `for...of` statement may not be `async`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2021/for-async-of/forbidden-equals/input.js:2:1]
|
||
2 │ // and finds "=" instead of "=>".
|
||
3 │ for (async of = x);
|
||
· ─
|
||
╰────
|
||
|
||
× The left-hand side of a `for...of` statement may not be `async`
|
||
╭─[es2021/for-async-of/forbidden/input.js:1:1]
|
||
1 │ for (async of x);
|
||
· ──┬──
|
||
· ╰── The left-hand side of a `for...of` statement may not be `async`
|
||
2 │
|
||
╰────
|
||
|
||
× The left-hand side of a `for...of` statement may not be `async`
|
||
╭─[es2021/for-async-of/forbidden/input.js:3:1]
|
||
3 │ async () => {
|
||
4 │ for (async of x);
|
||
· ──┬──
|
||
· ╰── The left-hand side of a `for...of` statement may not be `async`
|
||
5 │ }
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[es2021/numeric-separator/invalid-0/input.js:1:1]
|
||
1 │ 1_
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[es2021/numeric-separator/invalid-1/input.js:1:1]
|
||
1 │ 1_1_
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[es2021/numeric-separator/invalid-10/input.js:1:1]
|
||
1 │ 0x1_1_
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `')'`
|
||
╭─[es2021/numeric-separator/invalid-100/input.js:1:1]
|
||
1 │ (1_)
|
||
· ▲
|
||
· ╰── Invalid Character `)`
|
||
╰────
|
||
|
||
× Invalid Character `')'`
|
||
╭─[es2021/numeric-separator/invalid-101/input.js:1:1]
|
||
1 │ (1_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `)`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-102/input.js:1:1]
|
||
1 │ (1_1__)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-102/input.js:1:1]
|
||
1 │ (1_1__)
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-103/input.js:1:1]
|
||
1 │ (1__1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-103/input.js:1:1]
|
||
1 │ (1__1)
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'.'`
|
||
╭─[es2021/numeric-separator/invalid-104/input.js:1:1]
|
||
1 │ (1_1_.1_1)
|
||
· ▲
|
||
· ╰── Invalid Character `.`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-105/input.js:1:1]
|
||
1 │ (1_1._1_1)
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'e'`
|
||
╭─[es2021/numeric-separator/invalid-106/input.js:1:1]
|
||
1 │ (1_1.1_e1)
|
||
· ▲
|
||
· ╰── Invalid Character `e`
|
||
╰────
|
||
|
||
× Invalid Character `'E'`
|
||
╭─[es2021/numeric-separator/invalid-107/input.js:1:1]
|
||
1 │ (1_1.1_E1)
|
||
· ▲
|
||
· ╰── Invalid Character `E`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-108/input.js:1:1]
|
||
1 │ (1_1.1e_1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-108/input.js:1:1]
|
||
1 │ (1_1.1e_1)
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-109/input.js:1:1]
|
||
1 │ (1_1.1E_1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-109/input.js:1:1]
|
||
1 │ (1_1.1E_1)
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[es2021/numeric-separator/invalid-11/input.js:1:1]
|
||
1 │ 0xa_1_
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `')'`
|
||
╭─[es2021/numeric-separator/invalid-110/input.js:1:1]
|
||
1 │ (0x1_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `)`
|
||
╰────
|
||
|
||
× Invalid Character `')'`
|
||
╭─[es2021/numeric-separator/invalid-111/input.js:1:1]
|
||
1 │ (0xa_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `)`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-112/input.js:1:1]
|
||
1 │ (0x_a_1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-113/input.js:1:1]
|
||
1 │ (0x__1_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-114/input.js:1:1]
|
||
1 │ (0x_1__1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-115/input.js:1:1]
|
||
1 │ (0x_1_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-116/input.js:1:1]
|
||
1 │ (0o_1_1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-117/input.js:1:1]
|
||
1 │ (0o_11)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-118/input.js:1:1]
|
||
1 │ (0o_01_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-119/input.js:1:1]
|
||
1 │ (0b_0_1_1)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-12/input.js:1:1]
|
||
1 │ 0x_a_1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-120/input.js:1:1]
|
||
1 │ (0b_01_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `')'`
|
||
╭─[es2021/numeric-separator/invalid-121/input.js:1:1]
|
||
1 │ (0b01_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `)`
|
||
╰────
|
||
|
||
× Invalid Character `')'`
|
||
╭─[es2021/numeric-separator/invalid-122/input.js:1:1]
|
||
1 │ (0o1_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `)`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-123/input.js:1:1]
|
||
1 │ (0o_1_1_)
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'}'`
|
||
╭─[es2021/numeric-separator/invalid-124/input.js:1:1]
|
||
1 │ {1_}
|
||
· ▲
|
||
· ╰── Invalid Character `}`
|
||
╰────
|
||
|
||
× Invalid Character `'}'`
|
||
╭─[es2021/numeric-separator/invalid-125/input.js:1:1]
|
||
1 │ {1_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `}`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-126/input.js:1:1]
|
||
1 │ {1_1__}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-126/input.js:1:1]
|
||
1 │ {1_1__}
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-127/input.js:1:1]
|
||
1 │ {1__1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-127/input.js:1:1]
|
||
1 │ {1__1}
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'.'`
|
||
╭─[es2021/numeric-separator/invalid-128/input.js:1:1]
|
||
1 │ {1_1_.1_1}
|
||
· ▲
|
||
· ╰── Invalid Character `.`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-129/input.js:1:1]
|
||
1 │ {1_1._1_1}
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-13/input.js:1:1]
|
||
1 │ 0x__1_1_
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'e'`
|
||
╭─[es2021/numeric-separator/invalid-130/input.js:1:1]
|
||
1 │ {1_1.1_e1}
|
||
· ▲
|
||
· ╰── Invalid Character `e`
|
||
╰────
|
||
|
||
× Invalid Character `'E'`
|
||
╭─[es2021/numeric-separator/invalid-131/input.js:1:1]
|
||
1 │ {1_1.1_E1}
|
||
· ▲
|
||
· ╰── Invalid Character `E`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-132/input.js:1:1]
|
||
1 │ {1_1.1e_1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-132/input.js:1:1]
|
||
1 │ {1_1.1e_1}
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-133/input.js:1:1]
|
||
1 │ {1_1.1E_1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-133/input.js:1:1]
|
||
1 │ {1_1.1E_1}
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'}'`
|
||
╭─[es2021/numeric-separator/invalid-134/input.js:1:1]
|
||
1 │ {0x1_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `}`
|
||
╰────
|
||
|
||
× Invalid Character `'}'`
|
||
╭─[es2021/numeric-separator/invalid-135/input.js:1:1]
|
||
1 │ {0xa_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `}`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-136/input.js:1:1]
|
||
1 │ {0x_a_1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-137/input.js:1:1]
|
||
1 │ {0x__1_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-138/input.js:1:1]
|
||
1 │ {0x_1__1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-139/input.js:1:1]
|
||
1 │ {0x_1_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-14/input.js:1:1]
|
||
1 │ 0x_1__1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-140/input.js:1:1]
|
||
1 │ {0o_1_1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-141/input.js:1:1]
|
||
1 │ {0o_11}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-142/input.js:1:1]
|
||
1 │ {0o_01_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-143/input.js:1:1]
|
||
1 │ {0b_0_1_1}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-144/input.js:1:1]
|
||
1 │ {0b_01_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'}'`
|
||
╭─[es2021/numeric-separator/invalid-145/input.js:1:1]
|
||
1 │ {0b01_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `}`
|
||
╰────
|
||
|
||
× Invalid Character `'}'`
|
||
╭─[es2021/numeric-separator/invalid-146/input.js:1:1]
|
||
1 │ {0o1_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `}`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-147/input.js:1:1]
|
||
1 │ {0o_1_1_}
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-15/input.js:1:1]
|
||
1 │ 0x_1_1_
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-16/input.js:1:1]
|
||
1 │ 0o_1_1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-17/input.js:1:1]
|
||
1 │ 0o_11
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-18/input.js:1:1]
|
||
1 │ 0o_01_1_
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-19/input.js:1:1]
|
||
1 │ 0b_0_1_1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-2/input.js:1:1]
|
||
1 │ 1_1__
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-2/input.js:1:1]
|
||
1 │ 1_1__
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-20/input.js:1:1]
|
||
1 │ 0b_01_1_
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[es2021/numeric-separator/invalid-21/input.js:1:1]
|
||
1 │ 0b01_1_
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[es2021/numeric-separator/invalid-22/input.js:1:1]
|
||
1 │ 0o1_1_
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-23/input.js:1:1]
|
||
1 │ 0o_1_1_
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2021/numeric-separator/invalid-24/input.js:1:1]
|
||
1 │ ._1_1
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Character `'8'`
|
||
╭─[es2021/numeric-separator/invalid-25/input.js:1:1]
|
||
1 │ 0o01_8
|
||
· ▲
|
||
· ╰── Invalid Character `8`
|
||
╰────
|
||
|
||
× Invalid Character `'2'`
|
||
╭─[es2021/numeric-separator/invalid-26/input.js:1:1]
|
||
1 │ 0b2_1
|
||
· ▲
|
||
· ╰── Invalid Character `2`
|
||
╰────
|
||
|
||
× Invalid Character `'Z'`
|
||
╭─[es2021/numeric-separator/invalid-27/input.js:1:1]
|
||
1 │ 0xZ_1
|
||
· ▲
|
||
· ╰── Invalid Character `Z`
|
||
╰────
|
||
|
||
× Invalid Character `';'`
|
||
╭─[es2021/numeric-separator/invalid-28/input.js:1:1]
|
||
1 │ 1_;
|
||
· ▲
|
||
· ╰── Invalid Character `;`
|
||
╰────
|
||
|
||
× Invalid Character `';'`
|
||
╭─[es2021/numeric-separator/invalid-29/input.js:1:1]
|
||
1 │ 1_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `;`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-3/input.js:1:1]
|
||
1 │ 1__1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-3/input.js:1:1]
|
||
1 │ 1__1
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-30/input.js:1:1]
|
||
1 │ 1_1__;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-30/input.js:1:1]
|
||
1 │ 1_1__;
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-31/input.js:1:1]
|
||
1 │ 1__1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-31/input.js:1:1]
|
||
1 │ 1__1;
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'.'`
|
||
╭─[es2021/numeric-separator/invalid-32/input.js:1:1]
|
||
1 │ 1_1_.1_1;
|
||
· ▲
|
||
· ╰── Invalid Character `.`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-33/input.js:1:1]
|
||
1 │ 1_1._1_1;
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'e'`
|
||
╭─[es2021/numeric-separator/invalid-34/input.js:1:1]
|
||
1 │ 1_1.1_e1;
|
||
· ▲
|
||
· ╰── Invalid Character `e`
|
||
╰────
|
||
|
||
× Invalid Character `'E'`
|
||
╭─[es2021/numeric-separator/invalid-35/input.js:1:1]
|
||
1 │ 1_1.1_E1;
|
||
· ▲
|
||
· ╰── Invalid Character `E`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-36/input.js:1:1]
|
||
1 │ 1_1.1e_1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-36/input.js:1:1]
|
||
1 │ 1_1.1e_1;
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-37/input.js:1:1]
|
||
1 │ 1_1.1E_1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-37/input.js:1:1]
|
||
1 │ 1_1.1E_1;
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `';'`
|
||
╭─[es2021/numeric-separator/invalid-38/input.js:1:1]
|
||
1 │ 0x1_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `;`
|
||
╰────
|
||
|
||
× Invalid Character `';'`
|
||
╭─[es2021/numeric-separator/invalid-39/input.js:1:1]
|
||
1 │ 0xa_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `;`
|
||
╰────
|
||
|
||
× Invalid Character `'.'`
|
||
╭─[es2021/numeric-separator/invalid-4/input.js:1:1]
|
||
1 │ 1_1_.1_1
|
||
· ▲
|
||
· ╰── Invalid Character `.`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-40/input.js:1:1]
|
||
1 │ 0x_a_1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-41/input.js:1:1]
|
||
1 │ 0x__1_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-42/input.js:1:1]
|
||
1 │ 0x_1__1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-43/input.js:1:1]
|
||
1 │ 0x_1_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-44/input.js:1:1]
|
||
1 │ 0o_1_1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-45/input.js:1:1]
|
||
1 │ 0o_11;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-46/input.js:1:1]
|
||
1 │ 0o_01_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-47/input.js:1:1]
|
||
1 │ 0b_0_1_1;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-48/input.js:1:1]
|
||
1 │ 0b_01_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `';'`
|
||
╭─[es2021/numeric-separator/invalid-49/input.js:1:1]
|
||
1 │ 0b01_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `;`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-5/input.js:1:1]
|
||
1 │ 1_1._1_1
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `';'`
|
||
╭─[es2021/numeric-separator/invalid-50/input.js:1:1]
|
||
1 │ 0o1_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `;`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-51/input.js:1:1]
|
||
1 │ 0o_1_1_;
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `','`
|
||
╭─[es2021/numeric-separator/invalid-52/input.js:1:1]
|
||
1 │ 1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `,`
|
||
╰────
|
||
|
||
× Invalid Character `','`
|
||
╭─[es2021/numeric-separator/invalid-53/input.js:1:1]
|
||
1 │ 1_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `,`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-54/input.js:1:1]
|
||
1 │ 1_1__, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-54/input.js:1:1]
|
||
1 │ 1_1__, 0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-55/input.js:1:1]
|
||
1 │ 1__1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-55/input.js:1:1]
|
||
1 │ 1__1, 0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'.'`
|
||
╭─[es2021/numeric-separator/invalid-56/input.js:1:1]
|
||
1 │ 1_1_.1_1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `.`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-57/input.js:1:1]
|
||
1 │ 1_1._1_1, 0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'e'`
|
||
╭─[es2021/numeric-separator/invalid-58/input.js:1:1]
|
||
1 │ 1_1.1_e1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `e`
|
||
╰────
|
||
|
||
× Invalid Character `'E'`
|
||
╭─[es2021/numeric-separator/invalid-59/input.js:1:1]
|
||
1 │ 1_1.1_E1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `E`
|
||
╰────
|
||
|
||
× Invalid Character `'e'`
|
||
╭─[es2021/numeric-separator/invalid-6/input.js:1:1]
|
||
1 │ 1_1.1_e1
|
||
· ▲
|
||
· ╰── Invalid Character `e`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-60/input.js:1:1]
|
||
1 │ 1_1.1e_1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-60/input.js:1:1]
|
||
1 │ 1_1.1e_1, 0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-61/input.js:1:1]
|
||
1 │ 1_1.1E_1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-61/input.js:1:1]
|
||
1 │ 1_1.1E_1, 0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `','`
|
||
╭─[es2021/numeric-separator/invalid-62/input.js:1:1]
|
||
1 │ 0x1_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `,`
|
||
╰────
|
||
|
||
× Invalid Character `','`
|
||
╭─[es2021/numeric-separator/invalid-63/input.js:1:1]
|
||
1 │ 0xa_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `,`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-64/input.js:1:1]
|
||
1 │ 0x_a_1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-65/input.js:1:1]
|
||
1 │ 0x__1_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-66/input.js:1:1]
|
||
1 │ 0x_1__1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-67/input.js:1:1]
|
||
1 │ 0x_1_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-68/input.js:1:1]
|
||
1 │ 0o_1_1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-69/input.js:1:1]
|
||
1 │ 0o_11, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'E'`
|
||
╭─[es2021/numeric-separator/invalid-7/input.js:1:1]
|
||
1 │ 1_1.1_E1
|
||
· ▲
|
||
· ╰── Invalid Character `E`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-70/input.js:1:1]
|
||
1 │ 0o_01_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-71/input.js:1:1]
|
||
1 │ 0b_0_1_1, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-72/input.js:1:1]
|
||
1 │ 0b_01_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `','`
|
||
╭─[es2021/numeric-separator/invalid-73/input.js:1:1]
|
||
1 │ 0b01_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `,`
|
||
╰────
|
||
|
||
× Invalid Character `','`
|
||
╭─[es2021/numeric-separator/invalid-74/input.js:1:1]
|
||
1 │ 0o1_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `,`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-75/input.js:1:1]
|
||
1 │ 0o_1_1_, 0
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `']'`
|
||
╭─[es2021/numeric-separator/invalid-76/input.js:1:1]
|
||
1 │ [1_]
|
||
· ▲
|
||
· ╰── Invalid Character `]`
|
||
╰────
|
||
|
||
× Invalid Character `']'`
|
||
╭─[es2021/numeric-separator/invalid-77/input.js:1:1]
|
||
1 │ [1_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `]`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-78/input.js:1:1]
|
||
1 │ [1_1__]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-78/input.js:1:1]
|
||
1 │ [1_1__]
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-79/input.js:1:1]
|
||
1 │ [1__1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-79/input.js:1:1]
|
||
1 │ [1__1]
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-8/input.js:1:1]
|
||
1 │ 1_1.1e_1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-8/input.js:1:1]
|
||
1 │ 1_1.1e_1
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'.'`
|
||
╭─[es2021/numeric-separator/invalid-80/input.js:1:1]
|
||
1 │ [1_1_.1_1]
|
||
· ▲
|
||
· ╰── Invalid Character `.`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-81/input.js:1:1]
|
||
1 │ [1_1._1_1]
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'e'`
|
||
╭─[es2021/numeric-separator/invalid-82/input.js:1:1]
|
||
1 │ [1_1.1_e1]
|
||
· ▲
|
||
· ╰── Invalid Character `e`
|
||
╰────
|
||
|
||
× Invalid Character `'E'`
|
||
╭─[es2021/numeric-separator/invalid-83/input.js:1:1]
|
||
1 │ [1_1.1_E1]
|
||
· ▲
|
||
· ╰── Invalid Character `E`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-84/input.js:1:1]
|
||
1 │ [1_1.1e_1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-84/input.js:1:1]
|
||
1 │ [1_1.1e_1]
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-85/input.js:1:1]
|
||
1 │ [1_1.1E_1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-85/input.js:1:1]
|
||
1 │ [1_1.1E_1]
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `']'`
|
||
╭─[es2021/numeric-separator/invalid-86/input.js:1:1]
|
||
1 │ [0x1_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `]`
|
||
╰────
|
||
|
||
× Invalid Character `']'`
|
||
╭─[es2021/numeric-separator/invalid-87/input.js:1:1]
|
||
1 │ [0xa_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `]`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-88/input.js:1:1]
|
||
1 │ [0x_a_1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-89/input.js:1:1]
|
||
1 │ [0x__1_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-9/input.js:1:1]
|
||
1 │ 1_1.1E_1
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-9/input.js:1:1]
|
||
1 │ 1_1.1E_1
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-90/input.js:1:1]
|
||
1 │ [0x_1__1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-91/input.js:1:1]
|
||
1 │ [0x_1_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-92/input.js:1:1]
|
||
1 │ [0o_1_1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-93/input.js:1:1]
|
||
1 │ [0o_11]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-94/input.js:1:1]
|
||
1 │ [0o_01_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-95/input.js:1:1]
|
||
1 │ [0b_0_1_1]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-96/input.js:1:1]
|
||
1 │ [0b_01_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid Character `']'`
|
||
╭─[es2021/numeric-separator/invalid-97/input.js:1:1]
|
||
1 │ [0b01_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `]`
|
||
╰────
|
||
|
||
× Invalid Character `']'`
|
||
╭─[es2021/numeric-separator/invalid-98/input.js:1:1]
|
||
1 │ [0o1_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `]`
|
||
╰────
|
||
|
||
× Invalid Character `'_'`
|
||
╭─[es2021/numeric-separator/invalid-99/input.js:1:1]
|
||
1 │ [0o_1_1_]
|
||
· ▲
|
||
· ╰── Invalid Character `_`
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2021/numeric-separator/invalid-hex/input.js:1:1]
|
||
1 │ "\x1_0";
|
||
· ─┬─
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-leading-zero/input.js:1:1]
|
||
1 │ 0_8
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-legacy-octal-literal/input.js:1:1]
|
||
1 │ 00_0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[es2021/numeric-separator/invalid-non-octal-decimal-int/input.js:1:1]
|
||
1 │ 08_0n
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode-2/input.js:1:1]
|
||
1 │ "\u12_34"
|
||
· ──┬─
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode-3/input.js:1:1]
|
||
1 │ \u{_0061};
|
||
· ─┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2021/numeric-separator/invalid-unicode-3/input.js:1:1]
|
||
1 │ \u{_0061};
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode-4/input.js:1:1]
|
||
1 │ \u{00__61};
|
||
· ──┬─
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2021/numeric-separator/invalid-unicode-4/input.js:1:1]
|
||
1 │ \u{00__61};
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode-5/input.js:1:1]
|
||
1 │ \u_0061;
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode-6/input.js:1:1]
|
||
1 │ \u00__61;
|
||
· ─┬─
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode-7/input.js:1:1]
|
||
1 │ \u{0061_};
|
||
· ───┬──
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[es2021/numeric-separator/invalid-unicode-7/input.js:1:1]
|
||
1 │ \u{0061_};
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[es2021/numeric-separator/invalid-unicode/input.js:1:1]
|
||
1 │ "\u{1F_639}"
|
||
· ──┬──
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[es2021/numeric-separator/template-with-invalid-numeric-separator-in-code-point/input.js:1:1]
|
||
1 │ `abc\u{1000_0000}`;
|
||
· ────────┬───────
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Unexpected trailing comma after rest element
|
||
╭─[esprima/es2015-array-binding-pattern/.invalid-elision-after-rest/input.js:1:1]
|
||
1 │ ([a,...b,])=>0;
|
||
· ┬
|
||
· ╰── Unexpected trailing comma after rest element
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-array-pattern/with-default-catch-param-fail/input.js:1:1]
|
||
1 │ try { } catch ([a] = []) { }
|
||
· ┬
|
||
· ╰── Expect `)` here, but found `=`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-arrow-function/arrow-rest-forgetting-comma/input.js:1:1]
|
||
1 │ (a ...b) => 0
|
||
· ─┬─
|
||
· ╰── Expect `,` here, but found `...`
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[esprima/es2015-arrow-function/arrow-with-multiple-rest/input.js:1:1]
|
||
1 │ (...a, ...b) => 0
|
||
· ──┬─
|
||
· ╰── Rest element must be last element
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[esprima/es2015-arrow-function/invalid-line-terminator-arrow/input.js:1:1]
|
||
1 │ ()
|
||
2 │ => 42
|
||
· ─┬
|
||
· ╰── Line terminator not permitted before arrow
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-arrow-function/non-arrow-param-followed-by-arrow/input.js:1:1]
|
||
1 │ ((a)) => 0
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-arrow-function/non-arrow-param-followed-by-rest/input.js:1:1]
|
||
1 │ ((a),...b) => 0;
|
||
· ───
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-member-expr/input.js:1:1]
|
||
1 │ ({a:b[0]})=>0
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-method-in-pattern/input.js:1:1]
|
||
1 │ ({get a(){}}) => 0;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-nested-param/input.js:1:1]
|
||
1 │ ([[[[[[[[[[[[[[[[[[[[{a:b[0]}]]]]]]]]]]]]]]]]]]]])=>0;
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-arrow-function/object-binding-pattern-invalid-pattern-without-parenthesis/input.js:1:1]
|
||
1 │ ({}=>0)
|
||
· ─┬
|
||
· ╰── Expect `,` here, but found `=>`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-arrow-function/param-with-rest-without-arrow/input.js:1:1]
|
||
1 │ (b, ...a) + 1
|
||
· ───
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-arrow-function/rest-without-arrow/input.js:1:1]
|
||
1 │ (...a) + 1
|
||
· ┬
|
||
· ╰── Expect `=>` here, but found `+`
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-01/input.js:1:1]
|
||
1 │ ({a:this}=0)
|
||
· ──┬─
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/es2015-destructuring-assignment-object-pattern/invalid-lhs-02/input.js:1:1]
|
||
1 │ ({a: this} = 0);
|
||
· ──┬─
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/es2015-destructuring-assignment-object-pattern/invalid-pattern-with-method/input.js:1:1]
|
||
1 │ ({a(){}}=0)
|
||
· ──┬─
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/es2015-destructuring-assignment/invalid-group-assignment/input.js:1:1]
|
||
1 │ (a,b)=(c,d);
|
||
· ─┬─
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-export-declaration/invalid-export-batch-missing-from-clause/input.js:1:1]
|
||
1 │ export *
|
||
· ▲
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-export-declaration/invalid-export-batch-token/input.js:1:1]
|
||
1 │ export * +
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `+`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-export-declaration/invalid-export-default-equal/input.js:1:1]
|
||
1 │ export default = 42
|
||
· ─
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-export-declaration/invalid-export-default-token/input.js:1:1]
|
||
1 │ export {default} +
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-export-declaration/invalid-export-default/input.js:1:1]
|
||
1 │ export default from "foo"
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-for-of/invalid-lhs-init/input.js:1:1]
|
||
1 │ for (this of that);
|
||
· ────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-for-of/unexpected-number/input.js:1:1]
|
||
1 │ for (const of 42);
|
||
· ─┬
|
||
· ╰── Expect `;` here, but found `decimal`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-generator/incomplete-yield-delegate/input.js:1:1]
|
||
1 │ (function*() { yield* })
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-generator/malformed-generator-method-2/input.js:1:1]
|
||
1 │ class Foo { * }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-generator/malformed-generator-method/input.js:1:1]
|
||
1 │ ({ * })
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/es2015-identifier/.invalid_lone_surrogate/input.js:1:1]
|
||
1 │ \uD800!
|
||
· ──┬──
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-identifier/.invalid_lone_surrogate/input.js:1:1]
|
||
1 │ \uD800!
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/es2015-identifier/invalid_escaped_surrogate_pairs/input.js:1:1]
|
||
1 │ var \uD83B\uDE00
|
||
· ─────┬─────
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Character `'🀒'`
|
||
╭─[esprima/es2015-identifier/invalid_id_smp/input.js:1:1]
|
||
1 │ var 🀒
|
||
· ┬
|
||
· ╰── Invalid Character `🀒`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-default-after-named-after-default/input.js:1:1]
|
||
1 │ import foo, {bar}, foo from "foo";
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-default-after-named/input.js:1:1]
|
||
1 │ import {bar}, foo from "foo"
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-default-missing-module-specifier/input.js:1:1]
|
||
1 │ import foo
|
||
· ▲
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-default-module-specifier/input.js:1:1]
|
||
1 │ import foo from bar;
|
||
· ───
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-default/input.js:1:1]
|
||
1 │ import default from "foo"
|
||
· ───┬───
|
||
· ╰── Expect `from` here, but found `default`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-missing-comma/input.js:1:1]
|
||
1 │ import foo { bar } from "bar";
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-missing-module-specifier/input.js:1:1]
|
||
1 │ import { foo, bar }
|
||
· ▲
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/es2015-import-declaration/invalid-import-module-specifier/input.js:1:1]
|
||
1 │ export {foo} from bar
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-named-after-named/input.js:1:1]
|
||
1 │ import {bar}, {foo} from "foo";
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-named-after-namespace/input.js:1:1]
|
||
1 │ import * as foo, {bar} from "foo";
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-named-as-missing-from/input.js:1:1]
|
||
1 │ import {default as foo}
|
||
· ▲
|
||
· ╰── Expect `from` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-namespace-after-named/input.js:1:1]
|
||
1 │ import {bar}, * as foo from "foo";
|
||
· ┬
|
||
· ╰── Expect `from` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-namespace-missing-as/input.js:1:1]
|
||
1 │ import * from "foo"
|
||
· ──┬─
|
||
· ╰── Expect `as` here, but found `from`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-import-declaration/invalid-import-specifiers/input.js:1:1]
|
||
1 │ import foo, from "bar";
|
||
· ────
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[esprima/es2015-lexical-declaration/invalid_complex_binding_without_init/input.js:1:1]
|
||
1 │ let []
|
||
· ─┬
|
||
· ╰── Missing initializer in destructuring declaration
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-meta-property/invalid-dots/input.js:1:1]
|
||
1 │ var x = function() { y = new..target; }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-spread-element/invalid-call-dot-dot/input.js:1:1]
|
||
1 │ f(..g);
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-spread-element/invalid-call-dots/input.js:1:1]
|
||
1 │ f(....g);
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-spread-element/invalid-call-spreads/input.js:1:1]
|
||
1 │ f(... ... g);
|
||
· ───
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-spread-element/invalid-new-dot-dot/input.js:1:1]
|
||
1 │ new f(..g);
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-spread-element/invalid-new-dots/input.js:1:1]
|
||
1 │ new f(....g);
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-spread-element/invalid-new-spreads/input.js:1:1]
|
||
1 │ new f(... ... g);
|
||
· ───
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[esprima/es2015-super-property/.invalid_super_access/input.js:2:1]
|
||
2 │ constructor() {
|
||
3 │ (super)();
|
||
· ──┬──
|
||
· ╰── 'super' can only be used with function calls or in property accesses
|
||
4 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[esprima/es2015-super-property/.invalid_super_id/input.js:1:1]
|
||
1 │ class A {
|
||
2 │ foo() { new super + 3 }
|
||
· ──┬──
|
||
· ╰── 'super' can only be used with function calls or in property accesses
|
||
3 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[esprima/es2015-template-literals/.octal-literal/input.js:1:1]
|
||
1 │ `\00`;
|
||
· ─┬─
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[esprima/es2015-template-literals/.strict-octal-literal/input.js:1:1]
|
||
1 │ 'use strict'; `\00`;
|
||
· ─┬─
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-template-literals/after-switch/input.js:1:1]
|
||
1 │ switch `test`
|
||
· ───┬──
|
||
· ╰── Expect `(` here, but found `${}`
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[esprima/es2015-template-literals/invalid-escape/input.js:1:1]
|
||
1 │ `\1`;
|
||
· ─┬
|
||
· ╰── Bad escape sequence in untagged template literal
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-template-literals/unclosed-interpolation/input.js:1:1]
|
||
1 │ `hello ${10;test`
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/es2015-template-literals/unclosed-nested/input.js:1:1]
|
||
1 │ `hello ${10 `test`
|
||
· ▲
|
||
· ╰── Expect `$}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[esprima/es2015-template-literals/unclosed/input.js:1:1]
|
||
1 │ `test
|
||
· ───┬──
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/es2015-yield/invalid-yield-generator-member-expression/input.js:1:1]
|
||
1 │ function *g() { return yield.x; }
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Character `'\u{200a}'`
|
||
╭─[esprima/expression-primary-array/migrated_0012/input.js:1:1]
|
||
1 │ \u2163\u2161\u200A
|
||
· ▲
|
||
· ╰── Invalid Character ` `
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-00/input.js:1:1]
|
||
1 │ "\x";
|
||
· ─┬
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-01/input.js:1:1]
|
||
1 │ "\x0";
|
||
· ─┬─
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-02/input.js:1:1]
|
||
1 │ "\xx";
|
||
· ─┬
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-03/input.js:1:1]
|
||
1 │ "\u";
|
||
· ─┬
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-04/input.js:1:1]
|
||
1 │ "\u0";
|
||
· ─┬─
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-05/input.js:1:1]
|
||
1 │ "\ux";
|
||
· ─┬
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-06/input.js:1:1]
|
||
1 │ "\u00";
|
||
· ──┬─
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[esprima/invalid-syntax/GH-1106-07/input.js:1:1]
|
||
1 │ "\u000";
|
||
· ──┬──
|
||
· ╰── Invalid escape sequence
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0000/input.js:1:1]
|
||
1 │ {
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0001/input.js:1:1]
|
||
1 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Character `'a'`
|
||
╭─[esprima/invalid-syntax/migrated_0002/input.js:1:1]
|
||
1 │ 3ea
|
||
· ▲
|
||
· ╰── Invalid Character `a`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0002/input.js:1:1]
|
||
1 │ 3ea
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0003/input.js:1:1]
|
||
1 │ 3in []
|
||
· ─┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0004/input.js:1:1]
|
||
1 │ 3e
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Number
|
||
╭─[esprima/invalid-syntax/migrated_0004/input.js:1:1]
|
||
1 │ 3e
|
||
· ─┬
|
||
· ╰── invalid float
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0005/input.js:1:1]
|
||
1 │ 3e+
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Number
|
||
╭─[esprima/invalid-syntax/migrated_0005/input.js:1:1]
|
||
1 │ 3e+
|
||
· ─┬─
|
||
· ╰── invalid float
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0006/input.js:1:1]
|
||
1 │ 3e-
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Number
|
||
╭─[esprima/invalid-syntax/migrated_0006/input.js:1:1]
|
||
1 │ 3e-
|
||
· ─┬─
|
||
· ╰── invalid float
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0007/input.js:1:1]
|
||
1 │ 3x
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0008/input.js:1:1]
|
||
1 │ 3x0
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0009/input.js:1:1]
|
||
1 │ 0x
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0010/input.js:1:1]
|
||
1 │ 01a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0011/input.js:1:1]
|
||
1 │ 0o1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0012/input.js:1:1]
|
||
1 │ 0o
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0013/input.js:1:1]
|
||
1 │ 0O
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[esprima/invalid-syntax/migrated_0014/input.js:1:1]
|
||
1 │ 0o9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0015/input.js:1:1]
|
||
1 │ 0o18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0016/input.js:1:1]
|
||
1 │ 0O1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0017/input.js:1:1]
|
||
1 │ 0b
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0018/input.js:1:1]
|
||
1 │ 0b1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[esprima/invalid-syntax/migrated_0019/input.js:1:1]
|
||
1 │ 0b9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0020/input.js:1:1]
|
||
1 │ 0b18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0021/input.js:1:1]
|
||
1 │ 0b12
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'\n'`
|
||
╭─[esprima/invalid-syntax/migrated_0022/input.js:1:1]
|
||
1 │ 0B
|
||
· ▲
|
||
· ╰── Invalid Character `
|
||
`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0023/input.js:1:1]
|
||
1 │ 0B1a
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[esprima/invalid-syntax/migrated_0024/input.js:1:1]
|
||
1 │ 0B9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0025/input.js:1:1]
|
||
1 │ 0B18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0026/input.js:1:1]
|
||
1 │ 0B12
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid Character `'9'`
|
||
╭─[esprima/invalid-syntax/migrated_0027/input.js:1:1]
|
||
1 │ 0O9
|
||
· ▲
|
||
· ╰── Invalid Character `9`
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0028/input.js:1:1]
|
||
1 │ 0O18
|
||
· ┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0029/input.js:1:1]
|
||
1 │ 3in[]
|
||
· ─┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[esprima/invalid-syntax/migrated_0030/input.js:1:1]
|
||
1 │ 0x3in[]
|
||
· ─┬
|
||
· ╰── Invalid characters after number
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[esprima/invalid-syntax/migrated_0031/input.js:1:1]
|
||
1 │ "Hello
|
||
· ───┬───
|
||
· ╰── Unterminated string
|
||
2 │ World"
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0032/input.js:1:1]
|
||
1 │ x\
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Character `'\\'`
|
||
╭─[esprima/invalid-syntax/migrated_0033/input.js:1:1]
|
||
1 │ x\u005c
|
||
· ▲
|
||
· ╰── Invalid Character `\`
|
||
╰────
|
||
|
||
× Invalid Character `'*'`
|
||
╭─[esprima/invalid-syntax/migrated_0034/input.js:1:1]
|
||
1 │ x\u002a
|
||
· ▲
|
||
· ╰── Invalid Character `*`
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0036/input.js:1:1]
|
||
1 │ a\u
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0037/input.js:1:1]
|
||
1 │ \ua
|
||
· ─┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[esprima/invalid-syntax/migrated_0038/input.js:1:1]
|
||
1 │ /
|
||
· ─┬
|
||
· ╰── Unterminated regular expression
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[esprima/invalid-syntax/migrated_0039/input.js:1:1]
|
||
1 │ /test
|
||
· ───┬──
|
||
· ╰── Unterminated regular expression
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[esprima/invalid-syntax/migrated_0040/input.js:1:1]
|
||
1 │ /test
|
||
· ───┬──
|
||
· ╰── Unterminated regular expression
|
||
2 │ /
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0041/input.js:1:1]
|
||
1 │ var x = /[a-z]/\ux
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0041/input.js:1:1]
|
||
1 │ var x = /[a-z]/\ux
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0042/input.js:1:1]
|
||
1 │ var x = /[a-z\n]/\ux
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0042/input.js:1:1]
|
||
1 │ var x = /[a-z\n]/\ux
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0043/input.js:1:1]
|
||
1 │ var x = /[a-z]/\\ux
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0043/input.js:1:1]
|
||
1 │ var x = /[a-z]/\\ux
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0044/input.js:1:1]
|
||
1 │ var x = /[P QR]/\\u0067
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0044/input.js:1:1]
|
||
1 │ var x = /[P QR]/\\u0067
|
||
· ▲
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0045/input.js:1:1]
|
||
1 │ 3 = 4
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0046/input.js:1:1]
|
||
1 │ func() = 4
|
||
· ───┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0047/input.js:1:1]
|
||
1 │ (1 + 1) = 10
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0048/input.js:1:1]
|
||
1 │ \u{110000}
|
||
· ────┬───
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0048/input.js:1:1]
|
||
1 │ \u{110000}
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0049/input.js:1:1]
|
||
1 │ \u{}
|
||
· ─┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0049/input.js:1:1]
|
||
1 │ \u{}
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0050/input.js:1:1]
|
||
1 │ \u{FFFF
|
||
· ───┬──
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0051/input.js:1:1]
|
||
1 │ \u{FFZ}
|
||
· ──┬─
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0051/input.js:1:1]
|
||
1 │ \u{FFZ}
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0052/input.js:1:1]
|
||
1 │ 1++
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0053/input.js:1:1]
|
||
1 │ 1--
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0054/input.js:1:1]
|
||
1 │ ++1
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0055/input.js:1:1]
|
||
1 │ --1
|
||
· ┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0056/input.js:1:1]
|
||
1 │ for((1 + 1) in list) process(x);
|
||
· ───────
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0057/input.js:1:1]
|
||
1 │ [
|
||
· ▲
|
||
· ╰── Expect `]` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0058/input.js:1:1]
|
||
1 │ [,
|
||
· ▲
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0059/input.js:1:1]
|
||
1 │ 1 + {
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0060/input.js:1:1]
|
||
1 │ 1 + { t:t
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0061/input.js:1:1]
|
||
1 │ 1 + { t:t,
|
||
· ▲
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[esprima/invalid-syntax/migrated_0062/input.js:1:1]
|
||
1 │ var x = /
|
||
· ─┬
|
||
· ╰── Unterminated regular expression
|
||
2 │ /
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[esprima/invalid-syntax/migrated_0063/input.js:1:1]
|
||
1 │ var x = "
|
||
· ─┬
|
||
· ╰── Unterminated string
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0064/input.js:1:1]
|
||
1 │ var if = 42
|
||
· ──
|
||
╰────
|
||
|
||
× Invalid Character `'='`
|
||
╭─[esprima/invalid-syntax/migrated_0065/input.js:1:1]
|
||
1 │ i #= 42
|
||
· ▲
|
||
· ╰── Invalid Character `=`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0065/input.js:1:1]
|
||
1 │ i #= 42
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0066/input.js:1:1]
|
||
1 │ i + 2 = 42
|
||
· ──┬──
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Invalid assignment
|
||
╭─[esprima/invalid-syntax/migrated_0067/input.js:1:1]
|
||
1 │ +i = 42
|
||
· ─┬
|
||
· ╰── Cannot assign to this expression
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0068/input.js:1:1]
|
||
1 │ 1 + (
|
||
· ▲
|
||
· ╰── Expect `)` here, but found `EOF`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0069/input.js:1:1]
|
||
1 │ {
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0070/input.js:2:1]
|
||
2 │ comment */
|
||
3 │ )
|
||
· ─
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0071/input.js:1:1]
|
||
1 │ { set 1 }
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0072/input.js:1:1]
|
||
1 │ { get 2 }
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0073/input.js:1:1]
|
||
1 │ ({ set: s(if) { } })
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0074/input.js:1:1]
|
||
1 │ ({ set s(.) { } })
|
||
· ─
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[esprima/invalid-syntax/migrated_0075/input.js:1:1]
|
||
1 │ ({ set s() { } })
|
||
· ─┬
|
||
· ╰── A 'set' accessor must have exactly one parameter.
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0076/input.js:1:1]
|
||
1 │ ({ set: s() { } })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0077/input.js:1:1]
|
||
1 │ ({ set: s(a, b) { } })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0078/input.js:1:1]
|
||
1 │ ({ get: g(d) { } })
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0080/input.js:1:1]
|
||
1 │ ({[a,b]:0})
|
||
· ┬
|
||
· ╰── Expect `]` here, but found `,`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0081/input.js:1:1]
|
||
1 │ ({get[a,b]:0})
|
||
· ┬
|
||
· ╰── Expect `]` here, but found `,`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0082/input.js:1:1]
|
||
1 │ ({(a):0})
|
||
· ─
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0083/input.js:1:1]
|
||
1 │ ({get{a}:0})
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `{`
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0084/input.js:1:1]
|
||
1 │ ({get
|
||
· ▲
|
||
· ╰── Expect `}` here, but found `EOF`
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[esprima/invalid-syntax/migrated_0095/input.js:1:1]
|
||
1 │ () <= 42
|
||
· ▲
|
||
· ╰── Expected an expression here
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[esprima/invalid-syntax/migrated_0096/input.js:1:1]
|
||
1 │ () ? 42
|
||
· ▲
|
||
· ╰── Expected an expression here
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0096/input.js:1:1]
|
||
1 │ () ? 42
|
||
· ▲
|
||
· ╰── Expect `:` here, but found `EOF`
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[esprima/invalid-syntax/migrated_0097/input.js:1:1]
|
||
1 │ () + 42
|
||
· ▲
|
||
· ╰── Expected an expression here
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0098/input.js:1:1]
|
||
1 │ (10) => 00
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0099/input.js:1:1]
|
||
1 │ (10, 20) => 00
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0102/input.js:1:1]
|
||
1 │ p = { q/ }
|
||
· ┬
|
||
· ╰── Expect `,` here, but found `/`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0103/input.js:1:1]
|
||
1 │ p = { "q"/ }
|
||
· ─
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0112/input.js:1:1]
|
||
1 │ a b;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0113/input.js:1:1]
|
||
1 │ if.a;
|
||
· ┬
|
||
· ╰── Expect `(` here, but found `.`
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0114/input.js:1:1]
|
||
1 │ a if;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0115/input.js:1:1]
|
||
1 │ a enum;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0117/input.js:1:1]
|
||
1 │ break 1;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0119/input.js:1:1]
|
||
1 │ continue 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Illegal newline after "throw"
|
||
╭─[esprima/invalid-syntax/migrated_0120/input.js:1:1]
|
||
1 │ throw
|
||
· ──┬──
|
||
· ╰── throw starts here
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0120/input.js:1:1]
|
||
1 │ throw
|
||
· ▲
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0121/input.js:1:1]
|
||
1 │ throw;
|
||
· ─
|
||
╰────
|
||
|
||
× Illegal newline after "throw"
|
||
╭─[esprima/invalid-syntax/migrated_0122/input.js:1:1]
|
||
1 │ throw
|
||
· ──┬──
|
||
· ╰── throw starts here
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0122/input.js:1:1]
|
||
1 │ throw
|
||
· ▲
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0124/input.js:1:1]
|
||
1 │ for ((i in {}));
|
||
· ┬
|
||
· ╰── Expect `;` here, but found `)`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0125/input.js:1:1]
|
||
1 │ for (i + 1 in {});
|
||
· ─────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0126/input.js:1:1]
|
||
1 │ for (+i in {});
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0127/input.js:1:1]
|
||
1 │ if(false)
|
||
· ▲
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0128/input.js:1:1]
|
||
1 │ if(false) doThis(); else
|
||
· ▲
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0129/input.js:1:1]
|
||
1 │ do
|
||
· ▲
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0130/input.js:1:1]
|
||
1 │ while(false)
|
||
· ▲
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0131/input.js:1:1]
|
||
1 │ for(;;)
|
||
· ▲
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0132/input.js:1:1]
|
||
1 │ with(x)
|
||
· ▲
|
||
╰────
|
||
|
||
× Missing catch or finally clause
|
||
╭─[esprima/invalid-syntax/migrated_0133/input.js:1:1]
|
||
1 │ try { }
|
||
· ┬
|
||
· ╰── Expected `catch` or `finally` here
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0134/input.js:1:1]
|
||
1 │ try {} catch (42) {}
|
||
· ──
|
||
╰────
|
||
|
||
× Expect token
|
||
╭─[esprima/invalid-syntax/migrated_0135/input.js:1:1]
|
||
1 │ try {} catch (answer()) {}
|
||
· ┬
|
||
· ╰── Expect `)` here, but found `(`
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0136/input.js:1:1]
|
||
1 │ try {} catch (-x) {}
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Character `'‿'`
|
||
╭─[esprima/invalid-syntax/migrated_0137/input.js:1:1]
|
||
1 │ \u203F = 10
|
||
· ▲
|
||
· ╰── Invalid Character `‿`
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[esprima/invalid-syntax/migrated_0138/input.js:1:1]
|
||
1 │ const x = 12, y;
|
||
· ┬
|
||
· ╰── const declaration need an initializer
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[esprima/invalid-syntax/migrated_0139/input.js:1:1]
|
||
1 │ const x, y = 12;
|
||
· ┬
|
||
· ╰── const declaration need an initializer
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[esprima/invalid-syntax/migrated_0140/input.js:1:1]
|
||
1 │ const x;
|
||
· ┬
|
||
· ╰── const declaration need an initializer
|
||
╰────
|
||
|
||
× Automatic Semicolon Insertion
|
||
╭─[esprima/invalid-syntax/migrated_0141/input.js:1:1]
|
||
1 │ if(true) let a = 1;
|
||
· ┬
|
||
· ╰── Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[esprima/invalid-syntax/migrated_0142/input.js:1:1]
|
||
1 │ if(true) const a = 1;
|
||
· ──────┬─────
|
||
· ╰── Lexical declaration is not allowed here
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0144/input.js:1:1]
|
||
1 │ new X()."s"
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[esprima/invalid-syntax/migrated_0145/input.js:1:1]
|
||
1 │ /*
|
||
· ─┬─
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[esprima/invalid-syntax/migrated_0146/input.js:1:1]
|
||
1 │ /*
|
||
· ─┬─
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[esprima/invalid-syntax/migrated_0147/input.js:1:1]
|
||
1 │ /**
|
||
· ──┬─
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[esprima/invalid-syntax/migrated_0148/input.js:1:1]
|
||
1 │ ╭─▶ /*
|
||
2 │ │
|
||
3 │ ├─▶ *
|
||
· ╰──── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[esprima/invalid-syntax/migrated_0149/input.js:1:1]
|
||
1 │ /*hello
|
||
· ────┬───
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[esprima/invalid-syntax/migrated_0150/input.js:1:1]
|
||
1 │ /*hello *
|
||
· ─────┬─────
|
||
· ╰── Unterminated multiline comment
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0151/input.js:1:1]
|
||
1 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0152/input.js:1:1]
|
||
1 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0153/input.js:1:1]
|
||
1 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0154/input.js:1:1]
|
||
1 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0155/input.js:1:1]
|
||
1 │ //
|
||
2 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0156/input.js:2:1]
|
||
2 │
|
||
]
|
||
· ─
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[esprima/invalid-syntax/migrated_0157/input.js:1:1]
|
||
1 │ /a\
|
||
· ──┬─
|
||
· ╰── Unterminated regular expression
|
||
2 │ /
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0158/input.js:2:1]
|
||
2 │
|
||
3 │ ]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0159/input.js:1:1]
|
||
1 │ /*
|
||
2 │ */]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0160/input.js:2:1]
|
||
2 │
|
||
*/]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[esprima/invalid-syntax/migrated_0161/input.js:2:1]
|
||
2 │
|
||
3 │ */]
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0162/input.js:1:1]
|
||
1 │ \
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Character `'\\'`
|
||
╭─[esprima/invalid-syntax/migrated_0163/input.js:1:1]
|
||
1 │ \u005c
|
||
· ▲
|
||
· ╰── Invalid Character `\`
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[esprima/invalid-syntax/migrated_0164/input.js:1:1]
|
||
1 │ \x
|
||
· ┬
|
||
· ╰── Invalid Unicode escape sequence
|
||
╰────
|
||
|
||
× Invalid Character `'\0'`
|
||
╭─[esprima/invalid-syntax/migrated_0165/input.js:1:1]
|
||
1 │ \u0000
|
||
· ▲
|
||
· ╰── Invalid Character ` |