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

25 lines
355 B
JavaScript

function b() {
var _this = this;
var t = function (x) {
return _this.x + x;
};
}
class Foo extends function () {} {
constructor() {
var _this2;
var foo = function () {
return _this2;
};
if (true) {
console.log(_this2 = super(), foo());
} else {
_this2 = super();
console.log(foo());
}
}
}