Merge pull request #6111 from modosc/update-regenerator

Update regenerator
This commit is contained in:
Henry Zhu
2017-08-16 10:14:19 -04:00
parent f4716dc816
commit 7b30f77954
11 changed files with 18 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
import _regeneratorRuntime from "foo/regenerator";
import _Symbol from "foo/core-js/symbol";
var _marked = [giveWord].map(_regeneratorRuntime.mark);
var _marked = /*#__PURE__*/_regeneratorRuntime.mark(giveWord);
import foo, * as bar from "someModule";
@@ -17,7 +17,7 @@ export function giveWord() {
case "end":
return _context.stop();
}
}, _marked[0], this);
}, _marked, this);
}
foo;

View File

@@ -1,7 +1,7 @@
import _regeneratorRuntime from "babel-runtime/regenerator";
import _Symbol from "babel-runtime/core-js/symbol";
var _marked = [giveWord].map(_regeneratorRuntime.mark);
var _marked = /*#__PURE__*/_regeneratorRuntime.mark(giveWord);
import foo, * as bar from "someModule";
@@ -17,7 +17,7 @@ export function giveWord() {
case "end":
return _context.stop();
}
}, _marked[0], this);
}, _marked, this);
}
foo;

View File

@@ -1,5 +1,5 @@
import _regeneratorRuntime from "babel-runtime/regenerator";
void _regeneratorRuntime.mark(function _callee() {
void /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
return _regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0: