[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
@@ -76,10 +76,10 @@ fun box(): String {
val stack: PersistentImplicitReceiverStack = PersistentImplicitReceiverStack(stack = listOf<ImplicitReceiverValue<Nothing>>(elements = [ImplicitReceiverValue<Nothing>(boundSymbol = null, type = "O"), ImplicitReceiverValue<Nothing>(boundSymbol = null, type = "K")]))
foo(stack = stack)
return stack.first<ImplicitReceiverValue<*>>().<get-type>().plus(other = { // BLOCK
val tmp0_safe_receiver: ImplicitReceiverValue<*>? = stack.get(name = null)
val tmp_0: ImplicitReceiverValue<*>? = stack.get(name = null)
when {
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
else -> tmp0_safe_receiver.<get-type>()
EQEQ(arg0 = tmp_0, arg1 = null) -> null
else -> tmp_0.<get-type>()
}
})
}