Skip newlines around inline #__PURE__ annotations (#11133)

* Skip newlines around #__PURE__ annotations

* Update tests
This commit is contained in:
Nicolò Ribaudo
2020-02-13 19:16:33 +01:00
committed by GitHub
parent 3c6a8ae200
commit d21e2217d5
274 changed files with 382 additions and 1072 deletions

View File

@@ -4,9 +4,7 @@ let A = function A() {
console.log('a');
};
let B =
/*#__PURE__*/
function () {
let B = /*#__PURE__*/function () {
"use strict";
function B() {}

View File

@@ -6,9 +6,7 @@ let B = function B() {
"use strict";
};
let A =
/*#__PURE__*/
function (_B) {
let A = /*#__PURE__*/function (_B) {
"use strict";
_inheritsLoose(A, _B);