I would really like to believe that this is adequate to postpone the rest
of this issue to ES7. But even without finally, this proposal would put the
generator in a non-resumable state in ES7 after ES6 would ship them in a
resumable state. I don't think that's realistic.


On Fri, Apr 25, 2014 at 11:04 AM, C. Scott Ananian <[email protected]>wrote:

> I like the `@@return` proposal, and I would like to eventually use `yield`
> inside try/finally (with something like `Promise.async` to implement the
> poor man's pre-ES7 `await`/`async`), and *yet*:
>
> I support banning `yield` inside try/finally for ES6.  That seems the
> smallest possible fix for the immediate issue (unreliable `finally` clause
> execution), and it buys us time to fix things properly for ES7 (whether
> that's @@return or something else).
>   --scott
> ​
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to