Daniel Tschinder b3372a572d Remove whitespace generation (#5833)
* Remove whitespace generation and rely on default printing

Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines

* Fix a few more fixtures
2017-06-27 21:57:02 -05:00

22 lines
548 B
JavaScript

import _regeneratorRuntime from "foo/regenerator";
import _Symbol from "foo/core-js/symbol";
var _marked = [giveWord].map(_regeneratorRuntime.mark);
import foo, * as bar from "someModule";
export const myWord = _Symbol("abc");
export function giveWord() {
return _regeneratorRuntime.wrap(function giveWord$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return myWord;
case 2:
case "end":
return _context.stop();
}
}, _marked[0], this);
}
foo;
bar;