[FIR] Add diagnostic for constructor delegation cycles
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class X<T>(val t: T) {
|
||||
constructor(t: String): <!CYCLIC_CONSTRUCTOR_DELEGATION_CALL!>this<!>(t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user