[FIR] Add diagnostic for constructor delegation cycles
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ expect enum class En(x: Int) {
|
||||
E2(42),
|
||||
;
|
||||
|
||||
<!NONE_APPLICABLE!>constructor(s: String)<!>
|
||||
constructor(s: String)
|
||||
}
|
||||
|
||||
expect enum class En2 {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// FILE: common.kt
|
||||
|
||||
expect class Foo(zzz: Int) {
|
||||
<!NONE_APPLICABLE!>constructor(aaa: Boolean)<!>
|
||||
constructor(aaa: Boolean)
|
||||
|
||||
fun f1(xxx: String): String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user