JVM_IR: "fix" reified type parameter scope check
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.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_RUNTIME
|
||||
|
||||
Reference in New Issue
Block a user