Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass
This commit is contained in:
committed by
Alexey Sedunov
parent
3c07bc3df7
commit
07259fa090
+16
@@ -0,0 +1,16 @@
|
||||
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
|
||||
class Foo<U> : Base<U, Int> {
|
||||
val x = 1
|
||||
|
||||
<caret>constructor(x: U) : super(x)
|
||||
|
||||
constructor(x: U, y: Int?) : super(x, y)
|
||||
|
||||
fun foo() {
|
||||
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user