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/accessStaticMemberFromInstanceMethod01.ts] ////
|
|
|
|
=== accessStaticMemberFromInstanceMethod01.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(accessStaticMemberFromInstanceMethod01.ts, 0, 0))
|
|
|
|
foo: string;
|
|
>foo : Symbol(C.foo, Decl(accessStaticMemberFromInstanceMethod01.ts, 0, 9))
|
|
|
|
static bar() {
|
|
>bar : Symbol(C.bar, Decl(accessStaticMemberFromInstanceMethod01.ts, 1, 16))
|
|
|
|
let k = foo;
|
|
>k : Symbol(k, Decl(accessStaticMemberFromInstanceMethod01.ts, 4, 11))
|
|
}
|
|
}
|