yield* desugaring

David Herman dherman at mozilla.com
Thu May 2 11:00:43 PDT 2013

On May 2, 2013, at 9:51 AM, David Herman <dherman at mozilla.com> wrote:

> On May 2, 2013, at 6:25 AM, Andreas Rossberg <rossberg at google.com> wrote:
>> On 1 May 2013 02:06, David Herman <dherman at mozilla.com> wrote:
>>> It also has a smell to it: the idea that an expression can cause a return, without the syntactic appearance of `return`. (I'm not opposed to the idea of being able to return from expressions -- I still love do-expressions. But I prefer `return` to be a syntactically apparent control effect.)
>> Of course, there is no need to allow 'return' or friends in
>> do-expressions. In fact, I'd be opposed to that. ;)
> I know, you've already stated that. This is OT.

(Sorry to be curt. Just don't need to debate do-expressions here, since they're OT and not on the ES6 agenda.)


More information about the es-discuss mailing list