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:
+20
@@ -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)
|
||||
+9
@@ -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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user