TypeScript/tests/baselines/reference/genericFunctionHasFreshTypeArgs.symbols
2015-04-15 16:44:20 -07:00

16 lines
840 B
Text

=== tests/cases/compiler/genericFunctionHasFreshTypeArgs.ts ===
function f(p: <T>(x: T) => void) { };
>f : Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0))
>p : Symbol(p, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 11))
>T : Symbol(T, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 15))
>x : Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 18))
>T : Symbol(T, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 15))
f(x => f(y => x = y));
>f : Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0))
>x : Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 2))
>f : Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0))
>y : Symbol(y, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 9))
>x : Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 2))
>y : Symbol(y, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 9))