=== tests/cases/compiler/genericFunctionsNotContextSensitive.ts === // Repro from #37110 const f = (x: G) => void>(_: F): F => _; >f : (x: G) => void>(_: F) => F > (x: G) => void>(_: F): F => _ : (x: G) => void>(_: F) => F >args : any[] >x : G >_ : F >_ : F const a = f((_: K) => _ => ({})); // (_: K) => (_: G) => {} >a : (_: K) => (_: G) => {} >f((_: K) => _ => ({})) : (_: K) => (_: G) => {} >f : (x: G) => void>(_: F) => F >(_: K) => _ => ({}) : (_: K) => (_: G) => {} >_ : K >_ => ({}) : (_: G) => {} >_ : G >({}) : {} >{} : {}