Files
kotlin-fork/idea/testData/intentions/convertPrimaryConstructorToSecondary/withProperties.kt.after
T
Mikhail Glukhikh 7f50e6e70e KT-9839: intention introduced: convert primary constructor to secondary one
(cherry picked from commit 93aaa48)
2016-09-30 16:39:01 +03:00

11 lines
192 B
Plaintext
Vendored

class WithProperties {
val x: Int
val y: Int
private val z: Int
constructor(x: Int, y: Int = 7, z: Int = 13) {
this.x = x
this.y = y
this.z = z
}
}