Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/function/longQualifiedNameGeneric.fir.kt
T

19 lines
316 B
Kotlin
Vendored

// !CHECK_TYPE
// FILE: a.kt
package a.b.c
class D<E, F> {
fun foo(e: E, f: F) = this
}
// FILE: b.kt
import kotlin.reflect.KFunction3
fun main() {
val x = a.b.c.D<String, Int>::foo
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><KFunction3<a.b.c.D<String, Int>, String, Int, a.b.c.D<String, Int>>>(x)
}