Automatic iterator.return() in contexts other than for and yield*
allen at wirfs-brock.com
Sun Jan 18 14:06:19 PST 2015
added https://bugs.ecmascript.org/show_bug.cgi?id=3576 for the destructuring case which didn't already have a ticket.
(also fixed it, array destructuring now now does an IteratorClose on any iterator it creates using GetIterator)
On Jan 15, 2015, at 10:18 AM, Jason Orendorff wrote:
> On Wed, Jan 14, 2015 at 2:10 PM, Allen Wirfs-Brock
> <allen at wirfs-brock.com> wrote:
>> Yes, there are still a couple of bugs related to this that I hope to get to before the ES6 spec is totally locked down.
> Great! Thanks for the quick response.
> (I felt bad posting about it because I know it's come up before; but I
> couldn't figure out the magic word to search for: "iterator",
> "return", "for", "of", "exception" are all too common. Maybe we should
> invent search keywords for each of these issues, as they come up. This
> one can be #breakupprotocol. Would work in bugzilla too, if someone
> cared to annotate...)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss