[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
@@ -4,13 +4,13 @@ private const val BACKSLASH: Char
|
||||
|
||||
private fun Reader.nextChar(): Char? {
|
||||
return { // BLOCK
|
||||
val tmp0_safe_receiver: Int? = <this>.read().takeUnless<Int>(predicate = local fun <anonymous>(it: Int): Boolean {
|
||||
val tmp_0: Int? = <this>.read().takeUnless<Int>(predicate = local fun <anonymous>(it: Int): Boolean {
|
||||
return EQEQ(arg0 = it, arg1 = -1)
|
||||
}
|
||||
)
|
||||
when {
|
||||
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
|
||||
else -> tmp0_safe_receiver.toChar()
|
||||
EQEQ(arg0 = tmp_0, arg1 = null) -> null
|
||||
else -> tmp_0.toChar()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,10 +23,10 @@ fun Reader.consumeRestOfQuotedSequence(sb: StringBuilder, quote: Char) {
|
||||
}) { // BLOCK
|
||||
when {
|
||||
EQEQ(arg0 = ch, arg1 = <get-BACKSLASH>()) -> { // BLOCK
|
||||
val tmp0_safe_receiver: Char? = <this>.nextChar()
|
||||
val tmp_1: Char? = <this>.nextChar()
|
||||
when {
|
||||
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
|
||||
else -> tmp0_safe_receiver.let<Char, @FlexibleNullability StringBuilder?>(block = local fun <anonymous>(it: Char): @FlexibleNullability StringBuilder? {
|
||||
EQEQ(arg0 = tmp_1, arg1 = null) -> null
|
||||
else -> tmp_1.let<Char, @FlexibleNullability StringBuilder?>(block = local fun <anonymous>(it: Char): @FlexibleNullability StringBuilder? {
|
||||
return sb.append(p0 = it)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user