mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
514 B
Plaintext
17 lines
514 B
Plaintext
//// [tests/cases/compiler/accessInstanceMemberFromStaticMethod01.ts] ////
|
|
|
|
=== accessInstanceMemberFromStaticMethod01.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(accessInstanceMemberFromStaticMethod01.ts, 0, 0))
|
|
|
|
static foo: string;
|
|
>foo : Symbol(C.foo, Decl(accessInstanceMemberFromStaticMethod01.ts, 0, 9))
|
|
|
|
bar() {
|
|
>bar : Symbol(C.bar, Decl(accessInstanceMemberFromStaticMethod01.ts, 1, 23))
|
|
|
|
let k = foo;
|
|
>k : Symbol(k, Decl(accessInstanceMemberFromStaticMethod01.ts, 4, 11))
|
|
}
|
|
}
|