[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
@@ -1,9 +1,9 @@
fun test(receiver: Any?, fn: @ExtensionFunctionType Function3<Any, Int, String, Unit>): Unit? {
return { // BLOCK
val tmp0_safe_receiver: Any? = receiver
val tmp_0: Any? = receiver
when {
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
else -> fn.invoke(p1 = tmp0_safe_receiver, p2 = 42, p3 = "Hello")
EQEQ(arg0 = tmp_0, arg1 = null) -> null
else -> fn.invoke(p1 = tmp_0, p2 = 42, p3 = "Hello")
}
}
}