Handle constructor usage for actual class as usage of expect class
#KT-25498 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass
|
||||
// OPTIONS: usages, expected
|
||||
|
||||
expect open class O<caret>Class(i: Int)
|
||||
expect class Inheritor : OClass
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
[common.kt] Supertype 5 expect class Inheritor : OClass
|
||||
[jvm.kt] Supertype 2 actual class Inheritor : OClass(42)
|
||||
@@ -0,0 +1,2 @@
|
||||
actual open class OClass actual constructor(i: Int)
|
||||
actual class Inheritor : OClass(42)
|
||||
Reference in New Issue
Block a user