Files
kotlin-fork/idea/testData/intentions/convertSecondaryConstructorToPrimary/initAndParams.kt
T
2016-09-30 16:39:24 +03:00

16 lines
209 B
Kotlin
Vendored

class InitAndParams {
constructor<caret>(x: Int, z: Int) {
this.y = x
w = foo(y)
this.v = w + z
}
val y: Int
val w: Int
fun foo(arg: Int) = arg
val v: Int
}