Files
kotlin-fork/idea/testData/navigation/implementations/multiModule/expectClassSuperclassFun/common/common.kt
T
Pavel V. Talanov 08b62d3564 Rewrite 'goto' mpp tests to be generated
Adjust test data
Use new util in FindUsagesMultiModuleTest
2018-04-04 17:56:34 +02:00

23 lines
620 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: [testModule_Common] (in test.ExpectedChild).foo(Int)
// REF: [testModule_Common] (in test.ExpectedChildChild).foo(Int)
// REF: [testModule_Common] (in test.SimpleChild).foo(Int)
// REF: [testModule_JVM] (in test.ExpectedChild).foo(Int)
// REF: [testModule_JVM] (in test.ExpectedChildChildJvm).foo(Int)