[Tests] Use stable order for ir/kotlinLike dumps

^KT-65406
This commit is contained in:
Pavel Kunyavskiy
2024-02-05 16:23:41 +01:00
committed by Space Team
parent 0fa42a9c11
commit e6f4d6e6fa
1265 changed files with 43896 additions and 48472 deletions
@@ -1,15 +1,20 @@
var operationScore: Int
field = 0
get
set
data class Result {
var i: Int
field = i
get
set
constructor(i: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
var i: Int
field = i
get
set
operator fun component1(): Int {
return <this>.#i
}
@@ -18,14 +23,6 @@ data class Result {
return Result(i = i)
}
override fun toString(): String {
return "Result(" + "i=" + <this>.#i + ")"
}
override fun hashCode(): Int {
return <this>.#i.hashCode()
}
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
@@ -40,51 +37,14 @@ data class Result {
return true
}
}
override fun hashCode(): Int {
return <this>.#i.hashCode()
}
var operationScore: Int
field = 0
get
set
override fun toString(): String {
return "Result(" + "i=" + <this>.#i + ")"
}
operator fun Result.plus($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().plus(other = other.<get-i>()))
}
operator fun Result.plusAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().plus(other = other.<get-i>()))
}
operator fun Result.minus($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().minus(other = other.<get-i>()))
}
operator fun Result.minusAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().minus(other = other.<get-i>()))
}
operator fun Result.times($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().times(other = other.<get-i>()))
}
operator fun Result.timesAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().times(other = other.<get-i>()))
}
operator fun Result.div($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().div(other = other.<get-i>()))
}
operator fun Result.divAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().div(other = other.<get-i>()))
}
fun box(): String {
@@ -105,3 +65,43 @@ fun box(): String {
}
}
operator fun Result.div($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().div(other = other.<get-i>()))
}
operator fun Result.divAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().div(other = other.<get-i>()))
}
operator fun Result.minus($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().minus(other = other.<get-i>()))
}
operator fun Result.minusAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().minus(other = other.<get-i>()))
}
operator fun Result.plus($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().plus(other = other.<get-i>()))
}
operator fun Result.plusAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().plus(other = other.<get-i>()))
}
operator fun Result.times($context_receiver_0: Int, other: Result): Result {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
return Result(i = <this>.<get-i>().times(other = other.<get-i>()))
}
operator fun Result.timesAssign($context_receiver_0: Int, other: Result) {
<set-operationScore>(<set-?> = <get-operationScore>().plus(other = $context_receiver_0))
<this>.<set-i>(<set-?> = <this>.<get-i>().times(other = other.<get-i>()))
}