package test.paragraph3.long_line

fun foo() {
    val str = "This is very long string that" +
" should be split"

    fun foo() {
        val veryLoooooooooooooooooongNamesList =
 listOf<String>("Jack", "Nick")
        veryLoooooooooooooooooongNamesList
.forEach { name ->
            if (name == "Nick") {
                veryLoooooooooooooooooongNamesList
.map { val str = "This string shouldn't be split"}
                name.map { val str =
 "This string should be split" }
            }
        }
    }

    val longIntExpression = 12345 + 12345 +
 12345 + 12345

    val longIntExpression = (12345 + 12345 +
 12345 + 12345)

    val longIntExpression = (12345) + (12345) +
 (12345) + (12345)

    val LongWithVar2 = "very long" +
" woooooordsdcsdcsdcsdc $variable"

    val longStringExpression = "First part" +
 "second Part"

    val longStringExpression = "First" +
 "second Part"

    val longStringExpression =
 "First very long part" + "second Part"

    val longStringExpression2 =
                   "String starts at the line len limit"

    val veryLooooooooooooooooooooooooooooooongVal =
 "text"

    val veryLongExpression = Method() + 12345 +
 baaar()

    val veryLongExpression = Method() + baaar() +
 12345
}