30d697109c
#KT-6970 Fixed
26 lines
435 B
Plaintext
Vendored
26 lines
435 B
Plaintext
Vendored
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateSecondaryConstructorAction
|
|
open class Base(n: Int) {
|
|
constructor(a: Int, b: Int): this(a + b)
|
|
}
|
|
|
|
class Foo : Base {
|
|
val n: Int
|
|
|
|
val x = 1
|
|
|
|
<caret>constructor(a: Int, b: Int, n: Int) : super(a, b) {
|
|
this.n = n
|
|
}
|
|
|
|
constructor(n: Int, n1: Int) : super(n) {
|
|
this.n = n1
|
|
}
|
|
|
|
fun foo() {
|
|
|
|
}
|
|
|
|
fun bar() {
|
|
|
|
}
|
|
} |