mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
a1d33d023a
swc_ecma_parser: - Improve parser's error reporting story - Replace `Session`, `Handler`, `Emitter` with Parser.take_errors() - Expose `Error` - Remove useless lifetime parameters
13 lines
285 B
Plaintext
13 lines
285 B
Plaintext
error: Unexpected token Some(RBrace)
|
|
--> $DIR/tests/test262-parser/fail/e3a388ec11e4d061.js:1:21
|
|
|
|
|
1 | var obj = { *test** }
|
|
| ^
|
|
|
|
error: TS1109
|
|
--> $DIR/tests/test262-parser/fail/e3a388ec11e4d061.js:1:18
|
|
|
|
|
1 | var obj = { *test** }
|
|
| ^^
|
|
|