[fir compiler] ensure type parameters are included in the resolve scope
to resolve the next parameter bounds (KTIJ-23674)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
FILE: typeParameterInBoundsLocalFunction.kt
|
||||
package test
|
||||
|
||||
public final fun f(): R|kotlin/Unit| {
|
||||
local final fun <A, B : R|A|> f1(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
fun f() {
|
||||
fun <A, B: A> f1() {}
|
||||
}
|
||||
Reference in New Issue
Block a user