This commit is contained in:
Nicolò Ribaudo 2022-01-09 01:24:27 +01:00
parent 9a876a2a64
commit 9ecadfd8d2
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class A extends B {
constructor() {
let a = 2;
super(a);
foo();
}
@deco
method() {}
}

View File

@ -0,0 +1,18 @@
var _initProto;
class A extends B {
constructor() {
let a = 2;
_initProto(super(a));
foo();
}
method() {}
}
(() => {
[_initProto] = babelHelpers.applyDecs(A, [[deco, 2, "method"]], []);
})();