Requeue generators for re-traversal so we pick up regeneratorRuntime - fixes T6676

This commit is contained in:
Logan Smyth
2015-12-13 16:15:02 -08:00
parent 9c88b8797e
commit ee6f470d77
3 changed files with 18 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ import foo, * as bar from "someModule";
export const myWord = _Symbol("abc");
export function giveWord() {
return regeneratorRuntime.wrap(function giveWord$(_context) {
return _regeneratorRuntime.wrap(function giveWord$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;