23 lines
622 B
Text
23 lines
622 B
Text
=== tests/cases/compiler/inheritanceStaticFuncOverridingMethod.ts ===
|
|
class a {
|
|
>a : a, Symbol(a,Decl(inheritanceStaticFuncOverridingMethod.ts,0,0))
|
|
|
|
static x() {
|
|
>x : () => string, Symbol(a.x,Decl(inheritanceStaticFuncOverridingMethod.ts,0,9))
|
|
|
|
return "10";
|
|
>"10" : string
|
|
}
|
|
}
|
|
|
|
class b extends a {
|
|
>b : b, Symbol(b,Decl(inheritanceStaticFuncOverridingMethod.ts,4,1))
|
|
>a : a, Symbol(a,Decl(inheritanceStaticFuncOverridingMethod.ts,0,0))
|
|
|
|
static x() {
|
|
>x : () => string, Symbol(b.x,Decl(inheritanceStaticFuncOverridingMethod.ts,6,19))
|
|
|
|
return "20";
|
|
>"20" : string
|
|
}
|
|
}
|