-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES6 feature: Generator: Tracking Issue #1033
Comments
@jeffmo Here's the generator tracking issue, in case you want to grab this. |
David (@dhe128) mentioned he'd be interested in giving generator support a go -- so cc'ing him here for reference |
Was ArrowExpression vs. ArrowFunctionExpression resolved? |
Hmm, well there isn't such a thing as generator arrow functions in ES6... |
Good point, my comment was based on the inclusion of ArrowExpression as part of the relevant AST information in the description. It seems like |
Until V8 has a specific message of the illegal use of yield, we stick with the generic one. Refs jquery#1033
Until V8 has a specific message of the illegal use of yield, we stick with the generic one. Refs jquery#1033
Until V8 has a specific message of the illegal use of yield, we stick with the generic one. Refs jquery#1033
Syntax:
Per Rev 32 (Feb 2, 2015) of the draft spec, the relevant grammar is on Section 14.4 Generator Function Definitions:
Spec:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions
Relevant AST interfaces (from https://github.com/estree/estree):
Functions:
YieldExpression:
See also:
Remaining Tasks:
yield*
(old issue 617)The text was updated successfully, but these errors were encountered: