ericmckean / traceur-compiler

Automatically exported from code.google.com/p/traceur-compiler
Apache License 2.0
0 stars 0 forks source link

Harmony semantics for generators (next, send, throw, close) #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
LanguageFeatures#Generators links to 
<http://wiki.ecmascript.org/doku.php?id=harmony:generators>, but Traceur 
doesn't actually implement Harmony's current semantics and API. Traceur 
generators use .moveNext() and .current, whereas Harmony has .next(), .send(), 
.throw() and .close(), as detailed on its wiki. This might be something worth 
implementing to further Traceur's goals.

Original issue reported on code.google.com by tomi.be...@gmail.com on 7 Dec 2012 at 8:00

GoogleCodeExporter commented 9 years ago
We intend to match SpiderMonkey/ES Wiki here. More work is needed.

Original comment by arv@chromium.org on 7 Dec 2012 at 8:17

GoogleCodeExporter commented 9 years ago
Oops, sorry about the duplicate! Looking forward to this being fixed.

Original comment by tomi.be...@gmail.com on 7 Dec 2012 at 8:36

GoogleCodeExporter commented 9 years ago
No worries. I prefer dupes than no bug reports at all. 

Original comment by arv@chromium.org on 7 Dec 2012 at 8:37