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,23 @@
package test
open class SimpleParent {
open val <caret>bar: Int get() = 1
}
expect open class ExpectedChild : SimpleParent {
override val bar: Int
}
class ExpectedChildChild : ExpectedChild() {
override val bar: Int get() = 1
}
class SimpleChild : SimpleParent() {
override val bar: Int get() = 1
}
// REF: [common] (in test.ExpectedChild).bar
// REF: [common] (in test.ExpectedChildChild).bar
// REF: [common] (in test.SimpleChild).bar
// REF: [jvm] (in test.ExpectedChild).bar
// REF: [jvm] (in test.ExpectedChildChildJvm).bar