mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
Flatten nested string concatenation expressions into a single IrStringConcatenation, in a separate lowering phase.
Consolidating these into IrStringConcatenations allows the backend to produce efficient code for string concatenations (e.g., using StringBuilder for JVM).
This commit is contained in:
committed by
max-kammerer
parent
ae22bdee15
commit
d4d5a6011c
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
fun test(b: Byte, s: Short, i: Int, l: Long) {
|
||||
"$b"
|
||||
"$s"
|
||||
|
||||
Reference in New Issue
Block a user