1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
=== tests/cases/compiler/recursiveInheritance3.ts ===
class C implements I {
>C : Symbol(C, Decl(recursiveInheritance3.ts, 0, 0))
>I : Symbol(I, Decl(recursiveInheritance3.ts, 3, 1))
public foo(x: any) { return x; }
>foo : Symbol(C.foo, Decl(recursiveInheritance3.ts, 0, 22))
>x : Symbol(x, Decl(recursiveInheritance3.ts, 1, 15))
>x : Symbol(x, Decl(recursiveInheritance3.ts, 1, 15))
private x = 1;
>x : Symbol(C.x, Decl(recursiveInheritance3.ts, 1, 36))
}
interface I extends C {
>I : Symbol(I, Decl(recursiveInheritance3.ts, 3, 1))
>C : Symbol(C, Decl(recursiveInheritance3.ts, 0, 0))
other(x: any): any;
>other : Symbol(I.other, Decl(recursiveInheritance3.ts, 5, 23))
>x : Symbol(x, Decl(recursiveInheritance3.ts, 6, 10))
}
|