[FIR] Don't provide receiver as value in delegated constructor call
This commit is contained in:
@@ -37,8 +37,8 @@ class A(
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
b()
|
||||
<!UNRESOLVED_REFERENCE!>a<!>,
|
||||
<!UNRESOLVED_REFERENCE!>b<!>()
|
||||
)
|
||||
|
||||
class Nested {
|
||||
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
open class S(val a: Any, val b: Any, val c: Any) {}
|
||||
|
||||
object A : S(prop1, prop2, func()) {
|
||||
val prop1 = 1
|
||||
val prop2: Int
|
||||
get() = 1
|
||||
fun func() {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
open class S(val a: Any, val b: Any, val c: Any) {}
|
||||
|
||||
object A : S(<!UNRESOLVED_REFERENCE!>prop1<!>, <!UNRESOLVED_REFERENCE!>prop2<!>, <!UNRESOLVED_REFERENCE!>func<!>()) {
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@ class A : S (
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
b()
|
||||
<!UNRESOLVED_REFERENCE!>a<!>,
|
||||
<!UNRESOLVED_REFERENCE!>b<!>()
|
||||
) {
|
||||
|
||||
class Nested {
|
||||
|
||||
+2
-2
@@ -22,8 +22,8 @@ class A : S {
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
b()
|
||||
<!UNRESOLVED_REFERENCE!>a<!>,
|
||||
<!UNRESOLVED_REFERENCE!>b<!>()
|
||||
)
|
||||
|
||||
class Nested {
|
||||
|
||||
Reference in New Issue
Block a user