Files
Anna Kozlova 4894956f11 [kotlin] k2 kmp find usages: search for overriding in expect/actual counterparts
- ignore setting to disable that search for now, same as for k1

^KTIJ-29953 fixed

GitOrigin-RevId: e1245fedbeb06047463e9656e0f1f8d5460774ed
2024-05-15 21:31:20 +00:00

15 lines
365 B
Kotlin

// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtFunction
// OPTIONS: usages, overridingMethods
expect interface BaseMethodOption {
actual fun firstFun<caret>()
}
class BaseMethodOptionImpl : BaseMethodOption {
override fun firstFun() {}
}
fun testBaseMethodOptionCommon(b: BaseMethodOption, impl: BaseMethodOptionImpl) {
b.firstFun()
impl.firstFun()
}