Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Fix: Add more tests for destructuring and spread (fixes #306) #308

Merged
merged 1 commit into from
Jun 3, 2017

Conversation

soda0289
Copy link
Member

@soda0289 soda0289 commented Jun 2, 2017

  • Copied over a lot more tests from espree for destructuering and spread
  • Fixed issues with RestElement and SpreadElement
  • Fixed issues with ArrayPattern and ArrayExpression
  • Fixed issue with array RestElement in function parameter binding
  • Updated findFirstMatchingChild node util to recursively search for children

@soda0289 soda0289 requested a review from JamesHenry June 2, 2017 18:43
@eslintbot
Copy link

LGTM

@vjeux
Copy link

vjeux commented Jun 2, 2017

Would it be possible for you to make a branch with both this and #303 so that I can use it? I'd love to do a 1.4.1 release for prettier and would love to get both those PR in :) Thanks!

@vjeux
Copy link

vjeux commented Jun 2, 2017

Nevermind, did it here: https://github.com/vjeux/typescript-eslint-parser/commits/prettier-fixes. Can't wait for those two to land :) Thanks for fixing them so quickly!

vjeux added a commit to vjeux/prettier that referenced this pull request Jun 2, 2017
vjeux added a commit to vjeux/prettier that referenced this pull request Jun 2, 2017
vjeux added a commit to prettier/prettier that referenced this pull request Jun 2, 2017
@JamesHenry JamesHenry merged commit bffd6cc into master Jun 3, 2017
@JamesHenry JamesHenry deleted the fix-rest-element branch June 3, 2017 11:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants