Files
kotlin-fork/idea/testData/navigation/implementations/multiModule/expectClassFun/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

21 lines
500 B
Kotlin
Vendored

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