I think we can settle this now.

Lets allow an argument.

On Tuesday, February 25, 2014 6:27:26 AM, Brendan Eich <[email protected]>
wrote:

> Andy Wingo wrote:
> > Hi,
> >
> > I don't see the point of throwing an error when calling .next('foo') on
> > a newborn generator.  We don't throw an error on .next('foo', 'bar'),
> > and unlike the case with most function calls there is no way to get the
> > 'bar' when resuming a generator, as you don't have an arguments object.
> >
> > I would punt on this issue entirely, and ideally remove the
> > "suspendedStart" state from the spec, renaming "suspendedYield" to
> > simply "suspended".
> >
> > Just MHO:)
>
> I agree, and I thought we agreed at the last TC39 meeting, but I was
> wrong or else it got lost.
>
> We'll settle it at the early April meeting.
>
> /be
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to