Use OverrideMemberChooserObject to generate also primary constructors
Relates to KT-27093 and similar problems
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
expect class My<caret>Generator(r: Random) {
|
||||
val i: Int
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
// "Create actual class for module proj_JVM (JVM)" "true"
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
expect class My<caret>Generator(r: Random) {
|
||||
val i: Int
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
// MyGenerator: to be implemented
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
import kotlin.random.Random
|
||||
|
||||
// MyGenerator: to be implemented
|
||||
actual class MyGenerator actual constructor(r: Random) {
|
||||
actual val i: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user