mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 20:51:42 +03:00
7 lines
207 B
Plaintext
7 lines
207 B
Plaintext
|
error: 'yield' cannot be used as a parameter within generator
|
||
|
--> $DIR/tests/test262-parser/fail/30f6acf0bf2f7f06.js:1:26
|
||
|
|
|
||
|
1 | function *g(){ (a, b, c, yield) => 42 }
|
||
|
| ^^^^^
|
||
|
|