Skip newlines around inline #__PURE__ annotations (#11133)
* Skip newlines around #__PURE__ annotations * Update tests
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
|
||||
import _Symbol from "@babel/runtime-corejs3/core-js-stable/symbol";
|
||||
|
||||
var _marked =
|
||||
/*#__PURE__*/
|
||||
_regeneratorRuntime.mark(giveWord);
|
||||
var _marked = /*#__PURE__*/_regeneratorRuntime.mark(giveWord);
|
||||
|
||||
import foo, * as bar from "someModule";
|
||||
export const myWord = _Symbol("abc");
|
||||
|
||||
@@ -8,9 +8,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpe
|
||||
|
||||
var _foo = _interopRequireDefault(require("foo"));
|
||||
|
||||
let Example =
|
||||
/*#__PURE__*/
|
||||
function () {
|
||||
let Example = /*#__PURE__*/function () {
|
||||
function Example() {
|
||||
(0, _classCallCheck2.default)(this, Example);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
var _regeneratorRuntime = require("@babel/runtime-corejs3/regenerator");
|
||||
|
||||
void
|
||||
/*#__PURE__*/
|
||||
_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:
|
||||
|
||||
Reference in New Issue
Block a user