2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/genericFunctionHasFreshTypeArgs.ts ===
|
|
|
|
function f(p: <T>(x: T) => void) { };
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : (p: <T>(x: T) => void) => void, Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0))
|
|
|
|
>p : <T>(x: T) => void, Symbol(p, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 11))
|
|
|
|
>T : T, Symbol(T, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 15))
|
|
|
|
>x : T, Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 18))
|
|
|
|
>T : T, Symbol(T, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 15))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
f(x => f(y => x = y));
|
|
|
|
>f(x => f(y => x = y)) : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : (p: <T>(x: T) => void) => void, Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
>x => f(y => x = y) : (x: any) => void
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 2))
|
2014-08-15 23:33:16 +02:00
|
|
|
>f(y => x = y) : void
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : (p: <T>(x: T) => void) => void, Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
>y => x = y : (y: any) => any
|
2015-04-13 23:01:57 +02:00
|
|
|
>y : any, Symbol(y, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
>x = y : any
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 2))
|
|
|
|
>y : any, Symbol(y, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 9))
|
2014-08-15 23:33:16 +02:00
|
|
|
|