=== tests/cases/compiler/genericFunctionHasFreshTypeArgs.ts === function f(p: (x: T) => void) { }; >f : (p: (x: T) => void) => void, Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0)) >p : (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)) f(x => f(y => x = y)); >f(x => f(y => x = y)) : void >f : (p: (x: T) => void) => void, Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0)) >x => f(y => x = y) : (x: any) => void >x : any, Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 2)) >f(y => x = y) : void >f : (p: (x: T) => void) => void, Symbol(f, Decl(genericFunctionHasFreshTypeArgs.ts, 0, 0)) >y => x = y : (y: any) => any >y : any, Symbol(y, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 9)) >x = y : any >x : any, Symbol(x, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 2)) >y : any, Symbol(y, Decl(genericFunctionHasFreshTypeArgs.ts, 1, 9))