[FIR2IR] Apply implicit casts to blocks

This commit is contained in:
Kirill Rakhman
2023-02-21 16:23:41 +01:00
committed by Space Team
parent d8c1830b06
commit 9a328ec75b
3 changed files with 25 additions and 21 deletions
@@ -195,7 +195,7 @@ internal class ArrayMapImpl<T : Any> : ArrayMap<T> {
val <unary>: Int = <this>.<get-size>()
<this>.<set-size>(<set-?> = <unary>.inc())
<unary>
}
} /*~> Unit */
}
<this>.<get-data>().set(index = index, value = value)
}
@@ -251,7 +251,7 @@ internal class ArrayMapImpl<T : Any> : ArrayMap<T> {
val <unary>: Int = <this>.<get-size>()
<this>.<set-size>(<set-?> = <unary>.dec())
<unary>
}
} /*~> Unit */
}
<this>.<get-data>().set(index = index, value = null)
}