[FIR] Don't provide receiver as value in delegated constructor call
This commit is contained in:
Vendored
+1
-1
@@ -3,5 +3,5 @@ class A {
|
||||
fun foo() = 1
|
||||
constructor(x: Int)
|
||||
constructor(x: Int, y: Int, z: Int = x + foo() + this.foo()) :
|
||||
this(x + foo() + this.foo())
|
||||
<!INAPPLICABLE_CANDIDATE!>this<!>(x <!AMBIGUITY!>+<!> <!UNRESOLVED_REFERENCE!>foo<!>() + this.<!UNRESOLVED_REFERENCE!>foo<!>())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user