Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/resolve/moreSpecificSimple.fir.kt
T

13 lines
226 B
Kotlin
Vendored

// !CHECK_TYPE
interface IA
interface IB : IA
fun IA.extFun() {}
fun IB.extFun() {}
fun test() {
val extFun = <!UNRESOLVED_REFERENCE!>IB::extFun<!>
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><IB.() -> Unit>(extFun)
}