2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/reorderProperties.ts ===
|
|
|
|
interface A<T> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>A : A<T>, Symbol(A,Decl(reorderProperties.ts,0,0))
|
|
|
|
>T : T, Symbol(T,Decl(reorderProperties.ts,0,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x: T
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : T, Symbol(x,Decl(reorderProperties.ts,0,16))
|
|
|
|
>T : T, Symbol(T,Decl(reorderProperties.ts,0,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface B<T> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>B : B<T>, Symbol(B,Decl(reorderProperties.ts,2,1))
|
|
|
|
>T : T, Symbol(T,Decl(reorderProperties.ts,4,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x: T
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : T, Symbol(x,Decl(reorderProperties.ts,4,16))
|
|
|
|
>T : T, Symbol(T,Decl(reorderProperties.ts,4,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface C<S> extends A<D<S>> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>C : C<S>, Symbol(C,Decl(reorderProperties.ts,6,1))
|
|
|
|
>S : S, Symbol(S,Decl(reorderProperties.ts,8,12))
|
|
|
|
>A : A<T>, Symbol(A,Decl(reorderProperties.ts,0,0))
|
|
|
|
>D : D<S>, Symbol(D,Decl(reorderProperties.ts,10,1))
|
|
|
|
>S : S, Symbol(S,Decl(reorderProperties.ts,8,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
y: S
|
2015-04-13 22:54:22 +02:00
|
|
|
>y : S, Symbol(y,Decl(reorderProperties.ts,8,32))
|
|
|
|
>S : S, Symbol(S,Decl(reorderProperties.ts,8,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface D<S> extends B<C<S>> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>D : D<S>, Symbol(D,Decl(reorderProperties.ts,10,1))
|
|
|
|
>S : S, Symbol(S,Decl(reorderProperties.ts,12,12))
|
|
|
|
>B : B<T>, Symbol(B,Decl(reorderProperties.ts,2,1))
|
|
|
|
>C : C<S>, Symbol(C,Decl(reorderProperties.ts,6,1))
|
|
|
|
>S : S, Symbol(S,Decl(reorderProperties.ts,12,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
y: S
|
2015-04-13 22:54:22 +02:00
|
|
|
>y : S, Symbol(y,Decl(reorderProperties.ts,12,32))
|
|
|
|
>S : S, Symbol(S,Decl(reorderProperties.ts,12,12))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var c: C<{ s: string; n: number }>
|
2015-04-13 22:54:22 +02:00
|
|
|
>c : C<{ s: string; n: number; }>, Symbol(c,Decl(reorderProperties.ts,16,3))
|
|
|
|
>C : C<S>, Symbol(C,Decl(reorderProperties.ts,6,1))
|
|
|
|
>s : string, Symbol(s,Decl(reorderProperties.ts,16,10))
|
|
|
|
>n : number, Symbol(n,Decl(reorderProperties.ts,16,21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var d: D<{ n: number; s: string }> = c
|
2015-04-13 22:54:22 +02:00
|
|
|
>d : D<{ n: number; s: string; }>, Symbol(d,Decl(reorderProperties.ts,17,3))
|
|
|
|
>D : D<S>, Symbol(D,Decl(reorderProperties.ts,10,1))
|
|
|
|
>n : number, Symbol(n,Decl(reorderProperties.ts,17,10))
|
|
|
|
>s : string, Symbol(s,Decl(reorderProperties.ts,17,21))
|
|
|
|
>c : C<{ s: string; n: number; }>, Symbol(c,Decl(reorderProperties.ts,16,3))
|
2014-08-15 23:33:16 +02:00
|
|
|
|