29 lines
1.3 KiB
Text
29 lines
1.3 KiB
Text
=== tests/cases/compiler/nonConflictingRecursiveBaseTypeMembers.ts ===
|
|
interface A<T> {
|
|
>A : Symbol(A, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 0, 0))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 0, 12))
|
|
|
|
x: C<T>
|
|
>x : Symbol(x, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 0, 16))
|
|
>C : Symbol(C, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 6, 1))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 0, 12))
|
|
}
|
|
|
|
interface B<T> {
|
|
>B : Symbol(B, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 2, 1))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 4, 12))
|
|
|
|
x: C<T>
|
|
>x : Symbol(x, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 4, 16))
|
|
>C : Symbol(C, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 6, 1))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 4, 12))
|
|
}
|
|
|
|
interface C<T> extends A<T>, B<T> { } // Should not be an error
|
|
>C : Symbol(C, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 6, 1))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 8, 12))
|
|
>A : Symbol(A, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 0, 0))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 8, 12))
|
|
>B : Symbol(B, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 2, 1))
|
|
>T : Symbol(T, Decl(nonConflictingRecursiveBaseTypeMembers.ts, 8, 12))
|
|
|