Repository navigation
Upgrade flow to 0.64 - #3899
Merged
Merged
Upgrade flow to 0.64#3899
Conversation
This also enables spread operator on jsx on the flow parser:
```js
<div>{...list}</div>
```
I had no idea it was even a thing.
I had to comment out a flow test that no longer parses, but it's no longer in the flow repo and the comment said that it shouldn't be working anyway so I don't think it's going to be a problem.
lipis
approved these changes
Feb 6, 2018
suchipi
approved these changes
Feb 6, 2018
Member
|
Can you add a test for the new syntax? |
Member
|
Also looks like there are a bunch of errors in the build. |
vjeux
commented
Feb 6, 2018
| @@ -1 +1 @@ | |||
| run_spec(__dirname, ["babylon"]); | |||
| run_spec(__dirname, ["babylon", "flow"]); | |||
Contributor
Author
There was a problem hiding this comment.
@j-f1 there's already a test in the codebase: jsx_spread. I enabled it for the flow parser
Contributor
Author
|
Oops... I was trying out the https://github.com/sindresorhus/refined-github extension that has a merge when green... but it merged instantly :( |
lipis
added a commit
that referenced
this pull request
Feb 6, 2018
* 'master' of github.com:prettier/prettier: Upgrade flow to 0.64 (#3899) Cleanup unused script (& sort) (#3908) Normalize SVGs using svgo (#3907) Updated Webstorm instructions for File-Watcher (#3900) refactor(tests): restructure `at rules` tests (#3892) tests(css): declaration comments (#3906) fix(css): declaration comments (#3897)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This also enables spread operator on jsx on the flow parser:
I had no idea it was even a thing.
I had to comment out a flow test that no longer parses, but it's no longer in the flow repo and the comment said that it shouldn't be working anyway so I don't think it's going to be a problem.
Fixes #3898