Do not try to detect cycles if delegation call resolution is unsuccessful
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
class X<T> {
|
||||
constructor(t: T, i: Int): <!CYCLIC_CONSTRUCTOR_DELEGATION_CALL!>this<!>(<!TYPE_MISMATCH!>i<!>, 1)
|
||||
constructor(t: T, i: Int): this(<!TYPE_MISMATCH!>i<!>, 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user