b107bc401c
#KT-12175 Fixed
19 lines
349 B
Plaintext
Vendored
19 lines
349 B
Plaintext
Vendored
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
|
|
open class Base<X, Y>(n: X) {
|
|
constructor(x: X, y: Y): this(x)
|
|
}
|
|
|
|
class Foo<U> : Base<U, Int> {
|
|
val x = 1
|
|
|
|
<caret>constructor(x: U, y: Int) : super(x, y)
|
|
constructor(n: U) : super(n)
|
|
|
|
fun foo() {
|
|
|
|
}
|
|
|
|
fun bar() {
|
|
|
|
}
|
|
} |