Files
kotlin/idea/testData/codeInsight/generate/toString/singleTemplate/multipleVarsWithSuperClass.kt
Alexey Sedunov 618f9f62f6 Code Insight: "Generate toString" action
#KT-10309 Fixed
2016-01-22 15:50:19 +03:00

13 lines
217 B
Kotlin
Vendored

// GENERATOR: SINGLE_TEMPLATE
// GENERATE_SUPER_CALL
open class X {
override fun toString() = super.toString()
}
class A(val n: Int, val s: String) : X() {<caret>
val f: Float = 1.0f
fun foo() {
}
}