FIR2IR: change origin & operator flag in data classes making them closer to K1

Related to KT-54887
This commit is contained in:
Mikhail Glukhikh
2023-05-11 11:28:14 +02:00
committed by Space Team
parent 5d35bfd88d
commit 1ba900be44
58 changed files with 427 additions and 425 deletions
@@ -17,7 +17,7 @@ data class Test1<T : Any?> {
return Test1<Any>(x = x)
}
override fun equals(other: Any?): Boolean {
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
}
@@ -63,7 +63,7 @@ data class Test2<T : Number> {
return Test2<Any>(x = x)
}
override fun equals(other: Any?): Boolean {
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
}
@@ -106,7 +106,7 @@ data class Test3<T : Any?> {
return Test3<Any>(x = x)
}
override fun equals(other: Any?): Boolean {
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
}
@@ -149,7 +149,7 @@ data class Test4 {
return Test4(x = x)
}
override fun equals(other: Any?): Boolean {
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
}