swc/ecmascript/parser/tests/test262-error-references/fail/8373e2a6865dc08c.js.stderr

7 lines
220 B
Plaintext
Raw Normal View History

error: Unexpected token `,`. Expected identifier, string literal, numeric literal or [ for the computed key
--> $DIR/tests/test262-parser/fail/8373e2a6865dc08c.js:1:15
|
1 | class A {a(){},b(){}}
| ^