oxc/tasks/coverage/parser_misc.snap

45 lines
1,017 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

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

parser_misc Summary:
AST Parsed : 9/9 (100.00%)
Positive Passed: 9/9 (100.00%)
Negative Passed: 5/5 (100.00%)
× Unexpected token
╭─[fail/oxc-169.js:1:1]
1 │ 1<(V=82<<t-j0<(V=$<LBI<(V=ut<I<(V=$<LBI<(V=uIV=82<<t-j0<(V=$<LBI<(V=ut<I<(V=$<LBI<(V<II>
╰────
× Unexpected token
╭─[fail/oxc-1942-1.ts:1:1]
1 │ class Foo {
2 │ get x: () => {
· ─
3 │ return 5;
╰────
× Unexpected token
╭─[fail/oxc-1942-2.ts:1:1]
1 │ class Foo {
2 │ set x: (v: number) => {}
· ─
3 │ }
╰────
× Empty parenthesized expression
╭─[fail/oxc-232.js:1:1]
1 │ x = (/* a */)
· ─────────
╰────
× The keyword 'let' is reserved
╭─[fail/oxc.js:1:1]
1 │ let.a = 1;
· ───
2 │ let()[a] = 1;
╰────
× The keyword 'let' is reserved
╭─[fail/oxc.js:1:1]
1 │ let.a = 1;
2 │ let()[a] = 1;
· ───
╰────