[fir compiler] ensure type parameters are included in the resolve scope

to resolve the next parameter bounds (KTIJ-23674)
This commit is contained in:
Anna Kozlova
2022-11-16 13:35:44 +01:00
committed by Space Team
parent 3fc91b013d
commit c727dbb8ca
11 changed files with 41 additions and 22 deletions
@@ -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| {
}
}
@@ -0,0 +1,4 @@
package test
fun f() {
fun <A, B: A> f1() {}
}