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

18 lines
280 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 n: Int
val x = 1
fun foo() {
}
fun bar() {
}
}