mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
18 lines
438 B
Plaintext
18 lines
438 B
Plaintext
|
|
x Expected ';', '}' or <eof>
|
|
,-[$DIR/tests/test262-parser/fail/a7be138dfd29025e.js:1:1]
|
|
1 | (function*() {
|
|
2 | { *[yield iter]() {} }
|
|
: ^^^^^^^|^^^^^^^ ^
|
|
: `-- This is the expression part of an expression statement
|
|
3 | })
|
|
`----
|
|
|
|
x Expression expected
|
|
,-[$DIR/tests/test262-parser/fail/a7be138dfd29025e.js:1:1]
|
|
1 | (function*() {
|
|
2 | { *[yield iter]() {} }
|
|
: ^
|
|
3 | })
|
|
`----
|