mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
20 lines
479 B
Plaintext
20 lines
479 B
Plaintext
|
|
x Expected ';', '}' or <eof>
|
|
,-[$DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:5]
|
|
2 | { *[yield iter]() {} }
|
|
: ^
|
|
`----
|
|
|
|
Error:
|
|
> This is the expression part of an expression statement
|
|
,-[$DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:5]
|
|
2 | { *[yield iter]() {} }
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Expression expected
|
|
,-[$DIR/tests/test262-parser/fail/a7be138dfd29025e.js:2:5]
|
|
2 | { *[yield iter]() {} }
|
|
: ^
|
|
`----
|