Files
kotlin-fork/idea/testData/intentions/convertSecondaryConstructorToPrimary/nonReachableLoop.kt
T
2016-09-30 16:39:24 +03:00

11 lines
280 B
Kotlin
Vendored

// 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)
}