2014-10-15 00:18:44 +02:00
|
|
|
=== tests/cases/compiler/functionTypeArgumentArrayAssignment.ts ===
|
|
|
|
module test {
|
2015-04-13 23:01:57 +02:00
|
|
|
>test : typeof test, Symbol(test, Decl(functionTypeArgumentArrayAssignment.ts, 0, 0))
|
2014-10-15 00:18:44 +02:00
|
|
|
|
|
|
|
interface Array<T> {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Array : Array<T>, Symbol(Array, Decl(functionTypeArgumentArrayAssignment.ts, 0, 13))
|
|
|
|
>T : T, Symbol(T, Decl(functionTypeArgumentArrayAssignment.ts, 1, 20))
|
2014-10-15 00:18:44 +02:00
|
|
|
|
|
|
|
foo: T;
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : T, Symbol(foo, Decl(functionTypeArgumentArrayAssignment.ts, 1, 24))
|
|
|
|
>T : T, Symbol(T, Decl(functionTypeArgumentArrayAssignment.ts, 1, 20))
|
2014-10-15 00:18:44 +02:00
|
|
|
|
|
|
|
length: number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>length : number, Symbol(length, Decl(functionTypeArgumentArrayAssignment.ts, 2, 15))
|
2014-10-15 00:18:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function map<U>() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>map : <U>() => void, Symbol(map, Decl(functionTypeArgumentArrayAssignment.ts, 4, 5))
|
|
|
|
>U : U, Symbol(U, Decl(functionTypeArgumentArrayAssignment.ts, 6, 17))
|
2014-10-15 00:18:44 +02:00
|
|
|
|
|
|
|
var ys: U[] = [];
|
2015-04-13 23:01:57 +02:00
|
|
|
>ys : U[], Symbol(ys, Decl(functionTypeArgumentArrayAssignment.ts, 7, 11))
|
|
|
|
>U : U, Symbol(U, Decl(functionTypeArgumentArrayAssignment.ts, 6, 17))
|
2014-10-16 18:30:58 +02:00
|
|
|
>[] : undefined[]
|
2014-10-15 00:18:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|