21 lines
876 B
Text
21 lines
876 B
Text
=== tests/cases/compiler/staticMemberAccessOffDerivedType1.ts ===
|
|
class SomeBase {
|
|
>SomeBase : Symbol(SomeBase, Decl(staticMemberAccessOffDerivedType1.ts, 0, 0))
|
|
|
|
static GetNumber() {
|
|
>GetNumber : Symbol(SomeBase.GetNumber, Decl(staticMemberAccessOffDerivedType1.ts, 0, 16))
|
|
|
|
return 2;
|
|
}
|
|
}
|
|
class P extends SomeBase {
|
|
>P : Symbol(P, Decl(staticMemberAccessOffDerivedType1.ts, 4, 1))
|
|
>SomeBase : Symbol(SomeBase, Decl(staticMemberAccessOffDerivedType1.ts, 0, 0))
|
|
|
|
static SomeNumber = P.GetNumber();
|
|
>SomeNumber : Symbol(P.SomeNumber, Decl(staticMemberAccessOffDerivedType1.ts, 5, 26))
|
|
>P.GetNumber : Symbol(SomeBase.GetNumber, Decl(staticMemberAccessOffDerivedType1.ts, 0, 16))
|
|
>P : Symbol(P, Decl(staticMemberAccessOffDerivedType1.ts, 4, 1))
|
|
>GetNumber : Symbol(SomeBase.GetNumber, Decl(staticMemberAccessOffDerivedType1.ts, 0, 16))
|
|
}
|
|
|