b107bc401c
#KT-12175 Fixed
19 lines
346 B
Plaintext
Vendored
19 lines
346 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 x = 1
|
|
|
|
<caret>constructor(a: Int, b: Int) : super(a, b)
|
|
constructor(n: Int) : super(n)
|
|
|
|
fun foo() {
|
|
|
|
}
|
|
|
|
fun bar() {
|
|
|
|
}
|
|
} |