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