mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Remove Concat and StringPlus intrinsics in favor of IrStringConcatenation.
This commit is contained in:
committed by
max-kammerer
parent
26c9d69252
commit
f2392a6a28
@@ -4,7 +4,7 @@
|
||||
// - In argument to 2nd call to foo() inside string literal
|
||||
fun test(s1: String, s2: String, s3: String): String {
|
||||
fun foo(s: String) = s
|
||||
return "foo: " + foo(s1 + s2 + " ${foo("\${s3.length} = ${s3.length}")}")
|
||||
return "foo: " + foo(s1 + s2 + " ${foo("\${s3.length} = ${s3.length} ")}") + " "
|
||||
}
|
||||
|
||||
// 3 NEW java/lang/StringBuilder
|
||||
Reference in New Issue
Block a user