mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 09:38:16 +03:00
perf(es/utils): Rewrite inject_after_super (#9496)
This commit is contained in:
parent
4b85a92170
commit
c562cfa8af
5
.changeset/ten-candles-fly.md
Normal file
5
.changeset/ten-candles-fly.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
swc_ecma_utils: patch
|
||||
---
|
||||
|
||||
perf(es/utils): Rewrite inject_after_super
|
@ -347,36 +347,28 @@ class Shard extends _utils.Emitter {
|
||||
* @param {ShardManager} manager The shard manager.
|
||||
* @param {number} id The ID of this shard.
|
||||
*/ constructor(manager, id){
|
||||
super();
|
||||
_class_private_field_init._(this, _serialization1, {
|
||||
super(), _class_private_field_init._(this, _serialization1, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _compression1, {
|
||||
}), _class_private_field_init._(this, _compression1, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _seq, {
|
||||
}), _class_private_field_init._(this, _seq, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _closingSeq, {
|
||||
}), _class_private_field_init._(this, _closingSeq, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _bucket, {
|
||||
}), _class_private_field_init._(this, _bucket, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _presenceBucket, {
|
||||
}), _class_private_field_init._(this, _presenceBucket, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _ws1, {
|
||||
}), _class_private_field_init._(this, _ws1, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
_class_private_field_init._(this, _queue, {
|
||||
}), _class_private_field_init._(this, _queue, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
|
@ -11,9 +11,7 @@ Object.defineProperty(exports, "ServiceError", {
|
||||
const _define_property = require("@swc/helpers/_/_define_property");
|
||||
class ServiceError extends Error {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property._(this, "code", ServiceError.Code.badResponse);
|
||||
_define_property._(this, "name", "ServiceError.BadResponse");
|
||||
super(...args), _define_property._(this, "code", ServiceError.Code.badResponse), _define_property._(this, "name", "ServiceError.BadResponse");
|
||||
}
|
||||
}
|
||||
(function(ServiceError) {
|
||||
@ -29,10 +27,8 @@ class ServiceError extends Error {
|
||||
})(Code = ServiceError.Code || (ServiceError.Code = {}));
|
||||
class ServiceNotFound extends ServiceError {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
// Service was probably not registered, or using the wrong channel
|
||||
_define_property._(this, "code", 404);
|
||||
_define_property._(this, "name", "ServiceError.ServiceNotFound");
|
||||
super(...args), // Service was probably not registered, or using the wrong channel
|
||||
_define_property._(this, "code", 404), _define_property._(this, "name", "ServiceError.ServiceNotFound");
|
||||
}
|
||||
}
|
||||
ServiceError.ServiceNotFound = ServiceNotFound;
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
var _define_property = require("@swc/helpers/_/_define_property");
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property._(this, "input", this.props.item);
|
||||
super(props), _define_property._(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -81,11 +81,9 @@ class ReusablePayments extends PureComponent {
|
||||
})));
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property(this, "handleSelectPayment", (selected)=>{
|
||||
super(...args), _define_property(this, "handleSelectPayment", (selected)=>{
|
||||
return this.props.onChange(selected);
|
||||
});
|
||||
_define_property(this, "handleDeletePaymentSource", (id, deletePaymentSource)=>{
|
||||
}), _define_property(this, "handleDeletePaymentSource", (id, deletePaymentSource)=>{
|
||||
var _this_props = this.props, selectedReusablePayment = _this_props.selectedReusablePayment, onChange = _this_props.onChange;
|
||||
if (onChange && selectedReusablePayment && selectedReusablePayment.id === id) {
|
||||
this.setDefaultReusablePayment(selectedReusablePayment);
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"mappings": ";AAAA,SAASA,IAAI,EAAEC,GAAG,EAAEC,UAAU,QAAQ,MAAM;AAE5C,OAAO,MAAMC,YAAYD;IAkBrBE,SAAS;QACL,OAAOJ,IAAI,CAAC,UAAU,EAAE,IAAI,CAACK,IAAI,CAAC,KAAK,CAAC;IAC5C;IAPAC,aAAc;QACV,KAAK;QAbTD,uBAAAA,QAAAA,KAAAA;QAcI,IAAI,CAACA,IAAI,GAAG;IAChB;AAKJ;AAlBI,iBAHSF,KAGFI,UAASN,GAAG,CAAC;;;;IAIpB,CAAC;AAED,iBATSE,KASFK,cAAa;IAChBH,MAAM;QAAEI,MAAMC;IAAO;AACzB;AAWJC,eAAeC,MAAM,CAAC,OAAOT",
|
||||
"mappings": ";AAAA,SAASA,IAAI,EAAEC,GAAG,EAAEC,UAAU,QAAQ,MAAM;AAE5C,OAAO,MAAMC,YAAYD;IAkBrBE,SAAS;QACL,OAAOJ,IAAI,CAAC,UAAU,EAAE,IAAI,CAACK,IAAI,CAAC,KAAK,CAAC;IAC5C;IAPAC,aAAc;QACV,KAAK,IAbTD,uBAAAA,QAAAA,KAAAA;QAcI,IAAI,CAACA,IAAI,GAAG;IAChB;AAKJ;AAlBI,iBAHSF,KAGFI,UAASN,GAAG,CAAC;;;;IAIpB,CAAC;AAED,iBATSE,KASFK,cAAa;IAChBH,MAAM;QAAEI,MAAMC;IAAO;AACzB;AAWJC,eAAeC,MAAM,CAAC,OAAOT",
|
||||
"names": [
|
||||
"html",
|
||||
"css",
|
||||
|
@ -5,8 +5,7 @@ export class App extends LitElement {
|
||||
return html`<p>Hello, ${this.name}!</p>`;
|
||||
}
|
||||
constructor(){
|
||||
super();
|
||||
_define_property(this, "name", void 0);
|
||||
super(), _define_property(this, "name", void 0);
|
||||
this.name = "Somebody";
|
||||
}
|
||||
}
|
||||
|
@ -20,8 +20,7 @@ define([
|
||||
class _class extends Controller {
|
||||
onChange() {}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property._(this, "isTest", false);
|
||||
super(...args), _define_property._(this, "isTest", false);
|
||||
}
|
||||
}
|
||||
_ts_decorate._([
|
||||
|
@ -40,8 +40,7 @@ define([
|
||||
return new FileSystemError(messageOrUri, FileSystemProviderErrorCode.Unavailable, FileSystemError.Unavailable);
|
||||
}
|
||||
constructor(uriOrMessage, code = FileSystemProviderErrorCode.Unknown, terminator){
|
||||
super(URI.isUri(uriOrMessage) ? uriOrMessage.toString(true) : uriOrMessage);
|
||||
_define_property._(this, "code", void 0);
|
||||
super(URI.isUri(uriOrMessage) ? uriOrMessage.toString(true) : uriOrMessage), _define_property._(this, "code", void 0);
|
||||
this.code = terminator?.name ?? 'Unknown';
|
||||
markAsFileSystemProviderError(this, code);
|
||||
if (typeof Object.setPrototypeOf === 'function') {
|
||||
|
@ -16,8 +16,7 @@ class Sub extends Base {
|
||||
return _class_private_method_get._(this, _privateMethod, privateMethod).call(this);
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_method_init._(this, _privateMethod);
|
||||
super(...args), _class_private_method_init._(this, _privateMethod);
|
||||
}
|
||||
}
|
||||
function privateMethod() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"mappings": ";;;;;;;;;;;IA6BaA,MAAM;eAANA;;IAMAC,MAAM;eAANA;;IARDC,IAAI;;;IAKHC,MAAM;eAANA;;IAaAC,GAAG;eAAHA;;IARAC,MAAM;eAANA;;IAKAC,OAAO;eAAPA;;IATAC,KAAK;eAALA;;IAHAC,QAAQ;eAARA;;;;;;;;kCA9BuC;8BACJ;gCAC1B;2FAwBR;AAGP,MAAMR,SAAqC,IAAM,IAAIS;AACrD,MAAMD,WAA2C,IACpD,IAAIE;AACD,MAAMP,SAAuC,IAAM,IAAIQ;AACvD,MAAMJ,QAAyC,IAClD,IAAIK;AACD,MAAMX,SAA2C,IACpD,IAAIY;AACD,MAAMR,SAGT,CAACS,QAAkC,EAAE,GACrC,IAAIC,wBAAwBD;AACzB,MAAMR,UAAgD,IACzD,IAAIU;AAED,MAAMZ,MAAM;IACfG,OAAQ,IACJ,IAAIU;IACRZ,QAAS,IACL,IAAIa;AACZ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I,iCAAe;IAQ9CL,MAAM,GAAGA,KAA+B,EAAQ;QAC5C,2BAAA,IAAI,EAAC,cAAYA,KAAK,CAAC;YAACA;SAAM;QAC9B,OAAO,IAAI;IACf;IAEAW,QAAuB;QACnB,OAAO,2BAAA,IAAI,EAAC,cAAYA,KAAK;IACjC;IAZAgB,YAAY,GAAG3B,KAA+B,CAAE;QAC5C,KAAK,IAHT,kCAAA;;mBAAuC,IAAII;;QAIvC,IAAI,CAACJ,KAAK,IAAIA;IAClB;AAUJ;IAGI,uCACA;AAFJ,MAAME,8BAA8BG,iCAAe;IAI/CL,MAAM,GAAGA,KAA+B,EAAQ;yCACvC,SAASA,MAAMO,GAAG,CAACC,yBAAW;QACnC,OAAO,IAAI;IACf;IAEAK,OAAO,GAAGA,MAAgC,EAAQ;yCACzC,UAAUA,OAAON,GAAG,CAACC,yBAAW;QACrC,OAAO,IAAI;IACf;IAEAG,QAAwB;QACpB,OAAO;YACHX,KAAK,6BAAE,IAAI,EAAC;YACZa,MAAM,6BAAE,IAAI,EAAC;QACjB;IACJ;;wBAlBA,kCAAA;;mBAA0B,EAAE;YAC5B,kCAAA;;mBAA2B,EAAE;;;AAkBjC",
|
||||
"names": [
|
||||
"create",
|
||||
"header",
|
||||
|
@ -84,20 +84,16 @@ class BodyBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _stages, {
|
||||
super(...args), _class_private_field_init._(this, _stages, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
_class_private_field_init._(this, _trustBox, {
|
||||
}), _class_private_field_init._(this, _trustBox, {
|
||||
writable: true,
|
||||
value: undefined
|
||||
});
|
||||
_class_private_field_init._(this, _disclaimer, {
|
||||
}), _class_private_field_init._(this, _disclaimer, {
|
||||
writable: true,
|
||||
value: undefined
|
||||
});
|
||||
_class_private_field_init._(this, _articleSources, {
|
||||
}), _class_private_field_init._(this, _articleSources, {
|
||||
writable: true,
|
||||
value: undefined
|
||||
});
|
||||
@ -120,12 +116,10 @@ class TrustBoxBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _nodes, {
|
||||
super(...args), _class_private_field_init._(this, _nodes, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
_class_private_field_init._(this, _hidden, {
|
||||
}), _class_private_field_init._(this, _hidden, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
@ -143,8 +137,7 @@ class OpenerBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _element, {
|
||||
super(...args), _class_private_field_init._(this, _element, {
|
||||
writable: true,
|
||||
value: (0, _ElementBuilder.image)().build()
|
||||
});
|
||||
@ -178,20 +171,16 @@ class BodyStageSeqBuilder extends _AbstractBuilders.AbstractSeqBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _nodes1, {
|
||||
super(...args), _class_private_field_init._(this, _nodes1, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
_class_private_field_init._(this, _header, {
|
||||
}), _class_private_field_init._(this, _header, {
|
||||
writable: true,
|
||||
value: undefined
|
||||
});
|
||||
_class_private_field_init._(this, _companions, {
|
||||
}), _class_private_field_init._(this, _companions, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
_class_private_field_init._(this, _commercialsEndOfStage, {
|
||||
}), _class_private_field_init._(this, _commercialsEndOfStage, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
@ -229,8 +218,7 @@ class BodyStageBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
return _class_private_field_get._(this, _seqBuilder).build();
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _seqBuilder, {
|
||||
super(...args), _class_private_field_init._(this, _seqBuilder, {
|
||||
writable: true,
|
||||
value: new BodyStageSeqBuilder()
|
||||
});
|
||||
@ -253,12 +241,10 @@ class BodyHeaderBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _variant, {
|
||||
super(...args), _class_private_field_init._(this, _variant, {
|
||||
writable: true,
|
||||
value: "full"
|
||||
});
|
||||
_class_private_field_init._(this, _opener, {
|
||||
}), _class_private_field_init._(this, _opener, {
|
||||
writable: true,
|
||||
value: undefined
|
||||
});
|
||||
@ -278,8 +264,7 @@ class ArticleSourceSeqBuilder extends _AbstractBuilders.AbstractSeqBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _nodes2, {
|
||||
super(...args), _class_private_field_init._(this, _nodes2, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
@ -297,8 +282,7 @@ class ArticleSourceBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
return _class_private_field_get._(this, _seqBuilder1).build();
|
||||
}
|
||||
constructor(...nodes){
|
||||
super();
|
||||
_class_private_field_init._(this, _seqBuilder1, {
|
||||
super(), _class_private_field_init._(this, _seqBuilder1, {
|
||||
writable: true,
|
||||
value: new ArticleSourceSeqBuilder()
|
||||
});
|
||||
@ -322,12 +306,10 @@ class ArticleSourcesBuilder extends _AbstractBuilders.AbstractBuilder {
|
||||
};
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init._(this, _nodes3, {
|
||||
super(...args), _class_private_field_init._(this, _nodes3, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
_class_private_field_init._(this, _hidden1, {
|
||||
}), _class_private_field_init._(this, _hidden1, {
|
||||
writable: true,
|
||||
value: []
|
||||
});
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,8 +7,7 @@ class A {
|
||||
}
|
||||
class B extends A {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property(this, "x", 'B.x');
|
||||
super(...args), _define_property(this, "x", 'B.x');
|
||||
}
|
||||
}
|
||||
class C extends A {
|
||||
|
@ -22,7 +22,6 @@ class D extends C {
|
||||
this._secret = value;
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this._secret = 11;
|
||||
super(...args), this._secret = 11;
|
||||
}
|
||||
}
|
||||
|
@ -34,8 +34,7 @@ var D1 = /*#__PURE__*/ function(C1) {
|
||||
function D1() {
|
||||
_class_call_check(this, D1);
|
||||
var _this;
|
||||
_this = _call_super(this, D1, arguments);
|
||||
_this.i = "bar";
|
||||
_this = _call_super(this, D1, arguments), _this.i = "bar";
|
||||
return _this;
|
||||
}
|
||||
return D1;
|
||||
|
@ -89,8 +89,7 @@ var Conestoga = /*#__PURE__*/ function(Wagon1) {
|
||||
// error: wrong type
|
||||
_this = _call_super(this, Conestoga, [
|
||||
'nope'
|
||||
]);
|
||||
_this.drunkOO = drunkOO;
|
||||
]), _this.drunkOO = drunkOO;
|
||||
return _this;
|
||||
}
|
||||
// should error since others is not optional
|
||||
|
@ -49,8 +49,7 @@ var DerivedA = /*#__PURE__*/ function(BaseA1) {
|
||||
var _this;
|
||||
_this = _call_super(this, DerivedA, [
|
||||
x
|
||||
]);
|
||||
_this.x = x;
|
||||
]), _this.x = x;
|
||||
return _this;
|
||||
}
|
||||
var _proto = DerivedA.prototype;
|
||||
@ -73,8 +72,7 @@ var DerivedB = /*#__PURE__*/ function(BaseB1) {
|
||||
var _this;
|
||||
_this = _call_super(this, DerivedB, [
|
||||
x
|
||||
]);
|
||||
_this.x = x;
|
||||
]), _this.x = x;
|
||||
return _this;
|
||||
}
|
||||
var _proto = DerivedB.prototype;
|
||||
@ -99,8 +97,7 @@ var DerivedC = /*#__PURE__*/ function(BaseC1) {
|
||||
var _this;
|
||||
_this = _call_super(this, DerivedC, [
|
||||
x
|
||||
]);
|
||||
_this.x = x;
|
||||
]), _this.x = x;
|
||||
return _this;
|
||||
}
|
||||
var _proto = DerivedC.prototype;
|
||||
|
@ -15,8 +15,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, [
|
||||
p
|
||||
]);
|
||||
_this.p = p;
|
||||
]), _this.p = p;
|
||||
_this.p; // OK
|
||||
return _this;
|
||||
}
|
||||
|
@ -8,8 +8,7 @@ var C = /*#__PURE__*/ function(_superClass) {
|
||||
function C() {
|
||||
_class_call_check(this, C);
|
||||
var _this;
|
||||
_this = _call_super(this, C, arguments);
|
||||
_this.c = 3;
|
||||
_this = _call_super(this, C, arguments), _this.c = 3;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
@ -19,8 +18,7 @@ var C = /*#__PURE__*/ function(_superClass) {
|
||||
function _class() {
|
||||
_class_call_check(this, _class);
|
||||
var _this;
|
||||
_this = _call_super(this, _class, arguments);
|
||||
_this.b = 2;
|
||||
_this = _call_super(this, _class, arguments), _this.b = 2;
|
||||
return _this;
|
||||
}
|
||||
return _class;
|
||||
|
@ -5,13 +5,11 @@ let C = class extends class extends class {
|
||||
}
|
||||
} {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.b = 2;
|
||||
super(...args), this.b = 2;
|
||||
}
|
||||
} {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.c = 3;
|
||||
super(...args), this.c = 3;
|
||||
}
|
||||
};
|
||||
let c = new C();
|
||||
|
@ -26,8 +26,7 @@ var C3 = /*#__PURE__*/ function(_superClass) {
|
||||
function C3() {
|
||||
_class_call_check(this, C3);
|
||||
var _this;
|
||||
_this = _call_super(this, C3, arguments);
|
||||
_this.x = 1;
|
||||
_this = _call_super(this, C3, arguments), _this.x = 1;
|
||||
return _this;
|
||||
}
|
||||
return C3;
|
||||
@ -38,8 +37,7 @@ var C4 = /*#__PURE__*/ function(_superClass) {
|
||||
function C4() {
|
||||
_class_call_check(this, C4);
|
||||
var _this;
|
||||
_this = _call_super(this, C4, arguments);
|
||||
_this.x = 1;
|
||||
_this = _call_super(this, C4, arguments), _this.x = 1;
|
||||
return _this;
|
||||
}
|
||||
return C4;
|
||||
|
@ -43,13 +43,7 @@ var C = /*#__PURE__*/ function(B) {
|
||||
function C(ka) {
|
||||
_class_call_check(this, C);
|
||||
var _this;
|
||||
_this = _call_super(this, C);
|
||||
_define_property(_this, "ka", void 0);
|
||||
_define_property(_this, "z", void 0);
|
||||
_define_property(_this, "ki", void 0);
|
||||
_this.ka = ka;
|
||||
_this.z = _this.ka;
|
||||
_this.ki = _this.ka;
|
||||
_this = _call_super(this, C), _define_property(_this, "ka", void 0), _define_property(_this, "z", void 0), _define_property(_this, "ki", void 0), _this.ka = ka, _this.z = _this.ka, _this.ki = _this.ka;
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
|
@ -25,10 +25,7 @@ class C extends B {
|
||||
ka;
|
||||
z;
|
||||
constructor(ka){
|
||||
super();
|
||||
this.ka = ka;
|
||||
this.z = this.ka;
|
||||
this.ki = this.ka;
|
||||
super(), this.ka = ka, this.z = this.ka, this.ki = this.ka;
|
||||
}
|
||||
ki;
|
||||
}
|
||||
|
@ -14,9 +14,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
function Derived() {
|
||||
_class_call_check(this, Derived);
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, arguments);
|
||||
_this.x = 1;
|
||||
_this.y = 'hello';
|
||||
_this = _call_super(this, Derived, arguments), _this.x = 1, _this.y = 'hello';
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
@ -34,9 +32,7 @@ var D = /*#__PURE__*/ function(Base2) {
|
||||
function D() {
|
||||
_class_call_check(this, D);
|
||||
var _this;
|
||||
_this = _call_super(this, D, arguments);
|
||||
_this.x = 2;
|
||||
_this.y = null;
|
||||
_this = _call_super(this, D, arguments), _this.x = 2, _this.y = null;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
|
@ -14,9 +14,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
function Derived() {
|
||||
_class_call_check(this, Derived);
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, arguments);
|
||||
_this.x = 1;
|
||||
_this.y = 'hello';
|
||||
_this = _call_super(this, Derived, arguments), _this.x = 1, _this.y = 'hello';
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
@ -36,9 +34,7 @@ var D = /*#__PURE__*/ function(Base2) {
|
||||
function D() {
|
||||
_class_call_check(this, D);
|
||||
var _this;
|
||||
_this = _call_super(this, D, arguments);
|
||||
_this.x = 2;
|
||||
_this.y = null;
|
||||
_this = _call_super(this, D, arguments), _this.x = 2, _this.y = null;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
|
@ -17,8 +17,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, [
|
||||
2
|
||||
]);
|
||||
_this.b = '';
|
||||
]), _this.b = '';
|
||||
_this.b = y;
|
||||
return _this;
|
||||
}
|
||||
@ -30,9 +29,7 @@ var Derived2 = /*#__PURE__*/ function(Derived) {
|
||||
function Derived2() {
|
||||
_class_call_check(this, Derived2);
|
||||
var _this;
|
||||
_this = _call_super(this, Derived2, arguments);
|
||||
_this.x = 1;
|
||||
_this.y = 'hello';
|
||||
_this = _call_super(this, Derived2, arguments), _this.x = 1, _this.y = 'hello';
|
||||
return _this;
|
||||
}
|
||||
return Derived2;
|
||||
@ -53,8 +50,7 @@ var D = /*#__PURE__*/ function(Base) {
|
||||
var _this;
|
||||
_this = _call_super(this, D, [
|
||||
2
|
||||
]);
|
||||
_this.b = null;
|
||||
]), _this.b = null;
|
||||
_this.b = y;
|
||||
return _this;
|
||||
}
|
||||
@ -66,9 +62,7 @@ var D2 = /*#__PURE__*/ function(D) {
|
||||
function D2() {
|
||||
_class_call_check(this, D2);
|
||||
var _this;
|
||||
_this = _call_super(this, D2, arguments);
|
||||
_this.x = 2;
|
||||
_this.y = null;
|
||||
_this = _call_super(this, D2, arguments), _this.x = 2, _this.y = null;
|
||||
return _this;
|
||||
}
|
||||
return D2;
|
||||
|
@ -12,14 +12,12 @@ class D {
|
||||
}
|
||||
class E extends D {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.z = true;
|
||||
super(...args), this.z = true;
|
||||
}
|
||||
}
|
||||
class F extends D {
|
||||
constructor(){
|
||||
super();
|
||||
this.z = true;
|
||||
super(), this.z = true;
|
||||
this.j = "HI";
|
||||
}
|
||||
}
|
||||
|
@ -5,17 +5,14 @@ class Sub extends Base {
|
||||
// @ts-ignore
|
||||
constructor(p){
|
||||
console.log('hi'); // should emit before super
|
||||
super();
|
||||
this.p = p;
|
||||
this.field = 0;
|
||||
super(), this.p = p, this.field = 0;
|
||||
}
|
||||
}
|
||||
class Test extends Base {
|
||||
// @ts-ignore
|
||||
constructor(p){
|
||||
1; // should emit before super
|
||||
super();
|
||||
this.p = p;
|
||||
super(), this.p = p;
|
||||
this.prop = 1;
|
||||
}
|
||||
}
|
||||
|
@ -6,21 +6,14 @@ class Sub extends Base {
|
||||
// @ts-ignore
|
||||
constructor(p){
|
||||
console.log('hi');
|
||||
super();
|
||||
_define_property(this, "p", void 0);
|
||||
_define_property(this, "field", void 0);
|
||||
this.p = p;
|
||||
this.field = 0;
|
||||
super(), _define_property(this, "p", void 0), _define_property(this, "field", void 0), this.p = p, this.field = 0;
|
||||
}
|
||||
}
|
||||
class Test extends Base {
|
||||
// @ts-ignore
|
||||
constructor(p){
|
||||
1;
|
||||
super();
|
||||
_define_property(this, "p", void 0);
|
||||
_define_property(this, "prop", void 0);
|
||||
this.p = p;
|
||||
super(), _define_property(this, "p", void 0), _define_property(this, "prop", void 0), this.p = p;
|
||||
this.prop = 1;
|
||||
}
|
||||
}
|
||||
|
@ -27,8 +27,7 @@ var Bar = /*#__PURE__*/ function(Fab) {
|
||||
function Bar() {
|
||||
_class_call_check(this, Bar);
|
||||
var _this;
|
||||
_this = _call_super(this, Bar, arguments);
|
||||
_this.x = /** @type {Bar} */ null;
|
||||
_this = _call_super(this, Bar, arguments), _this.x = /** @type {Bar} */ null;
|
||||
return _this;
|
||||
}
|
||||
return Bar;
|
||||
|
@ -18,8 +18,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
_this = _call_super(this, Derived, [
|
||||
x,
|
||||
y
|
||||
]);
|
||||
_this.z = z;
|
||||
]), _this.z = z;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
|
@ -18,8 +18,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
_this = _call_super(this, Derived, [
|
||||
x,
|
||||
y
|
||||
]);
|
||||
_this.z = z;
|
||||
]), _this.z = z;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
@ -101,8 +100,7 @@ var Timestamped = function(Base) {
|
||||
function _class() {
|
||||
_class_call_check(this, _class);
|
||||
var _this;
|
||||
_this = _call_super(this, _class, arguments);
|
||||
_this.timestamp = new Date();
|
||||
_this = _call_super(this, _class, arguments), _this.timestamp = new Date();
|
||||
return _this;
|
||||
}
|
||||
return _class;
|
||||
|
@ -53,8 +53,7 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
function Derived() {
|
||||
_class_call_check(this, Derived);
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, arguments);
|
||||
_this.a = 1;
|
||||
_this = _call_super(this, Derived, arguments), _this.a = 1;
|
||||
return _this;
|
||||
}
|
||||
var _proto = Derived.prototype;
|
||||
|
@ -9,9 +9,7 @@ class Foo {
|
||||
}
|
||||
class SubFoo extends Foo {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.property = 42;
|
||||
this.staticProperty = 42;
|
||||
super(...args), this.property = 42, this.staticProperty = 42;
|
||||
}
|
||||
}
|
||||
class StaticSubFoo extends Foo {
|
||||
@ -26,9 +24,7 @@ class Intermediate extends Foo {
|
||||
}
|
||||
class Derived extends Intermediate {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.property = 42;
|
||||
this.staticProperty = 42;
|
||||
super(...args), this.property = 42, this.staticProperty = 42;
|
||||
}
|
||||
}
|
||||
class StaticDerived extends Intermediate {
|
||||
|
@ -3,7 +3,6 @@ class A {
|
||||
}
|
||||
class B extends A {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.foo = "string";
|
||||
super(...args), this.foo = "string";
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ class A {
|
||||
}
|
||||
class B extends A {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.foo = "string";
|
||||
super(...args), this.foo = "string";
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ class A {
|
||||
}
|
||||
class B extends A {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property(this, "foo", "string");
|
||||
super(...args), _define_property(this, "foo", "string");
|
||||
}
|
||||
}
|
||||
|
@ -20,9 +20,7 @@ var D = /*#__PURE__*/ function(B) {
|
||||
function D() {
|
||||
_class_call_check(this, D);
|
||||
var _this;
|
||||
_this = _call_super(this, D, arguments);
|
||||
_this.p1 = 2;
|
||||
_this.p2 = 3;
|
||||
_this = _call_super(this, D, arguments), _this.p1 = 2, _this.p2 = 3;
|
||||
return _this;
|
||||
}
|
||||
var _proto = D.prototype;
|
||||
|
@ -18,10 +18,7 @@ var D = /*#__PURE__*/ function(B) {
|
||||
_this = _call_super(this, D, [
|
||||
foo,
|
||||
42
|
||||
]);
|
||||
_this.foo = foo;
|
||||
_this.baz = baz;
|
||||
_this.bar = 1;
|
||||
]), _this.foo = foo, _this.baz = baz, _this.bar = 1;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
|
@ -12,9 +12,7 @@ var D = /*#__PURE__*/ function(B) {
|
||||
function D(a, b) {
|
||||
_class_call_check(this, D);
|
||||
var _this;
|
||||
_this = _call_super(this, D);
|
||||
_this.a = a;
|
||||
_this.b = b;
|
||||
_this = _call_super(this, D), _this.a = a, _this.b = b;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
@ -32,8 +30,7 @@ var DD = /*#__PURE__*/ function(BB) {
|
||||
var _this;
|
||||
_this = _call_super(this, DD, [
|
||||
a
|
||||
]);
|
||||
_this.a = a;
|
||||
]), _this.a = a;
|
||||
return _this;
|
||||
}
|
||||
return DD;
|
||||
|
@ -7,7 +7,6 @@ class Sizz extends Mup {
|
||||
}
|
||||
class Kasizz extends Mup {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
this.size = -1;
|
||||
super(...args), this.size = -1;
|
||||
}
|
||||
}
|
||||
|
@ -6,8 +6,7 @@ var _x = /*#__PURE__*/ new WeakMap();
|
||||
class A extends B {
|
||||
constructor(){
|
||||
void 0;
|
||||
super();
|
||||
_class_private_field_init(this, _x, {
|
||||
super(), _class_private_field_init(this, _x, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
|
@ -14,8 +14,7 @@ class A {
|
||||
var _foo1 = /*#__PURE__*/ new WeakMap();
|
||||
class B extends A {
|
||||
constructor(){
|
||||
super();
|
||||
_class_private_field_init(this, _foo1, {
|
||||
super(), _class_private_field_init(this, _foo1, {
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
|
@ -25,16 +25,12 @@ var _bar = {
|
||||
var _foo1 = /*#__PURE__*/ new WeakMap(), _bar1 = /*#__PURE__*/ new WeakMap();
|
||||
class Child extends Parent {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init(this, _foo1, {
|
||||
super(...args), _class_private_field_init(this, _foo1, {
|
||||
writable: true,
|
||||
value: void 0 // OK (Child's #foo does not conflict, as `Parent`'s `#foo` is not accessible)
|
||||
});
|
||||
_class_private_field_init(this, _bar1, {
|
||||
}), _class_private_field_init(this, _bar1, {
|
||||
writable: true,
|
||||
value: void 0 // OK
|
||||
});
|
||||
_class_private_field_set(this, _foo1, "foo");
|
||||
_class_private_field_set(this, _bar1, "bar");
|
||||
}), _class_private_field_set(this, _foo1, "foo"), _class_private_field_set(this, _bar1, "bar");
|
||||
}
|
||||
}
|
||||
|
@ -25,17 +25,13 @@ var _bar = {
|
||||
var _foo1 = /*#__PURE__*/ new WeakMap(), _bar1 = /*#__PURE__*/ new WeakMap();
|
||||
class Child extends Parent {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_class_private_field_init(this, _foo1, {
|
||||
super(...args), _class_private_field_init(this, _foo1, {
|
||||
writable: true,
|
||||
value: void 0 // OK (Child's #foo does not conflict, as `Parent`'s `#foo` is not accessible)
|
||||
});
|
||||
_class_private_field_init(this, _bar1, {
|
||||
}), _class_private_field_init(this, _bar1, {
|
||||
writable: true,
|
||||
value: void 0 // OK
|
||||
});
|
||||
_class_private_field_set(this, _foo1, "foo");
|
||||
_class_private_field_set(this, _bar1, "bar");
|
||||
}), _class_private_field_set(this, _foo1, "foo"), _class_private_field_set(this, _bar1, "bar");
|
||||
}
|
||||
}
|
||||
new Parent().accessChildProps();
|
||||
|
@ -12,8 +12,7 @@ var Derived = /*#__PURE__*/ function(Base1) {
|
||||
function Derived() {
|
||||
_class_call_check(this, Derived);
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, arguments);
|
||||
_this.bing = function() {
|
||||
_this = _call_super(this, Derived, arguments), _this.bing = function() {
|
||||
return Base.foo;
|
||||
} // error
|
||||
;
|
||||
|
@ -7,8 +7,7 @@ class A {
|
||||
}
|
||||
class B extends A {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property(this, "p", 'yep' // error
|
||||
super(...args), _define_property(this, "p", 'yep' // error
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -25,8 +24,7 @@ class C {
|
||||
}
|
||||
class D extends C {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property(this, "p", 101 // error
|
||||
super(...args), _define_property(this, "p", 101 // error
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,7 @@ var Lion = /*#__PURE__*/ function(Animal1) {
|
||||
function Lion() {
|
||||
_class_call_check(this, Lion);
|
||||
var _this;
|
||||
_this = _call_super(this, Lion, arguments);
|
||||
_define_property(_this, "sound", 'RAWR!' // error here
|
||||
_this = _call_super(this, Lion, arguments), _define_property(_this, "sound", 'RAWR!' // error here
|
||||
);
|
||||
return _this;
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ class A {
|
||||
class B extends A {
|
||||
p;
|
||||
constructor(p){
|
||||
super();
|
||||
this.p = p;
|
||||
super(), this.p = p;
|
||||
}
|
||||
}
|
||||
|
@ -32,8 +32,7 @@ var C = /*#__PURE__*/ function(A) {
|
||||
var _this;
|
||||
_this = _call_super(this, C, [
|
||||
x
|
||||
]);
|
||||
_this.x = x;
|
||||
]), _this.x = x;
|
||||
_this.x = 1;
|
||||
return _this;
|
||||
}
|
||||
@ -54,8 +53,7 @@ var E = /*#__PURE__*/ function(D) {
|
||||
var _this;
|
||||
_this = _call_super(this, E, [
|
||||
x
|
||||
]);
|
||||
_this.x = x;
|
||||
]), _this.x = x;
|
||||
_this.x = 1;
|
||||
return _this;
|
||||
}
|
||||
|
@ -6,8 +6,6 @@ class Derived extends Base {
|
||||
a;
|
||||
b;
|
||||
constructor(a){
|
||||
super();
|
||||
this.a = a;
|
||||
this.b = this.a /*undefined*/ ;
|
||||
super(), this.a = a, this.b = this.a /*undefined*/ ;
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,5 @@ var C = function C() {
|
||||
var D = function D(x) {
|
||||
"use strict";
|
||||
_class_call_check(this, D);
|
||||
super(); // error
|
||||
this.x = x;
|
||||
super(), this.x = x; // error
|
||||
};
|
||||
|
@ -16,13 +16,14 @@ var Derived = /*#__PURE__*/ function(Base) {
|
||||
var _this;
|
||||
_this = _call_super(this, Derived, [
|
||||
''
|
||||
]);
|
||||
_this.q = q;
|
||||
var _temp;
|
||||
]), _this.q = q;
|
||||
//type of super call expression is void
|
||||
var p = (_temp = _this = _call_super(this, Derived, [
|
||||
''
|
||||
]), _this.q = q, _temp);
|
||||
var p = [
|
||||
_this = _call_super(this, Derived, [
|
||||
''
|
||||
]),
|
||||
_this.q = q
|
||||
][0];
|
||||
var p = v();
|
||||
return _this;
|
||||
}
|
||||
|
@ -8,11 +8,8 @@ import { _ as _set } from "@swc/helpers/_/_set";
|
||||
import { _ as _update } from "@swc/helpers/_/_update";
|
||||
class C extends B {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
// these should be unaffected
|
||||
_define_property(this, "x", 1);
|
||||
_define_property(this, "y", this.x);
|
||||
_define_property(this, "z", super.f());
|
||||
super(...args), // these should be unaffected
|
||||
_define_property(this, "x", 1), _define_property(this, "y", this.x), _define_property(this, "z", super.f());
|
||||
}
|
||||
}
|
||||
_define_property(C, "x", undefined);
|
||||
|
@ -7,11 +7,8 @@ import { _ as _set } from "@swc/helpers/_/_set";
|
||||
import { _ as _update } from "@swc/helpers/_/_update";
|
||||
class C extends B {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
// these should be unaffected
|
||||
this.x = 1;
|
||||
this.y = this.x;
|
||||
this.z = super.f();
|
||||
super(...args), // these should be unaffected
|
||||
this.x = 1, this.y = this.x, this.z = super.f();
|
||||
}
|
||||
}
|
||||
C.x = undefined;
|
||||
|
@ -87,10 +87,7 @@ class C extends B {
|
||||
this.z18 = super.a``;
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
// these should be unaffected
|
||||
this.x = 1;
|
||||
this.y = this.x;
|
||||
this.z = super.f();
|
||||
super(...args), // these should be unaffected
|
||||
this.x = 1, this.y = this.x, this.z = super.f();
|
||||
}
|
||||
}
|
||||
|
@ -87,10 +87,7 @@ class C extends B {
|
||||
this.z18 = super.a``;
|
||||
}
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
// these should be unaffected
|
||||
this.x = 1;
|
||||
this.y = this.x;
|
||||
this.z = super.f();
|
||||
super(...args), // these should be unaffected
|
||||
this.x = 1, this.y = this.x, this.z = super.f();
|
||||
}
|
||||
}
|
||||
|
@ -12,11 +12,8 @@ var C = /*#__PURE__*/ function(B1) {
|
||||
function C() {
|
||||
_class_call_check(this, C);
|
||||
var _this;
|
||||
_this = _call_super(this, C, arguments);
|
||||
// these should be unaffected
|
||||
_define_property(_this, "x", 1);
|
||||
_define_property(_this, "y", _this.x);
|
||||
_define_property(_this, "z", _get((_assert_this_initialized(_this), _get_prototype_of(C.prototype)), "f", _this).call(_this));
|
||||
_this = _call_super(this, C, arguments), // these should be unaffected
|
||||
_define_property(_this, "x", 1), _define_property(_this, "y", _this.x), _define_property(_this, "z", _get((_assert_this_initialized(_this), _get_prototype_of(C.prototype)), "f", _this).call(_this));
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
|
@ -11,11 +11,8 @@ var C = /*#__PURE__*/ function(B1) {
|
||||
function C() {
|
||||
_class_call_check(this, C);
|
||||
var _this;
|
||||
_this = _call_super(this, C, arguments);
|
||||
// these should be unaffected
|
||||
_this.x = 1;
|
||||
_this.y = _this.x;
|
||||
_this.z = _get((_assert_this_initialized(_this), _get_prototype_of(C.prototype)), "f", _this).call(_this);
|
||||
_this = _call_super(this, C, arguments), // these should be unaffected
|
||||
_this.x = 1, _this.y = _this.x, _this.z = _get((_assert_this_initialized(_this), _get_prototype_of(C.prototype)), "f", _this).call(_this);
|
||||
return _this;
|
||||
}
|
||||
return C;
|
||||
|
@ -11,8 +11,7 @@ export var Text = /*#__PURE__*/ function(_React_Component) {
|
||||
function Text() {
|
||||
_class_call_check(this, Text);
|
||||
var _this;
|
||||
_this = _call_super(this, Text, arguments);
|
||||
_this._tagName = 'div';
|
||||
_this = _call_super(this, Text, arguments), _this._tagName = 'div';
|
||||
return _this;
|
||||
}
|
||||
var _proto = Text.prototype;
|
||||
|
@ -11,8 +11,7 @@ export var Text = /*#__PURE__*/ function(_React_Component) {
|
||||
function Text() {
|
||||
_class_call_check(this, Text);
|
||||
var _this;
|
||||
_this = _call_super(this, Text, arguments);
|
||||
_this._tagName = 'div';
|
||||
_this = _call_super(this, Text, arguments), _this._tagName = 'div';
|
||||
return _this;
|
||||
}
|
||||
var _proto = Text.prototype;
|
||||
|
@ -11,8 +11,7 @@ export var Text = /*#__PURE__*/ function(_React_Component) {
|
||||
function Text() {
|
||||
_class_call_check(this, Text);
|
||||
var _this;
|
||||
_this = _call_super(this, Text, arguments);
|
||||
_this._tagName = 'div';
|
||||
_this = _call_super(this, Text, arguments), _this._tagName = 'div';
|
||||
return _this;
|
||||
}
|
||||
var _proto = Text.prototype;
|
||||
|
@ -11,8 +11,7 @@ export var Text = /*#__PURE__*/ function(_React_Component) {
|
||||
function Text() {
|
||||
_class_call_check(this, Text);
|
||||
var _this;
|
||||
_this = _call_super(this, Text, arguments);
|
||||
_this._tagName = 'div';
|
||||
_this = _call_super(this, Text, arguments), _this._tagName = 'div';
|
||||
return _this;
|
||||
}
|
||||
var _proto = Text.prototype;
|
||||
|
@ -42,11 +42,7 @@ var D = /*#__PURE__*/ function(C) {
|
||||
function D() {
|
||||
_class_call_check(this, D);
|
||||
var _this;
|
||||
_this = _call_super(this, D, arguments);
|
||||
_this.self1 = _this;
|
||||
_this.self2 = _this.self;
|
||||
_this.self3 = _this.foo();
|
||||
_this.d = new D();
|
||||
_this = _call_super(this, D, arguments), _this.self1 = _this, _this.self2 = _this.self, _this.self3 = _this.foo(), _this.d = new D();
|
||||
return _this;
|
||||
}
|
||||
var _proto = D.prototype;
|
||||
|
@ -225,8 +225,7 @@ try {
|
||||
const d17 = _usingCtx.u({
|
||||
[Symbol.dispose] () {}
|
||||
});
|
||||
super();
|
||||
this.y = 1;
|
||||
super(), this.y = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
|
@ -206,8 +206,7 @@ try {
|
||||
const d17 = _usingCtx.u({
|
||||
[Symbol.dispose] () {}
|
||||
});
|
||||
super();
|
||||
this.y = 1;
|
||||
super(), this.y = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
|
@ -206,8 +206,7 @@ try {
|
||||
const d17 = _usingCtx.u({
|
||||
[Symbol.dispose] () {}
|
||||
});
|
||||
super();
|
||||
this.y = 1;
|
||||
super(), this.y = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
|
@ -409,8 +409,7 @@ try {
|
||||
try {
|
||||
var _usingCtx = _using_ctx();
|
||||
var d17 = _usingCtx.u(_define_property({}, Symbol.dispose, function() {}));
|
||||
_this = _call_super(this, C3);
|
||||
_this.y = 1;
|
||||
_this = _call_super(this, C3), _this.y = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
|
@ -206,8 +206,7 @@ try {
|
||||
const d17 = _usingCtx.u({
|
||||
[Symbol.dispose] () {}
|
||||
});
|
||||
super();
|
||||
this.y = 1;
|
||||
super(), this.y = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
|
@ -55,8 +55,7 @@ var C3 = /*#__PURE__*/ function(A) {
|
||||
try {
|
||||
var _usingCtx = _using_ctx();
|
||||
var x = _usingCtx.u(null);
|
||||
_this = _call_super(this, C3);
|
||||
_this.y = 1;
|
||||
_this = _call_super(this, C3), _this.y = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
@ -75,8 +74,7 @@ var C4 = /*#__PURE__*/ function(A) {
|
||||
try {
|
||||
var _usingCtx = _using_ctx();
|
||||
var x = _usingCtx.u(null);
|
||||
_this = _call_super(this, C4);
|
||||
_this.y = y;
|
||||
_this = _call_super(this, C4), _this.y = y;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
@ -95,9 +93,7 @@ var C5 = /*#__PURE__*/ function(A) {
|
||||
try {
|
||||
var _usingCtx = _using_ctx();
|
||||
var x = _usingCtx.u(null);
|
||||
_this = _call_super(this, C5);
|
||||
_this.y = y;
|
||||
_this.z = 1;
|
||||
_this = _call_super(this, C5), _this.y = y, _this.z = 1;
|
||||
} catch (_) {
|
||||
_usingCtx.e = _;
|
||||
} finally{
|
||||
|
@ -7,8 +7,7 @@ class C2 extends C1 {
|
||||
constructor(){
|
||||
try {
|
||||
var _usingCtx = _using_ctx();
|
||||
super();
|
||||
this.y = 1;
|
||||
super(), this.y = 1;
|
||||
const d17 = _usingCtx.u({
|
||||
[Symbol.dispose] () {}
|
||||
});
|
||||
|
@ -16,8 +16,7 @@ var ItemsList = /*#__PURE__*/ function(Component) {
|
||||
function ItemsList() {
|
||||
_class_call_check(this, ItemsList);
|
||||
var _this;
|
||||
_this = _call_super(this, ItemsList, arguments);
|
||||
_define_property(_this, "storeHighlightedItemReference", function(highlightedItem) {
|
||||
_this = _call_super(this, ItemsList, arguments), _define_property(_this, "storeHighlightedItemReference", function(highlightedItem) {
|
||||
_this.props.onHighlightedItemChange(highlightedItem === null ? null : highlightedItem.item);
|
||||
});
|
||||
return _this;
|
||||
|
@ -1847,8 +1847,7 @@ class BufWriterSync extends AbstractBufBase {
|
||||
return writer instanceof BufWriterSync ? writer : new BufWriterSync(writer, size);
|
||||
}
|
||||
constructor(writer, size = 4096){
|
||||
super();
|
||||
this.writer = writer;
|
||||
super(), this.writer = writer;
|
||||
if (size <= 0) {
|
||||
size = DEFAULT_BUF_SIZE;
|
||||
}
|
||||
|
@ -1857,8 +1857,7 @@ class BufWriterSync extends AbstractBufBase {
|
||||
return writer instanceof BufWriterSync ? writer : new BufWriterSync(writer, size);
|
||||
}
|
||||
constructor(writer, size = DEFAULT_BUF_SIZE){
|
||||
super();
|
||||
this.writer = writer;
|
||||
super(), this.writer = writer;
|
||||
if (size <= 0) {
|
||||
size = DEFAULT_BUF_SIZE;
|
||||
}
|
||||
|
@ -1204,9 +1204,7 @@ class BufferFullError extends Error {
|
||||
partial;
|
||||
name;
|
||||
constructor(partial){
|
||||
super("Buffer full");
|
||||
this.partial = partial;
|
||||
this.name = "BufferFullError";
|
||||
super("Buffer full"), this.partial = partial, this.name = "BufferFullError";
|
||||
}
|
||||
}
|
||||
class PartialReadError extends Deno.errors.UnexpectedEof {
|
||||
|
@ -1214,9 +1214,7 @@ class BufferFullError extends Error {
|
||||
partial;
|
||||
name;
|
||||
constructor(partial){
|
||||
super("Buffer full");
|
||||
this.partial = partial;
|
||||
this.name = "BufferFullError";
|
||||
super("Buffer full"), this.partial = partial, this.name = "BufferFullError";
|
||||
}
|
||||
}
|
||||
class PartialReadError extends Deno.errors.UnexpectedEof {
|
||||
|
@ -3,8 +3,10 @@ let Sub = _decorate([
|
||||
], function(_initialize, _Super) {
|
||||
class Sub extends _Super {
|
||||
constructor(){
|
||||
var _temp;
|
||||
(_temp = super(), _initialize(this), _temp).method();
|
||||
[
|
||||
super(),
|
||||
_initialize(this)
|
||||
][0].method();
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
@ -3,8 +3,7 @@ let B = _decorate([
|
||||
], function(_initialize, _A) {
|
||||
class B extends _A {
|
||||
constructor(){
|
||||
super();
|
||||
_initialize(this);
|
||||
super(), _initialize(this);
|
||||
[];
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,7 @@ let B = _decorate([
|
||||
], function(_initialize, _A) {
|
||||
class B extends _A {
|
||||
constructor(){
|
||||
var _temp;
|
||||
_temp = super(), _initialize(this), _temp;
|
||||
super(), _initialize(this);
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
@ -4,21 +4,17 @@ let B = _decorate([
|
||||
class B extends _A {
|
||||
constructor(){
|
||||
const foo = ()=>{
|
||||
super();
|
||||
_initialize(this);
|
||||
super(), _initialize(this);
|
||||
};
|
||||
if (a) {
|
||||
super();
|
||||
_initialize(this);
|
||||
super(), _initialize(this);
|
||||
} else {
|
||||
foo();
|
||||
}
|
||||
while(0){
|
||||
super();
|
||||
_initialize(this);
|
||||
super(), _initialize(this);
|
||||
}
|
||||
super();
|
||||
_initialize(this);
|
||||
super(), _initialize(this);
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
@ -3,8 +3,7 @@ let B = _decorate([
|
||||
], function(_initialize, _A) {
|
||||
class B extends _A {
|
||||
constructor(){
|
||||
super();
|
||||
_initialize(this);
|
||||
super(), _initialize(this);
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
@ -1,7 +1,6 @@
|
||||
class A extends B {
|
||||
constructor(...args){
|
||||
super(...args);
|
||||
_define_property(this, "foo", super.bar);
|
||||
super(...args), _define_property(this, "foo", super.bar);
|
||||
}
|
||||
}
|
||||
_define_property(A, "foo", B.bar);
|
||||
|
@ -1,6 +1,5 @@
|
||||
class Item extends Component {
|
||||
constructor(props){
|
||||
super(props);
|
||||
_define_property(this, "input", this.props.item);
|
||||
super(props), _define_property(this, "input", this.props.item);
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
function bar(props) {}
|
||||
class Foo {
|
||||
constructor(){
|
||||
super();
|
||||
_define_property(this, "onBar", ()=>{
|
||||
super(), _define_property(this, "onBar", ()=>{
|
||||
bar();
|
||||
});
|
||||
bar();
|
||||
|
@ -14,8 +14,7 @@ var Bar = /*#__PURE__*/ function(Foo) {
|
||||
function Bar() {
|
||||
_class_call_check(this, Bar);
|
||||
var _this;
|
||||
_this = _call_super(this, Bar, arguments);
|
||||
_class_private_field_init(_this, _prop1, {
|
||||
_this = _call_super(this, Bar, arguments), _class_private_field_init(_this, _prop1, {
|
||||
writable: true,
|
||||
value: "bar"
|
||||
});
|
||||
|
@ -6,14 +6,12 @@ var Foo = /*#__PURE__*/ function(Bar1) {
|
||||
_class_call_check(this, Foo);
|
||||
var _this;
|
||||
if (condition) {
|
||||
_this = _call_super(this, Foo);
|
||||
_class_private_field_init(_this, _bar, {
|
||||
_this = _call_super(this, Foo), _class_private_field_init(_this, _bar, {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
});
|
||||
} else {
|
||||
_this = _call_super(this, Foo);
|
||||
_class_private_field_init(_this, _bar, {
|
||||
_this = _call_super(this, Foo), _class_private_field_init(_this, _bar, {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
});
|
||||
|
@ -5,8 +5,7 @@ var Child = /*#__PURE__*/ function(Parent1) {
|
||||
function Child() {
|
||||
_class_call_check(this, Child);
|
||||
var _this;
|
||||
_this = _call_super(this, Child);
|
||||
_class_private_field_init(_this, _scopedFunctionWithThis, {
|
||||
_this = _call_super(this, Child), _class_private_field_init(_this, _scopedFunctionWithThis, {
|
||||
writable: true,
|
||||
value: ()=>{
|
||||
_this.name = {};
|
||||
|
@ -20,8 +20,7 @@ var B = /*#__PURE__*/ function(A) {
|
||||
function B() {
|
||||
_class_call_check(this, B);
|
||||
var _this;
|
||||
_this = _call_super(this, B, arguments);
|
||||
_class_private_field_init(_this, _foo, {
|
||||
_this = _call_super(this, B, arguments), _class_private_field_init(_this, _foo, {
|
||||
writable: true,
|
||||
value: _get((_assert_this_initialized(_this), _get_prototype_of(B.prototype)), "foo", _this).call(_this)
|
||||
});
|
||||
|
@ -5,11 +5,13 @@ var Foo = /*#__PURE__*/ function(Bar1) {
|
||||
function Foo() {
|
||||
_class_call_check(this, Foo);
|
||||
var _this;
|
||||
var _temp;
|
||||
foo((_temp = _this = _call_super(this, Foo), _class_private_field_init(_this, _bar, {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
}), _temp));
|
||||
foo([
|
||||
_this = _call_super(this, Foo),
|
||||
_class_private_field_init(_this, _bar, {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
})
|
||||
][0]);
|
||||
return _this;
|
||||
}
|
||||
return Foo;
|
||||
|
@ -5,8 +5,7 @@ var Foo = /*#__PURE__*/ function(Bar1) {
|
||||
function Foo() {
|
||||
_class_call_check(this, Foo);
|
||||
var _this;
|
||||
_this = _call_super(this, Foo);
|
||||
_class_private_field_init(_this, _bar, {
|
||||
_this = _call_super(this, Foo), _class_private_field_init(_this, _bar, {
|
||||
writable: true,
|
||||
value: "foo"
|
||||
});
|
||||
|
@ -4,8 +4,7 @@ var Foo = /*#__PURE__*/ function(Bar1) {
|
||||
function Foo() {
|
||||
_class_call_check(this, Foo);
|
||||
var _this;
|
||||
_this = _call_super(this, Foo, arguments);
|
||||
_define_property(_this, "bar", "foo");
|
||||
_this = _call_super(this, Foo, arguments), _define_property(_this, "bar", "foo");
|
||||
return _this;
|
||||
}
|
||||
return Foo;
|
||||
|
@ -5,11 +5,9 @@ var Foo = /*#__PURE__*/ function(Bar1) {
|
||||
_class_call_check(this, Foo);
|
||||
var _this;
|
||||
if (condition) {
|
||||
_this = _call_super(this, Foo);
|
||||
_define_property(_this, "bar", "foo");
|
||||
_this = _call_super(this, Foo), _define_property(_this, "bar", "foo");
|
||||
} else {
|
||||
_this = _call_super(this, Foo);
|
||||
_define_property(_this, "bar", "foo");
|
||||
_this = _call_super(this, Foo), _define_property(_this, "bar", "foo");
|
||||
}
|
||||
return _possible_constructor_return(_this);
|
||||
}
|
||||
|
@ -19,8 +19,7 @@ var B = /*#__PURE__*/ function(A) {
|
||||
function B() {
|
||||
_class_call_check(this, B);
|
||||
var _this;
|
||||
_this = _call_super(this, B, arguments);
|
||||
_define_property(_this, "foo", _get((_assert_this_initialized(_this), _get_prototype_of(B.prototype)), "foo", _this).call(_this));
|
||||
_this = _call_super(this, B, arguments), _define_property(_this, "foo", _get((_assert_this_initialized(_this), _get_prototype_of(B.prototype)), "foo", _this).call(_this));
|
||||
return _this;
|
||||
}
|
||||
return B;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user