Files
kotlin-fork/j2k/testData/fileOrElement/strings/formattedString.kt
T
Dimach f0035a7be0 KT-17379: Fix J2K removal of parentheses in multiline expressions
When there is multiline polyadic expression with some operators
J2K should keep surrounding parentheses, otherwise
operators will be dangling due resolved to prefix variant

 #KT-17379 fixed
2017-08-23 20:47:01 +03:00

10 lines
161 B
Kotlin
Vendored

object A {
val TEXT1 = "text1.\n" +
"text2\n" +
"text3"
val TEXT2 = ("text1\n"
+ "text2\n"
+ "text3")
}