KT-9839: intention introduced: convert secondary constructor to primary one #KT-9839 Fixed

(cherry picked from commit f3fa779)
This commit is contained in:
Mikhail Glukhikh
2016-09-29 16:47:35 +03:00
committed by Mikhail Glukhikh
parent 28b70faa99
commit 725df49c8c
44 changed files with 555 additions and 0 deletions
@@ -0,0 +1,11 @@
class DefaultValueChain {
val x1: Int
val x3: Int
val x5: Int
<caret>constructor(x1: Int, x2: Int = x1, x3: Int = x2, x4: Int = x3, x5: Int = x4) {
this.x1 = x1
this.x3 = x3
this.x5 = x5
}
}