[FIR] Fixed Replace ConeTypeVariable on ConeTypeParameter ^KT-51017

in AbstractConeCallConflictResolver.computeParameterTypes
This commit is contained in:
Ivan Kochurkin
2022-01-28 22:48:52 +03:00
committed by teamcity
parent 5391ee91af
commit a0510f4a67
9 changed files with 81 additions and 13 deletions
@@ -1,10 +0,0 @@
// KT-11075 NONE_APPLICABLE reported for callable reference to an overloaded generic function with expected type provided
object TestCallableReferences {
fun <A> foo(x: A) = x
fun <B> foo(x: List<B>) = x
fun test0(): (String) -> String = TestCallableReferences::foo
fun <T> test1(): (List<T>) -> List<T> = TestCallableReferences::<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// KT-11075 NONE_APPLICABLE reported for callable reference to an overloaded generic function with expected type provided
object TestCallableReferences {