-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for defaults when destructuring parameters #297
Conversation
Great work on this @tswaters! Do you know how long this will be before we see a new 1.8.x release with this included? Could really use this. |
I'm not sure... I'm not a contributer to escodegen... just noticed a problem and created a pull request. |
Sorry, I've been meaning to review this for a while now. I'll get to it (and if all's good, make a release) ASAP. |
I'm using Istanbul (which uses escodegen) and i've got the same problem with destructuring... Will this pull-requests be merged soon? |
if (value.type === 'AssignmentPattern') { | ||
result.push(this.AssignmentPattern(value, Precedence.Sequence, E_TTT)); | ||
} | ||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like this style, but I'm not going to let it block merging this PR.
edit: 932847d
LGTM. Sorry for taking this long to review. |
Now this is merged, can you publish a new 1.8.x release to npm? |
Published |
Nice work. Thanks! |
Thanks a lot! |
Fixes #296