FIR: fix body generation for data class's copy method
This commit is contained in:
committed by
Mikhail Glukhikh
parent
948f9debdc
commit
08b91da6db
@@ -28,6 +28,7 @@ FILE: constantValues.kt
|
||||
}
|
||||
|
||||
public final fun copy(classId: R|ClassId| = this@R|/ClassLiteralValue|.R|/ClassLiteralValue.classId|, arrayNestedness: R|kotlin/Int| = this@R|/ClassLiteralValue|.R|/ClassLiteralValue.arrayNestedness|): R|ClassLiteralValue| {
|
||||
^copy R|/ClassLiteralValue.ClassLiteralValue|(this@R|/ClassLiteralValue|.R|/ClassLiteralValue.classId|, this@R|/ClassLiteralValue|.R|/ClassLiteralValue.arrayNestedness|)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -72,6 +73,7 @@ FILE: constantValues.kt
|
||||
}
|
||||
|
||||
public final fun copy(value: R|ClassLiteralValue| = this@R|/KClassValue.Value.NormalClass|.R|/KClassValue.Value.NormalClass.value|): R|KClassValue.Value.NormalClass| {
|
||||
^copy R|/KClassValue.Value.NormalClass.NormalClass|(this@R|/KClassValue.Value.NormalClass|.R|/KClassValue.Value.NormalClass.value|)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -89,6 +91,7 @@ FILE: constantValues.kt
|
||||
}
|
||||
|
||||
public final fun copy(type: R|KotlinType| = this@R|/KClassValue.Value.LocalClass|.R|/KClassValue.Value.LocalClass.type|): R|KClassValue.Value.LocalClass| {
|
||||
^copy R|/KClassValue.Value.LocalClass.LocalClass|(this@R|/KClassValue.Value.LocalClass|.R|/KClassValue.Value.LocalClass.type|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ FILE: copy.kt
|
||||
}
|
||||
|
||||
public final fun copy(x: R|kotlin/Int| = this@R|/Some|.R|/Some.x|, y: R|kotlin/String| = this@R|/Some|.R|/Some.y|): R|Some| {
|
||||
^copy R|/Some.Some|(this@R|/Some|.R|/Some.x|, this@R|/Some|.R|/Some.y|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+4
@@ -56,6 +56,7 @@ FILE: incompatibleModifiers.kt
|
||||
}
|
||||
|
||||
public final fun copy(i: R|kotlin/Int| = this@R|/H|.R|/H.i|): R|H| {
|
||||
^copy R|/H.H|(this@R|/H|.R|/H.i|)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -72,6 +73,7 @@ FILE: incompatibleModifiers.kt
|
||||
}
|
||||
|
||||
public final fun copy(i: R|kotlin/Int| = this@R|/I|.R|/I.i|): R|I| {
|
||||
^copy R|/I.I|(this@R|/I|.R|/I.i|)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -88,6 +90,7 @@ FILE: incompatibleModifiers.kt
|
||||
}
|
||||
|
||||
public final fun copy(i: R|kotlin/Int| = this@R|/J|.R|/J.i|): R|J| {
|
||||
^copy R|/J.J|(this@R|/J|.R|/J.i|)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -133,6 +136,7 @@ FILE: incompatibleModifiers.kt
|
||||
}
|
||||
|
||||
public final fun copy(i: R|kotlin/Int| = this@R|/X.Y|.R|/X.Y.i|): R|X.Y| {
|
||||
^copy R|/X.Y.Y|(this@R|/X.Y|.R|/X.Y.i|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -55,6 +55,7 @@ FILE: problems2.kt
|
||||
}
|
||||
|
||||
public final fun copy(x: R|kotlin/Int| = this@R|/Some.WithPrimary|.R|/Some.WithPrimary.x|, arr: R|kotlin/Array<kotlin/String>?| = this@R|/Some.WithPrimary|.R|/Some.WithPrimary.arr|, s: R|kotlin/String?| = this@R|/Some.WithPrimary|.R|/Some.WithPrimary.s|): R|Some.WithPrimary| {
|
||||
^copy R|/Some.WithPrimary.WithPrimary|(this@R|/Some.WithPrimary|.R|/Some.WithPrimary.x|, this@R|/Some.WithPrimary|.R|/Some.WithPrimary.arr|, this@R|/Some.WithPrimary|.R|/Some.WithPrimary.s|)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user