[IR] Normalize temp var names in Kotlin-like dump
^KT-61983 Fixed
This commit is contained in:
committed by
Space Team
parent
6c519488a6
commit
bae8b283c7
Vendored
+5
-5
@@ -33,9 +33,9 @@ data class MyContainer {
|
||||
when {
|
||||
other !is MyContainer -> return false
|
||||
}
|
||||
val tmp0_other_with_cast: MyContainer = other as MyContainer
|
||||
val tmp_0: MyContainer = other as MyContainer
|
||||
when {
|
||||
EQEQ(arg0 = <this>.#i, arg1 = tmp0_other_with_cast.#i).not() -> return false
|
||||
EQEQ(arg0 = <this>.#i, arg1 = tmp_0.#i).not() -> return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
@@ -69,9 +69,9 @@ fun box(): String {
|
||||
var myContainer: MyContainer = MyContainer(i = 0)
|
||||
with<Int, Unit>(receiver = 1, block = local fun Int.<anonymous>() {
|
||||
myContainer.plusAssign($context_receiver_0 = $this$with, other = MyContainer(i = { // BLOCK
|
||||
val <unary>: MyContainer = myContainer
|
||||
myContainer = <unary>.inc($context_receiver_0 = $this$with)
|
||||
<unary>
|
||||
val tmp_1: MyContainer = myContainer
|
||||
myContainer = tmp_1.inc($context_receiver_0 = $this$with)
|
||||
tmp_1
|
||||
}.get($context_receiver_0 = $this$with, index = 0)))
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user