Brendan Eich (2013-11-28T19:47:50.000Z)
On Nov 28, 2013, at 11:24 AM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> 
> The reason it isn't allowed is that the generator object is not yet instantiated and active at the point where a default value initializer would be evaluated.

But just to be clear, defaults are evaluated per generator function invocation. Right?

This is a fine reason for a static error on yield in parameter default, but, but to hammer on the virtue of function*, it still does not help with parsing. Good old * after function does.

/be
domenic at domenicdenicola.com (2013-12-10T01:26:13.159Z)
On Nov 28, 2013, at 11:24 AM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> 
> The reason it isn't allowed is that the generator object is not yet instantiated and active at the point where a default value initializer would be evaluated.

But just to be clear, defaults are evaluated per generator function invocation. Right?

This is a fine reason for a static error on yield in parameter default, but, but to hammer on the virtue of function\*, it still does not help with parsing. Good old \* after function does.