37 lines
1.8 KiB
Text
37 lines
1.8 KiB
Text
=== tests/cases/compiler/infinitelyExpandingTypeAssignability.ts ===
|
|
interface A<T> {
|
|
>A : Symbol(A, Decl(infinitelyExpandingTypeAssignability.ts, 0, 0))
|
|
>T : Symbol(T, Decl(infinitelyExpandingTypeAssignability.ts, 0, 12))
|
|
|
|
x : T
|
|
>x : Symbol(x, Decl(infinitelyExpandingTypeAssignability.ts, 0, 16))
|
|
>T : Symbol(T, Decl(infinitelyExpandingTypeAssignability.ts, 0, 12))
|
|
}
|
|
|
|
interface B<T> extends A<B<B<B<T>>>> { }
|
|
>B : Symbol(B, Decl(infinitelyExpandingTypeAssignability.ts, 2, 1))
|
|
>T : Symbol(T, Decl(infinitelyExpandingTypeAssignability.ts, 4, 12))
|
|
>A : Symbol(A, Decl(infinitelyExpandingTypeAssignability.ts, 0, 0))
|
|
>B : Symbol(B, Decl(infinitelyExpandingTypeAssignability.ts, 2, 1))
|
|
>B : Symbol(B, Decl(infinitelyExpandingTypeAssignability.ts, 2, 1))
|
|
>B : Symbol(B, Decl(infinitelyExpandingTypeAssignability.ts, 2, 1))
|
|
>T : Symbol(T, Decl(infinitelyExpandingTypeAssignability.ts, 4, 12))
|
|
|
|
interface C<T> extends A<C<C<C<T>>>> { }
|
|
>C : Symbol(C, Decl(infinitelyExpandingTypeAssignability.ts, 4, 40))
|
|
>T : Symbol(T, Decl(infinitelyExpandingTypeAssignability.ts, 6, 12))
|
|
>A : Symbol(A, Decl(infinitelyExpandingTypeAssignability.ts, 0, 0))
|
|
>C : Symbol(C, Decl(infinitelyExpandingTypeAssignability.ts, 4, 40))
|
|
>C : Symbol(C, Decl(infinitelyExpandingTypeAssignability.ts, 4, 40))
|
|
>C : Symbol(C, Decl(infinitelyExpandingTypeAssignability.ts, 4, 40))
|
|
>T : Symbol(T, Decl(infinitelyExpandingTypeAssignability.ts, 6, 12))
|
|
|
|
var x : B<string>
|
|
>x : Symbol(x, Decl(infinitelyExpandingTypeAssignability.ts, 8, 3))
|
|
>B : Symbol(B, Decl(infinitelyExpandingTypeAssignability.ts, 2, 1))
|
|
|
|
var y : C<string> = x
|
|
>y : Symbol(y, Decl(infinitelyExpandingTypeAssignability.ts, 9, 3))
|
|
>C : Symbol(C, Decl(infinitelyExpandingTypeAssignability.ts, 4, 40))
|
|
>x : Symbol(x, Decl(infinitelyExpandingTypeAssignability.ts, 8, 3))
|
|
|