[IR] Normalize temp var names in Kotlin-like dump

^KT-61983 Fixed
This commit is contained in:
Vladimir Sukharev
2023-09-19 21:29:17 +02:00
committed by Space Team
parent 6c519488a6
commit bae8b283c7
199 changed files with 1599 additions and 2273 deletions
@@ -35,9 +35,9 @@ data class Test1<T : Any?> {
when {
other !is Test1<T> -> return false
}
val tmp0_other_with_cast: Test1<T> = other as Test1<T>
val tmp_0: Test1<T> = other as Test1<T>
when {
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
EQEQ(arg0 = <this>.#x, arg1 = tmp_0.#x).not() -> return false
}
return true
}
@@ -78,9 +78,9 @@ data class Test2<T : Number> {
when {
other !is Test2<T> -> return false
}
val tmp0_other_with_cast: Test2<T> = other as Test2<T>
val tmp_1: Test2<T> = other as Test2<T>
when {
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
EQEQ(arg0 = <this>.#x, arg1 = tmp_1.#x).not() -> return false
}
return true
}
@@ -121,9 +121,9 @@ data class Test3<T : Any?> {
when {
other !is Test3<T> -> return false
}
val tmp0_other_with_cast: Test3<T> = other as Test3<T>
val tmp_2: Test3<T> = other as Test3<T>
when {
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
EQEQ(arg0 = <this>.#x, arg1 = tmp_2.#x).not() -> return false
}
return true
}
@@ -164,9 +164,9 @@ data class Test4 {
when {
other !is Test4 -> return false
}
val tmp0_other_with_cast: Test4 = other as Test4
val tmp_3: Test4 = other as Test4
when {
EQEQ(arg0 = <this>.#x, arg1 = tmp0_other_with_cast.#x).not() -> return false
EQEQ(arg0 = <this>.#x, arg1 = tmp_3.#x).not() -> return false
}
return true
}