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:
Alexey Sedunov
2017-09-26 16:34:01 +03:00
parent 87f3d24f9b
commit 17abce2811
17 changed files with 170 additions and 17 deletions
@@ -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()
@@ -0,0 +1,7 @@
// !CHECK_HIGHLIGHTING
package test
actual open class ExpectedChild : SimpleParent()
class ExpectedChildChildJvm : ExpectedChild()
@@ -0,0 +1,11 @@
// !CHECK_HIGHLIGHTING
package test
open class <caret>SimpleParent
expect open class ExpectedChild : SimpleParent
class ExpectedChildChild : ExpectedChild()
class SimpleChild : SimpleParent()
@@ -0,0 +1,5 @@
package test
actual open class <lineMarker><lineMarker>ExpectedChild</lineMarker></lineMarker> : SimpleParent()
class ExpectedChildChildJvm : ExpectedChild()