Formatter: fix line break before OperationReference in elvis

#KT-22362 Fixed
This commit is contained in:
Dmitry Gridin
2019-11-01 15:50:39 +07:00
parent 247619c565
commit d321f4626f
4 changed files with 24 additions and 1 deletions
@@ -0,0 +1,8 @@
infix fun String.concat(other: String): String = this
fun binaryContext(anchor: String?) {
val v1 = "1234567890... add many chars ...1234567890" concat "b"
val v2 = anchor ?: "1234567890... add many chars ...1234567890" concat "b"
val v3 = anchor ?: "1234567890... add many chars ...1234567890" concat "1234567890... add many chars ...1234567890" concat "1234567890... add many chars ...1234567890" concat "b"
}
// SET_INT: WRAP_ELVIS_EXPRESSIONS = 2