JVM_IR. Support runtime string concatenation

This commit is contained in:
Mikhael Bogdanov
2020-09-30 11:25:26 +02:00
parent 1938f9459f
commit cf5bd38bec
4 changed files with 158 additions and 65 deletions
@@ -7,7 +7,7 @@ inline fun test(s: (String) -> Unit) {
}
fun box(a: String, b: String?) {
val s = a + "1" + "2" + 3 + 4L + b + 5.0 + 6F + '7' + A() + true + false + 1u
val s = a + "1" + "2" + 3 + 4L + b + 5.0 + 6F + '7' + A() + true + false + 3147483647u
a.plus(b)
b?.plus(a)