[FIR] Unify some special names to make code more uniform

This commit is contained in:
Roman Golyshev
2022-05-31 18:09:06 +04:00
parent 023def9d25
commit 01ce499bb2
20 changed files with 159 additions and 140 deletions
@@ -17,22 +17,22 @@ fun test1(a: Any) {
fun test2(a: Any) {
{ // BLOCK
val <<array>>: Any = a
val <<index_0>>: Function0<Unit> = local fun <anonymous>() {
val <array>: Any = a
val <index_0>: Function0<Unit> = local fun <anonymous>() {
return Unit
}
<<array>>.set(index = <<index_0>>, value = <<array>>.get(index = <<index_0>>).plus(other = 42))
<array>.set(index = <index_0>, value = <array>.get(index = <index_0>).plus(other = 42))
}
}
fun test3(a: Any) {
val <array>: Any = a
val <index0>: Function0<Unit> = local fun <anonymous>() {
val <index_0>: Function0<Unit> = local fun <anonymous>() {
return Unit
}
val <unary>: Int = <array>.get(index = <index0>)
<array>.set(index = <index0>, value = <unary>.inc())
val <unary>: Int = <array>.get(index = <index_0>)
<array>.set(index = <index_0>, value = <unary>.inc())
<unary> /*~> Unit */
}