57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
=== tests/cases/compiler/reorderProperties.ts ===
|
|
interface A<T> {
|
|
>A : Symbol(A, Decl(reorderProperties.ts, 0, 0))
|
|
>T : Symbol(T, Decl(reorderProperties.ts, 0, 12))
|
|
|
|
x: T
|
|
>x : Symbol(x, Decl(reorderProperties.ts, 0, 16))
|
|
>T : Symbol(T, Decl(reorderProperties.ts, 0, 12))
|
|
}
|
|
|
|
interface B<T> {
|
|
>B : Symbol(B, Decl(reorderProperties.ts, 2, 1))
|
|
>T : Symbol(T, Decl(reorderProperties.ts, 4, 12))
|
|
|
|
x: T
|
|
>x : Symbol(x, Decl(reorderProperties.ts, 4, 16))
|
|
>T : Symbol(T, Decl(reorderProperties.ts, 4, 12))
|
|
}
|
|
|
|
interface C<S> extends A<D<S>> {
|
|
>C : Symbol(C, Decl(reorderProperties.ts, 6, 1))
|
|
>S : Symbol(S, Decl(reorderProperties.ts, 8, 12))
|
|
>A : Symbol(A, Decl(reorderProperties.ts, 0, 0))
|
|
>D : Symbol(D, Decl(reorderProperties.ts, 10, 1))
|
|
>S : Symbol(S, Decl(reorderProperties.ts, 8, 12))
|
|
|
|
y: S
|
|
>y : Symbol(y, Decl(reorderProperties.ts, 8, 32))
|
|
>S : Symbol(S, Decl(reorderProperties.ts, 8, 12))
|
|
}
|
|
|
|
interface D<S> extends B<C<S>> {
|
|
>D : Symbol(D, Decl(reorderProperties.ts, 10, 1))
|
|
>S : Symbol(S, Decl(reorderProperties.ts, 12, 12))
|
|
>B : Symbol(B, Decl(reorderProperties.ts, 2, 1))
|
|
>C : Symbol(C, Decl(reorderProperties.ts, 6, 1))
|
|
>S : Symbol(S, Decl(reorderProperties.ts, 12, 12))
|
|
|
|
y: S
|
|
>y : Symbol(y, Decl(reorderProperties.ts, 12, 32))
|
|
>S : Symbol(S, Decl(reorderProperties.ts, 12, 12))
|
|
}
|
|
|
|
var c: C<{ s: string; n: number }>
|
|
>c : Symbol(c, Decl(reorderProperties.ts, 16, 3))
|
|
>C : Symbol(C, Decl(reorderProperties.ts, 6, 1))
|
|
>s : Symbol(s, Decl(reorderProperties.ts, 16, 10))
|
|
>n : Symbol(n, Decl(reorderProperties.ts, 16, 21))
|
|
|
|
var d: D<{ n: number; s: string }> = c
|
|
>d : Symbol(d, Decl(reorderProperties.ts, 17, 3))
|
|
>D : Symbol(D, Decl(reorderProperties.ts, 10, 1))
|
|
>n : Symbol(n, Decl(reorderProperties.ts, 17, 10))
|
|
>s : Symbol(s, Decl(reorderProperties.ts, 17, 21))
|
|
>c : Symbol(c, Decl(reorderProperties.ts, 16, 3))
|
|
|