a0510f4a67
in AbstractConeCallConflictResolver.computeParameterTypes
12 lines
372 B
Kotlin
Vendored
12 lines
372 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// 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::foo
|
|
}
|