301e3d27fd
where "fix" means "work around a bug that is much harder to fix". When lambdas are extracted into the nearest class, captured type parameters are not transformed into type parameters of the new method; because of this, to check whether a reified type parameter is captured by a method we need to check the outermost named function, not the current function.