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 @@
|
||||
// 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)
|
||||
}
|
||||
Reference in New Issue
Block a user