20 lines
469 B
Text
20 lines
469 B
Text
=== tests/cases/compiler/genericArray0.ts ===
|
|
|
|
|
|
var x:number[];
|
|
>x : Symbol(x, Decl(genericArray0.ts, 2, 3))
|
|
|
|
|
|
var y = x;
|
|
>y : Symbol(y, Decl(genericArray0.ts, 5, 3))
|
|
>x : Symbol(x, Decl(genericArray0.ts, 2, 3))
|
|
|
|
function map<U>() {
|
|
>map : Symbol(map, Decl(genericArray0.ts, 5, 10))
|
|
>U : Symbol(U, Decl(genericArray0.ts, 7, 13))
|
|
|
|
var ys: U[] = [];
|
|
>ys : Symbol(ys, Decl(genericArray0.ts, 8, 7))
|
|
>U : Symbol(U, Decl(genericArray0.ts, 7, 13))
|
|
}
|
|
|