Add /*#__PURE__*/ annotatiotion for babel-plugin-async-to-generator. Fixes #6572

This commit is contained in:
Satyajit Sahoo
2017-11-12 17:11:00 +05:30
parent 25bde88dff
commit 7ae6e1e5a0
48 changed files with 226 additions and 57 deletions

View File

@@ -1,4 +1,6 @@
var concat = function () {
var concat =
/*#__PURE__*/
function () {
var _ref = babelHelpers.asyncToGenerator(function* () {
var x = arguments.length <= 0 ? undefined : arguments[0];
var y = arguments.length <= 1 ? undefined : arguments[1];
@@ -9,7 +11,9 @@ var concat = function () {
};
}();
var x = function () {
var x =
/*#__PURE__*/
function () {
var _ref2 = babelHelpers.asyncToGenerator(function* () {
if (noNeedToWork) return 0;