FIR: Rework delegation constructor calls resolution
Make it work independently of being called for inner class (as in FE 1.0)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !WITH_NEW_INFERENCE
|
||||
class X<T>(val t: T) {
|
||||
constructor(t: T, i: Int) : this(i)
|
||||
}
|
||||
constructor(t: T, i: Int) : <!INAPPLICABLE_CANDIDATE!>this<!>(i)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user