20 lines
648 B
Text
20 lines
648 B
Text
=== tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyAndFunctionWithSameName.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(staticPropertyAndFunctionWithSameName.ts, 0, 0))
|
|
|
|
static f: number;
|
|
>f : Symbol(C.f, Decl(staticPropertyAndFunctionWithSameName.ts, 0, 9))
|
|
|
|
f: number;
|
|
>f : Symbol(f, Decl(staticPropertyAndFunctionWithSameName.ts, 1, 21))
|
|
}
|
|
|
|
class D {
|
|
>D : Symbol(D, Decl(staticPropertyAndFunctionWithSameName.ts, 3, 1))
|
|
|
|
static f: number;
|
|
>f : Symbol(D.f, Decl(staticPropertyAndFunctionWithSameName.ts, 5, 9))
|
|
|
|
f() { }
|
|
>f : Symbol(f, Decl(staticPropertyAndFunctionWithSameName.ts, 6, 21))
|
|
}
|