[IR] update testdata: print whole string concatenation at one line

This commit is contained in:
Zalim Bashorov
2020-11-10 03:15:39 +03:00
committed by teamcityserver
parent 91c9d9d25c
commit 21da2b0350
19 changed files with 31 additions and 161 deletions
@@ -77,8 +77,7 @@ fun testContinueDoWhile() {
when {
greater(arg0 = k, arg1 = 2) -> continue
}
s = s.plus(other = k +
";")
s = s.plus(other = k + ";")
// } while (less(arg0 = k, arg1 = 10))
}
when {
+3 -7
View File
@@ -23,18 +23,14 @@ const val testConst4: String
get
fun test1(x: Int): String {
return "🤗" +
x
return "🤗" + x
}
fun test2(x: Int): String {
return x +
"🤗"
return x + "🤗"
}
fun test3(x: Int): String {
return x +
"🤗" +
x
return x + "🤗" + x
}
@@ -10,8 +10,7 @@ object A {
private get
private val b: String
field = "1234" +
<this>.<get-a>()
field = "1234" + <this>.<get-a>()
private get
private val c: Int
@@ -29,9 +29,7 @@ abc
get
val test6: String
field = <get-test1>() +
" " +
foo()
field = <get-test1>() + " " + foo()
get
val test7: String