TypeScript/tests/cases/compiler/genericFunctionHasFreshTypeArgs.ts

2 lines
61 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function f(p: <T>(x: T) => void) { };
f(x => f(y => x = y));