Prepare for defaults array removal in function node #427

Open
ariya opened this Issue Jan 15, 2016 · 2 comments

Projects

None yet

2 participants

@ariya
Contributor
ariya commented Jan 15, 2016

This is necessary once js2coffee wants to use Esprima 3.0.

In a FunctionDeclaration or FunctionExpression, the defaults array to store the default parameter values is gone. Instead, each value is available in each parameter via an AssignmentExpression. For details and an example, see jquery/esprima#1081.

@ariya
Contributor
ariya commented Jan 15, 2016

Note that my CoffeeScript skill is at the n00b level, so I'm not sure I could come up with a patch. But I'd be happy to help otherwise!

@rstacruz
Member

thanks so much for keeping me updated on this! will squeeze in some time to grok the issue and figure out what to do then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment