Conversation
conartist6
commented
Mar 22, 2017
| Q | A |
|---|---|
| Patch: Bug Fix? | N |
| Major: Breaking Change? | N |
| Minor: New Feature? | Y |
| Deprecations? | N |
| Spec Compliancy? | Y (No official spec; matches flow behavior) |
| Tests Added/Pass? | Y |
| Fixed Tickets | |
| License | MIT |
| Doc PR | N |
| Dependency Changes | babel/babylon#418 |
|
@conartist6, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loganfsmyth, @existentialism and @samwgoldman to be potential reviewers. |
|
Thanks! Will you also add a test to babel-plugin-transform-flow-strip-types? I don't think any code changes are necessary, but it'd be nice to have the test. |
| } | ||
|
|
||
| export function ObjectTypeSpreadProperty(node: Object) { | ||
| this._variance(node); |
There was a problem hiding this comment.
Since this node type can't have a variance annotation, this line can be removed.
danez
left a comment
There was a problem hiding this comment.
lgtm, we can merge this when we do a new babylon pre-release
existentialism
left a comment
There was a problem hiding this comment.
👍
(Babylon bump: #5585)
Codecov Report
@@ Coverage Diff @@
## 7.0 #5525 +/- ##
==========================================
- Coverage 85.45% 84.38% -1.07%
==========================================
Files 200 284 +84
Lines 9506 9760 +254
Branches 2701 2735 +34
==========================================
+ Hits 8123 8236 +113
- Misses 886 1010 +124
- Partials 497 514 +17
Continue to review full report at Codecov.
|
* 'master' of github.com:hulkish/babel: (190 commits) Fix incorrect property ordering with obj rest spread on nested (babel#5685) Fix PathHoister hoisting before a same-scope variable declaration. Updated transform-react-display-name for createReactClass addon (babel#5554) Fix PathHoister error attaching after export declarations. add .mjs to list of well known extensions Remove babel-helper-builder-conditional-assignment-operator-visitor, unused in babel [skip ci] (babel#5676) use find-cache-dir for babel-register cache (babel#5669) Fix operator processing in object super. -> parsedAst string -> sourceCode, ast -> generatedCode back to babylon Switch to pirates for babel-register. (babel#3670) [skip ci] babylon -> babel, ast -> parsedAst [readme] change code -> string Add support for object type spread (babel#5525) Fix object destructuring in param arrays (babel#5650) Remove merge helper and add more type declarations. (babel#5649) Typecheck much more of the config loading process (babel#5642) update to alpha.9 (babel#5639) v7.0.0-alpha.9 ...
* '7.0' of https://github.com/babel/babel: (190 commits) Fix incorrect property ordering with obj rest spread on nested (babel#5685) Fix PathHoister hoisting before a same-scope variable declaration. Updated transform-react-display-name for createReactClass addon (babel#5554) Fix PathHoister error attaching after export declarations. add .mjs to list of well known extensions Remove babel-helper-builder-conditional-assignment-operator-visitor, unused in babel [skip ci] (babel#5676) use find-cache-dir for babel-register cache (babel#5669) Fix operator processing in object super. -> parsedAst string -> sourceCode, ast -> generatedCode back to babylon Switch to pirates for babel-register. (babel#3670) [skip ci] babylon -> babel, ast -> parsedAst [readme] change code -> string Add support for object type spread (babel#5525) Fix object destructuring in param arrays (babel#5650) Remove merge helper and add more type declarations. (babel#5649) Typecheck much more of the config loading process (babel#5642) update to alpha.9 (babel#5639) v7.0.0-alpha.9 ...
|
Any chance this could this be backported to 6.x, similar to babel/babylon#418? |
|
@voideanvalue this was done in #5653, we'll release it soon! |
|
@existentialism Sweet. Any ETA on a new release? |