-
Notifications
You must be signed in to change notification settings - Fork 336
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 RestElement #236
Support RestElement #236
Conversation
LGTM |
After seeing the test is pased, i'll merge it. |
Thank you! |
Shouldn't it be |
@ArtemGovorov I see you're correct, I will submit another PR that expands coverage to all patterns. |
This is a followup to estools#236 that brings RestElement into full spec compliance.
This is a followup to estools#236 that brings RestElement into full spec compliance.
That's a spec bug. I will submit an estree issue. edit: Oops, I was thinking only of ArrayBindingPattern, not of ArrayAssignmentPattern. |
If it's a bug, it seems to already be implemented in multiple places. esprima supports it, and babel (uses acorn?) supports it too. |
See my edit above. I made a mistake. |
This is a followup to estools#236 that brings RestElement into full spec compliance.
Closes #225.