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 @@
// IS_APPLICABLE: false
// ERROR: There's a cycle in the delegation calls chain
// ERROR: There's a cycle in the delegation calls chain
class NonReachableLoop {
constructor<caret>(x: String)
constructor(x: Int, y: Int): this(x + y)
constructor(x: Int): this(x, x)
}