Support large strings in indy-with-constants concatenation

#KT-47917 Fixed
This commit is contained in:
Mikhael Bogdanov
2021-09-01 12:57:15 +02:00
committed by Space
parent d2d3708827
commit 19474ee30f
19 changed files with 314 additions and 24 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
// Will be executed on JDK 9, 11, 17
fun test(s: String): String {
return "\ud83c" + s + "\udf09";
}
fun box() : String {
return if (test("") == "\ud83c\udf09") "OK" else "fail: ${test("")}"
}