Files
kotlin/compiler/testData/codegen/bytecodeText/stringOperations/constConcat.kt
pyos fc6b03b08f JVM_IR: move const initialization handling to lowering
Had to edit some bytecodeText tests to account for the fact that JVM_IR
no longer generates explicit initializations for ConstantValue fields,
but NoConstantValueAttributeForNonConstVals is not the default yet.
2019-11-29 16:49:52 +01:00

5 lines
148 B
Kotlin
Vendored

fun s() = "1" + "2" + 3 + 4L + 5.0 + 6F + '7'
fun c() = "${"1"}2${3}${4L}${5.0}${6F}${'7'}"
// 0 NEW java/lang/StringBuilder
// 2 LDC "12345.06.07"