Misc: Support light-classless classes in inheritors search
In particular, support line markers for expect-classes and navigation to expect-classes from their base class #KT-20329 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
open class <lineMarker>SimpleParent</lineMarker>
|
||||
|
||||
expect open class <lineMarker><lineMarker>ExpectedChild</lineMarker></lineMarker> : SimpleParent
|
||||
|
||||
class ExpectedChildChild : ExpectedChild()
|
||||
|
||||
class SimpleChild : SimpleParent()
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// !CHECK_HIGHLIGHTING
|
||||
|
||||
package test
|
||||
|
||||
actual open class ExpectedChild : SimpleParent()
|
||||
|
||||
class ExpectedChildChildJvm : ExpectedChild()
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// !CHECK_HIGHLIGHTING
|
||||
|
||||
package test
|
||||
|
||||
open class <caret>SimpleParent
|
||||
|
||||
expect open class ExpectedChild : SimpleParent
|
||||
|
||||
class ExpectedChildChild : ExpectedChild()
|
||||
|
||||
class SimpleChild : SimpleParent()
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
actual open class <lineMarker><lineMarker>ExpectedChild</lineMarker></lineMarker> : SimpleParent()
|
||||
|
||||
class ExpectedChildChildJvm : ExpectedChild()
|
||||
Reference in New Issue
Block a user