mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
//// [tests/cases/compiler/classExpressionWithStaticPropertiesES62.ts] ////
|
|
|
|
=== classExpressionWithStaticPropertiesES62.ts ===
|
|
var v = class C {
|
|
>v : Symbol(v, Decl(classExpressionWithStaticPropertiesES62.ts, 0, 3))
|
|
>C : Symbol(C, Decl(classExpressionWithStaticPropertiesES62.ts, 0, 7))
|
|
|
|
static a = 1;
|
|
>a : Symbol(C.a, Decl(classExpressionWithStaticPropertiesES62.ts, 0, 17))
|
|
|
|
static b
|
|
>b : Symbol(C.b, Decl(classExpressionWithStaticPropertiesES62.ts, 1, 17))
|
|
|
|
static c = {
|
|
>c : Symbol(C.c, Decl(classExpressionWithStaticPropertiesES62.ts, 2, 12))
|
|
|
|
x: "hi"
|
|
>x : Symbol(x, Decl(classExpressionWithStaticPropertiesES62.ts, 3, 16))
|
|
}
|
|
static d = C.c.x + " world";
|
|
>d : Symbol(C.d, Decl(classExpressionWithStaticPropertiesES62.ts, 5, 5))
|
|
>C.c.x : Symbol(x, Decl(classExpressionWithStaticPropertiesES62.ts, 3, 16))
|
|
>C.c : Symbol(C.c, Decl(classExpressionWithStaticPropertiesES62.ts, 2, 12))
|
|
>C : Symbol(C, Decl(classExpressionWithStaticPropertiesES62.ts, 0, 7))
|
|
>c : Symbol(C.c, Decl(classExpressionWithStaticPropertiesES62.ts, 2, 12))
|
|
>x : Symbol(x, Decl(classExpressionWithStaticPropertiesES62.ts, 3, 16))
|
|
|
|
};
|