KT-9839: intention introduced: convert secondary constructor to primary one #KT-9839 Fixed
(cherry picked from commit f3fa779)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
28b70faa99
commit
725df49c8c
+11
@@ -0,0 +1,11 @@
|
||||
class WithProperties {
|
||||
val x: Int
|
||||
val y: Int
|
||||
private val z: Int
|
||||
|
||||
constructor(x: Int, y: Int = 7, z: Int = 13<caret>) {
|
||||
this.x = x
|
||||
this.y = y
|
||||
this.z = z
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user