Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc08f1e
commit 7fb5351
Showing
31 changed files
with
204 additions
and
283 deletions.
There are no files selected for viewing
This file contains 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
2 changes: 1 addition & 1 deletion
2
.../babel-plugin-proposal-async-generator-functions/test/fixtures/regression/13801/output.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
24 changes: 6 additions & 18 deletions
24
...-transform-destructuring/test/fixtures/destructuring/destructuring-empty-in-for/output.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
for (var x in y) { | ||
for (;;) { | ||
babelHelpers.objectDestructuringEmpty(x); | ||
} | ||
} | ||
for (var _x in y) { | ||
for (babelHelpers.objectDestructuringEmpty(_x);;) { | ||
; | ||
} | ||
} | ||
for (var _x2 in y) { | ||
for (; _x3 = _x2, babelHelpers.objectDestructuringEmpty(_x3), _x3; _x4 = _x2, babelHelpers.objectDestructuringEmpty(_x4), _x4) { | ||
var _x3, _x4; | ||
babelHelpers.objectDestructuringEmpty(_x2); | ||
} | ||
} | ||
for (babelHelpers.objectDestructuringEmpty(0); 0;) { | ||
; | ||
for (var x in y) for (;;) babelHelpers.objectDestructuringEmpty(x); | ||
for (var _x in y) for (babelHelpers.objectDestructuringEmpty(_x);;); | ||
for (var _x2 in y) for (; _x3 = _x2, babelHelpers.objectDestructuringEmpty(_x3), _x3; _x4 = _x2, babelHelpers.objectDestructuringEmpty(_x4), _x4) { | ||
var _x3, _x4; | ||
babelHelpers.objectDestructuringEmpty(_x2); | ||
} | ||
for (babelHelpers.objectDestructuringEmpty(0); 0;); |
16 changes: 8 additions & 8 deletions
16
...ges/babel-plugin-transform-destructuring/test/fixtures/destructuring/parameters/output.js
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
packages/babel-plugin-transform-regenerator/test/fixtures/misc/no-external-helpers/output.js
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 10 additions & 12 deletions
22
packages/babel-plugin-transform-regenerator/test/fixtures/regression/15142/output.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
/*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() { | ||
return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) { | ||
while (1) { | ||
switch (_context.prev = _context.next) { | ||
case 0: | ||
_context.next = 2; | ||
return 0; | ||
case 2: | ||
_context.t0 = _context.sent; | ||
return _context.abrupt("return", [_context.t0,,]); | ||
case 4: | ||
case "end": | ||
return _context.stop(); | ||
} | ||
while (1) switch (_context.prev = _context.next) { | ||
case 0: | ||
_context.next = 2; | ||
return 0; | ||
case 2: | ||
_context.t0 = _context.sent; | ||
return _context.abrupt("return", [_context.t0,,]); | ||
case 4: | ||
case "end": | ||
return _context.stop(); | ||
} | ||
}, _callee); | ||
})); |
18 changes: 8 additions & 10 deletions
18
packages/babel-plugin-transform-regenerator/test/fixtures/regression/15177/output.js
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.