Fix non-unique 'ref' binding name - fixes T7468
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
var concat = function () {
|
||||
var ref = babelHelpers.asyncToGenerator(function* () {
|
||||
var _ref = babelHelpers.asyncToGenerator(function* () {
|
||||
var x = arguments.length <= 0 ? undefined : arguments[0];
|
||||
var y = arguments.length <= 1 ? undefined : arguments[1];
|
||||
});
|
||||
|
||||
return function concat() {
|
||||
return ref.apply(this, arguments);
|
||||
return _ref.apply(this, arguments);
|
||||
};
|
||||
}();
|
||||
|
||||
var x = function () {
|
||||
var ref = babelHelpers.asyncToGenerator(function* () {
|
||||
var _ref2 = babelHelpers.asyncToGenerator(function* () {
|
||||
for (var _len = arguments.length, rest = Array(_len), _key = 0; _key < _len; _key++) {
|
||||
rest[_key] = arguments[_key];
|
||||
}
|
||||
@@ -17,7 +18,8 @@ var x = function () {
|
||||
if (noNeedToWork) return 0;
|
||||
return rest;
|
||||
});
|
||||
|
||||
return function x() {
|
||||
return ref.apply(this, arguments);
|
||||
return _ref2.apply(this, arguments);
|
||||
};
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user