a1e0e8b0e7
Test case (from testPrimitiveReceiver): fun Short.foo() = 3 fun Int.foo() = 4 1::foo
14 lines
187 B
Kotlin
Vendored
14 lines
187 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !CHECK_TYPE
|
|
|
|
interface IA
|
|
interface IB : IA
|
|
|
|
fun IA.extFun() {}
|
|
fun IB.extFun() {}
|
|
|
|
fun test() {
|
|
val extFun = IB::extFun
|
|
checkSubtype<IB.() -> Unit>(extFun)
|
|
}
|