mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
538 B
Plaintext
17 lines
538 B
Plaintext
//// [tests/cases/conformance/classes/classStaticBlock/classStaticBlockUseBeforeDef2.ts] ////
|
|
|
|
=== classStaticBlockUseBeforeDef2.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(classStaticBlockUseBeforeDef2.ts, 0, 0))
|
|
|
|
static {
|
|
this.x = 1;
|
|
>this.x : Symbol(C.x, Decl(classStaticBlockUseBeforeDef2.ts, 3, 5))
|
|
>this : Symbol(C, Decl(classStaticBlockUseBeforeDef2.ts, 0, 0))
|
|
>x : Symbol(C.x, Decl(classStaticBlockUseBeforeDef2.ts, 3, 5))
|
|
}
|
|
static x;
|
|
>x : Symbol(C.x, Decl(classStaticBlockUseBeforeDef2.ts, 3, 5))
|
|
}
|
|
|