Nicolò Ribaudo d0a965b71f
Throw when compiling spread in super() but not classes (#12722)
* Throw when compiling spread in `super()` but not classes

* Add comment
2021-02-01 20:16:10 +01:00

15 lines
304 B
JavaScript

let A = /*#__PURE__*/function (_B) {
"use strict";
babelHelpers.inherits(A, _B);
var _super = babelHelpers.createSuper(A);
function A() {
babelHelpers.classCallCheck(this, A);
return _super.call.apply(_super, [this].concat(babelHelpers.toConsumableArray(foo)));
}
return A;
}(B);