Skip to content

Commit

Permalink
Update other fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 16, 2022
1 parent fc08f1e commit 7fb5351
Show file tree
Hide file tree
Showing 31 changed files with 204 additions and 283 deletions.
Expand Up @@ -14,14 +14,12 @@ var Foo = /*#__PURE__*/function () {
var _bar = babelHelpers.asyncToGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() {
var baz;
return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
baz = 0;
case 1:
case "end":
return _context.stop();
}
while (1) switch (_context.prev = _context.next) {
case 0:
baz = 0;
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
Expand All @@ -41,33 +39,29 @@ function _foo() {
_foo = babelHelpers.asyncToGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee3() {
var bar, _bar2;
return babelHelpers.regeneratorRuntime().wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
_bar2 = function _bar4() {
_bar2 = babelHelpers.asyncToGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee2() {
var baz;
return babelHelpers.regeneratorRuntime().wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
baz = {};
case 1:
case "end":
return _context2.stop();
}
}
}, _callee2);
}));
return _bar2.apply(this, arguments);
};
bar = function _bar3() {
return _bar2.apply(this, arguments);
};
case 2:
case "end":
return _context3.stop();
}
while (1) switch (_context3.prev = _context3.next) {
case 0:
_bar2 = function _bar4() {
_bar2 = babelHelpers.asyncToGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee2() {
var baz;
return babelHelpers.regeneratorRuntime().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
baz = {};
case 1:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _bar2.apply(this, arguments);
};
bar = function _bar3() {
return _bar2.apply(this, arguments);
};
case 2:
case "end":
return _context3.stop();
}
}, _callee3);
}));
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -12,9 +12,7 @@ var D = /*#__PURE__*/function () {
babelHelpers.createClass(D, [{
key: "f",
value: function f() {
for (var el of babelHelpers.classPrivateFieldGet(this, _arr)) {
;
}
for (var el of babelHelpers.classPrivateFieldGet(this, _arr));
}
}]);
return D;
Expand All @@ -33,9 +31,7 @@ var C = /*#__PURE__*/function () {
babelHelpers.createClass(C, [{
key: "m",
value: function m() {
for (babelHelpers.classPrivateFieldDestructureSet(this, _p).value of []) {
;
}
for (babelHelpers.classPrivateFieldDestructureSet(this, _p).value of []);
}
}]);
return C;
Expand All @@ -54,9 +50,7 @@ var E = /*#__PURE__*/function () {
babelHelpers.createClass(E, [{
key: "f",
value: function f() {
for (babelHelpers.classPrivateFieldDestructureSet(this, _arr2).value of [1, 2]) {
;
}
for (babelHelpers.classPrivateFieldDestructureSet(this, _arr2).value of [1, 2]);
}
}]);
return E;
Expand All @@ -75,9 +69,7 @@ var F = /*#__PURE__*/function () {
babelHelpers.createClass(F, [{
key: "g",
value: function g() {
for (babelHelpers.classPrivateFieldDestructureSet(this, _ar).value in [1, 2, 3]) {
;
}
for (babelHelpers.classPrivateFieldDestructureSet(this, _ar).value in [1, 2, 3]);
}
}]);
return F;
Expand Down
Expand Up @@ -6,15 +6,13 @@ var Example = /*#__PURE__*/function () {
_proto.test1 = /*#__PURE__*/function () {
var _test = 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 Promise.resolve(2);
case 2:
case "end":
return _context.stop();
}
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return Promise.resolve(2);
case 2:
case "end":
return _context.stop();
}
}, _callee);
}));
Expand All @@ -25,15 +23,13 @@ var Example = /*#__PURE__*/function () {
}();
_proto.test2 = /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function test2() {
return babelHelpers.regeneratorRuntime().wrap(function test2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return 3;
case 2:
case "end":
return _context2.stop();
}
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return 3;
case 2:
case "end":
return _context2.stop();
}
}, test2);
});
Expand Down
Expand Up @@ -20,7 +20,7 @@ var Foo = /*#__PURE__*/function (_Base) {
babelHelpers.classCallCheck(this, Foo);
_this = _super.call(this);
if (true) {
var _Foo2;
var _Foo;
babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Foo.prototype)), "method", _thisSuper).call(_thisSuper);
}
return _this;
Expand Down
@@ -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;);
@@ -1,12 +1,12 @@
function somethingAdvanced(_ref, p2, p3) {
var _ref$topLeft = _ref.topLeft;
_ref$topLeft = _ref$topLeft === void 0 ? {} : _ref$topLeft;
var x1 = _ref$topLeft.x,
y1 = _ref$topLeft.y,
_ref$bottomRight = _ref.bottomRight;
_ref$bottomRight = _ref$bottomRight === void 0 ? {} : _ref$bottomRight;
var x2 = _ref$bottomRight.x,
y2 = _ref$bottomRight.y;
var _ref$topLeft = _ref.topLeft,
_ref$topLeft2 = _ref$topLeft === void 0 ? {} : _ref$topLeft,
x1 = _ref$topLeft2.x,
y1 = _ref$topLeft2.y,
_ref$bottomRight = _ref.bottomRight,
_ref$bottomRight2 = _ref$bottomRight === void 0 ? {} : _ref$bottomRight,
x2 = _ref$bottomRight2.x,
y2 = _ref$bottomRight2.y;
}
function unpackObject(_ref2) {
var title = _ref2.title,
Expand Down
Expand Up @@ -122,7 +122,6 @@ function forOf() {
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
rest[0] = _step.value;
;
}
} catch (err) {
_iterator.e(err);
Expand Down

Large diffs are not rendered by default.

@@ -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);
}));
@@ -1,15 +1,13 @@
var _Symbol$iterator = babelHelpers.defineProperty({}, Symbol.iterator, /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() {
return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
return _context.delegateYield(babelHelpers.defineProperty({}, Symbol.iterator, function (x) {
return [];
}), "t0", 1);
case 1:
case "end":
return _context.stop();
}
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.delegateYield(babelHelpers.defineProperty({}, Symbol.iterator, function (x) {
return [];
}), "t0", 1);
case 1:
case "end":
return _context.stop();
}
}, _callee);
})),
Expand Down
Expand Up @@ -2,14 +2,12 @@ function test(fn) {
return /*#__PURE__*/babelHelpers.asyncToGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() {
var _args = arguments;
return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", fn.apply(void 0, _args));
case 1:
case "end":
return _context.stop();
}
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", fn.apply(void 0, _args));
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
Expand Down
Expand Up @@ -8,18 +8,16 @@ var _marked = /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(_callee);
function _callee() {
var x;
return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return 5;
case 2:
x = _context.sent;
return _context.abrupt("return", 5);
case 4:
case "end":
return _context.stop();
}
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return 5;
case 2:
x = _context.sent;
return _context.abrupt("return", 5);
case 4:
case "end":
return _context.stop();
}
}, _marked);
}
Expand Up @@ -2,12 +2,10 @@ var _marked = /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(fn);
Object.keys({});
function fn() {
return babelHelpers.regeneratorRuntime().wrap(function fn$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
case "end":
return _context.stop();
}
while (1) switch (_context.prev = _context.next) {
case 0:
case "end":
return _context.stop();
}
}, _marked);
}

0 comments on commit 7fb5351

Please sign in to comment.