42 lines
2.1 KiB
Plaintext
42 lines
2.1 KiB
Plaintext
=== tests/cases/compiler/infinitelyGenerativeInheritance1.ts ===
|
|
interface Stack<T> {
|
|
>Stack : Symbol(Stack, Decl(infinitelyGenerativeInheritance1.ts, 0, 0))
|
|
>T : Symbol(T, Decl(infinitelyGenerativeInheritance1.ts, 0, 16))
|
|
|
|
pop(): T
|
|
>pop : Symbol(pop, Decl(infinitelyGenerativeInheritance1.ts, 0, 20))
|
|
>T : Symbol(T, Decl(infinitelyGenerativeInheritance1.ts, 0, 16))
|
|
|
|
zip<S>(a: Stack<S>): Stack<{ x: T; y: S }>
|
|
>zip : Symbol(zip, Decl(infinitelyGenerativeInheritance1.ts, 1, 14))
|
|
>S : Symbol(S, Decl(infinitelyGenerativeInheritance1.ts, 2, 10))
|
|
>a : Symbol(a, Decl(infinitelyGenerativeInheritance1.ts, 2, 13))
|
|
>Stack : Symbol(Stack, Decl(infinitelyGenerativeInheritance1.ts, 0, 0))
|
|
>S : Symbol(S, Decl(infinitelyGenerativeInheritance1.ts, 2, 10))
|
|
>Stack : Symbol(Stack, Decl(infinitelyGenerativeInheritance1.ts, 0, 0))
|
|
>x : Symbol(x, Decl(infinitelyGenerativeInheritance1.ts, 2, 34))
|
|
>T : Symbol(T, Decl(infinitelyGenerativeInheritance1.ts, 0, 16))
|
|
>y : Symbol(y, Decl(infinitelyGenerativeInheritance1.ts, 2, 40))
|
|
>S : Symbol(S, Decl(infinitelyGenerativeInheritance1.ts, 2, 10))
|
|
}
|
|
|
|
interface MyStack<T> extends Stack<T> {
|
|
>MyStack : Symbol(MyStack, Decl(infinitelyGenerativeInheritance1.ts, 3, 1))
|
|
>T : Symbol(T, Decl(infinitelyGenerativeInheritance1.ts, 5, 18))
|
|
>Stack : Symbol(Stack, Decl(infinitelyGenerativeInheritance1.ts, 0, 0))
|
|
>T : Symbol(T, Decl(infinitelyGenerativeInheritance1.ts, 5, 18))
|
|
|
|
zip<S>(a: Stack<S>): Stack<{ x: T; y: S }>
|
|
>zip : Symbol(zip, Decl(infinitelyGenerativeInheritance1.ts, 5, 39))
|
|
>S : Symbol(S, Decl(infinitelyGenerativeInheritance1.ts, 6, 10))
|
|
>a : Symbol(a, Decl(infinitelyGenerativeInheritance1.ts, 6, 13))
|
|
>Stack : Symbol(Stack, Decl(infinitelyGenerativeInheritance1.ts, 0, 0))
|
|
>S : Symbol(S, Decl(infinitelyGenerativeInheritance1.ts, 6, 10))
|
|
>Stack : Symbol(Stack, Decl(infinitelyGenerativeInheritance1.ts, 0, 0))
|
|
>x : Symbol(x, Decl(infinitelyGenerativeInheritance1.ts, 6, 34))
|
|
>T : Symbol(T, Decl(infinitelyGenerativeInheritance1.ts, 5, 18))
|
|
>y : Symbol(y, Decl(infinitelyGenerativeInheritance1.ts, 6, 40))
|
|
>S : Symbol(S, Decl(infinitelyGenerativeInheritance1.ts, 6, 10))
|
|
}
|
|
|