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:
+16
-4
@@ -2,10 +2,22 @@
|
||||
|
||||
package test
|
||||
|
||||
open class <caret>SimpleParent
|
||||
open class SimpleParent {
|
||||
open fun foo(n: Int) {}
|
||||
open val bar: Int get() = 1
|
||||
}
|
||||
|
||||
expect open class ExpectedChild : SimpleParent
|
||||
expect open class ExpectedChild : SimpleParent {
|
||||
override fun foo(n: Int)
|
||||
override val bar: Int
|
||||
}
|
||||
|
||||
class ExpectedChildChild : ExpectedChild()
|
||||
class ExpectedChildChild : ExpectedChild() {
|
||||
override fun foo(n: Int) {}
|
||||
override val bar: Int get() = 1
|
||||
}
|
||||
|
||||
class SimpleChild : SimpleParent()
|
||||
class SimpleChild : SimpleParent() {
|
||||
override fun foo(n: Int) {}
|
||||
override val bar: Int get() = 1
|
||||
}
|
||||
Reference in New Issue
Block a user