dherman at mozilla.com
Tue Apr 30 16:55:53 PDT 2013
On Apr 30, 2013, at 7:25 AM, Brendan Eich <brendan at mozilla.com> wrote:
> Andreas Rossberg wrote:
>> And as Andy points out correctly, that raises the question whether
>> having 'close' makes much sense at all.
> I think we have evolved away from it. Cc'ing Dave to confirm.
I'm cool with it, and I agree on type grounds as well: forcing a return without a value may break the expected return type of the generator, which might not want to return undefined. Whereas the "throws" type makes more sense as an open, extensible type.
More information about the es-discuss