Status: New
Owner: ----

New issue 2708 by [email protected]: ES6 yield shouldn't require a value
http://code.google.com/p/v8/issues/detail?id=2708

The current implementation of ES6 generators requires `yield` to have a value, e.g. this is not valid: `var x = yield;`

According to this draft spec (which I'm not entirely sure is up-to-date), the above expression should be valid, and `yield` should not require an argument. I can't imagine why the spec would change in this way, so I assume it's still optional.

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-13.4

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to