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
This commit is contained in:
Alexey Sedunov
2017-09-27 13:29:58 +03:00
parent 17abce2811
commit 4cc1e22a5a
22 changed files with 292 additions and 86 deletions
@@ -0,0 +1,20 @@
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: [common] (in test.ExpectedChildChild).foo(Int)
// REF: [jvm] (in test.ExpectedChildChildJvm).foo(Int)
@@ -0,0 +1,9 @@
package test
actual open class ExpectedChild : SimpleParent() {
actual override fun foo(n: Int) {}
}
class ExpectedChildChildJvm : ExpectedChild() {
override fun foo(n: Int) {}
}