mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
d074063867
Implement some error recovery logic to parser
19 lines
467 B
Plaintext
19 lines
467 B
Plaintext
error: TS1109
|
|
--> $DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:7
|
|
|
|
|
2 | { *[yield iter]() {} }
|
|
| ^
|
|
|
|
error: Expected ';', '}' or <eof>
|
|
--> $DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:23
|
|
|
|
|
2 | { *[yield iter]() {} }
|
|
| ^
|
|
|
|
|
note: This is the expression part of an expression statement
|
|
--> $DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:7
|
|
|
|
|
2 | { *[yield iter]() {} }
|
|
| ^^^^^^^^^^^^^^^
|
|
|