Files
kotlin-fork/idea/testData/codeInsight/generate/secondaryConstructors/supersAllExist.kt
T
2015-10-13 20:56:52 +03:00

20 lines
347 B
Kotlin
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 {<caret>
val x = 1
constructor(t: Int, u: Int) : super(u, t)
constructor(x: Int) : super(x)
fun foo() {
}
fun bar() {
}
}