[FIR] Resolve where subjects to corresponding type argument

^KTIJ-25295 fixed

Merge-request: KT-MR-10044
Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com>
This commit is contained in:
Egor Kulikov
2023-05-17 15:28:02 +00:00
committed by Space Team
parent bcefa1cd66
commit bff1520c9e
21 changed files with 135 additions and 1 deletions
@@ -14,3 +14,6 @@ class SomeList : AbstractList<Int>() {
override fun concat(other: List<Int>): List<Int> = this
}
fun <From, To> copyNotNull(from: List<From>, to: List<To>) where From : To, To : Any {
}
@@ -23,3 +23,4 @@ FILE: typeParameters.kt
public? open? override fun concat(other: List<Int>): List<Int> { LAZY_BLOCK }
}
public? final? fun <From : To, To : Any> copyNotNull(from: List<From>, to: List<To>): R|kotlin/Unit| { LAZY_BLOCK }
@@ -27,3 +27,5 @@ FILE: typeParameters.kt
}
}
public? final? fun <From : To, To : Any> copyNotNull(from: List<From>, to: List<To>): R|kotlin/Unit| {
}