[AA Standalone] Consider type aliases in direct inheritors search
A type alias may still be inherited from. For example: ``` sealed class MyClass typealias T = MyClass class Inheritor : T() // `Inheritor` is a direct inheritor of `MyClass`. ``` The index is a simplified version of the IDE's `KotlinTypeAliasByExpansionShortNameIndex`, but it should be sufficient for virtually all cases. ^KT-66013
This commit is contained in:
committed by
Space Team
parent
54f2655b4d
commit
a9d7b0c595
+6
@@ -1,2 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1()
|
||||
|
||||
+6
@@ -1,2 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedClass()
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2()
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1()
|
||||
|
||||
+6
@@ -1,2 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1
|
||||
|
||||
+6
@@ -1,2 +1,8 @@
|
||||
/OneSealedChild
|
||||
class OneSealedChild : MySealedInterface
|
||||
|
||||
/ThreeSealedChild
|
||||
class ThreeSealedChild : T2
|
||||
|
||||
/TwoSealedChild
|
||||
class TwoSealedChild : T1
|
||||
|
||||
Reference in New Issue
Block a user