Files
kotlin-fork/idea/testData/navigation/implementations/multiModule/expectClassSuperclassFun/common/common.kt
T
Alexey Sedunov 4cc1e22a5a Misc: Support light-methodless members in overrider search
In particular, support line markers for expect-class members
and navigation to expect-class members from corresponding base members
2017-10-24 15:43:51 +03:00

23 lines
565 B
Kotlin
Vendored

package test
open class SimpleParent {
open fun <caret>foo(n: Int) {}
}
expect open class ExpectedChild : SimpleParent {
override fun foo(n: Int)
}
class ExpectedChildChild : ExpectedChild() {
override fun foo(n: Int) {}
}
class SimpleChild : SimpleParent() {
override fun foo(n: Int) {}
}
// REF: [common] (in test.ExpectedChild).foo(Int)
// REF: [common] (in test.ExpectedChildChild).foo(Int)
// REF: [common] (in test.SimpleChild).foo(Int)
// REF: [jvm] (in test.ExpectedChild).foo(Int)
// REF: [jvm] (in test.ExpectedChildChildJvm).foo(Int)