mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
templates and plus concatenations. This is slightly more efficient and mirrors the behavior of the non-IR backend for templates (but not for plus concatenations). #KT-36638 Fixed
7 lines
367 B
Kotlin
Vendored
7 lines
367 B
Kotlin
Vendored
fun test(s: String, i: Int) = "${"x"}${s}${" "}${i}${"y"}"
|
|
|
|
// 1 INVOKEVIRTUAL java/lang/StringBuilder.append \(Ljava/lang/String;\)Ljava/lang/StringBuilder
|
|
// 1 INVOKEVIRTUAL java/lang/StringBuilder.append \(I\)Ljava/lang/StringBuilder
|
|
// 3 INVOKEVIRTUAL java/lang/StringBuilder.append \(C\)Ljava/lang/StringBuilder
|
|
// 5 INVOKEVIRTUAL java/lang/StringBuilder.append
|