mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
7 lines
189 B
Plaintext
7 lines
189 B
Plaintext
|
error: 'yield' cannot be used as a parameter within generator
|
||
|
--> $DIR/tests/test262-parser/fail/e115bbef8bec1a84.js:1:17
|
||
|
|
|
||
|
1 | function *g(){ (yield) => 42 }
|
||
|
| ^^^^^
|
||
|
|