Skip to content

Commit

Permalink
More delegate analyzing and commit updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
hyf0 committed Nov 19, 2022
1 parent 15847b8 commit ee59de4
Show file tree
Hide file tree
Showing 23 changed files with 567 additions and 84 deletions.
@@ -1,2 +1,14 @@
//// [classStaticBlock15.ts]
console.log(void 0);
var _C__1;
class C {
static #_1 = 1;
static #_3 = 3;
static #_5 = 5;
static{}
static{}
static{}
static{}
static{}
static{}
}
console.log(_C__1);
@@ -1,6 +1,11 @@
//// [classStaticBlock23.ts]
[
const nums = [
1,
2,
3
].map((n)=>Promise.resolve(n));
class C {
static{
for await (let nn of nums)console.log(nn);
}
}
@@ -1,2 +1,12 @@
//// [classStaticBlock5.ts]
super.a;
class B {
static a = 1;
static b = 2;
}
class C extends B {
static b = 3;
static c = super.a;
static{
this.b, super.b, super.a;
}
}
@@ -1,2 +1,10 @@
//// [classStaticBlockUseBeforeDef1.ts]
this.x;
class C {
static{
this.x = 1;
}
static y = this.x;
static{
this.z = this.y;
}
}
@@ -1 +1,6 @@
//// [classStaticBlockUseBeforeDef2.ts]
class C {
static{
this.x = 1;
}
}
@@ -1 +1,13 @@
//// [privateNameComputedPropertyName4.ts]
class C1 {
static #qux = 42;
bar() {}
}
class C2 {
static #qux = 42;
static bar() {}
}
class C3 {
static #qux = 42;
static bar = "test";
}

0 comments on commit ee59de4

Please sign in to comment.