Closed
Bug 880063
Opened 12 years ago
Closed 10 years ago
Nested yield expressions should be allowed
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 880447
People
(Reporter: bbenvie, Unassigned)
References
Details
> function x(){ yield yield; }
> // SyntaxError: missing ; before statement
> function x(){ yield (yield); }
> // works
`yield yield` works in the V8 implementation of generators and I'm pretty sure it's allowed by the ES6 spec.
Comment 1•11 years ago
|
||
What does the current spec say?
Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Comment 2•10 years ago
|
||
it's already fixed by bug 880447.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Resolution: FIXED → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•