// WITH_RUNTIME // INTENTION_TEXT: "Replace with 'any{}'" // IS_APPLICABLE_2: false fun foo(list: List, p: Int) { var found: Boolean if (p > 0) { println("Starting the search") found = list.any { it.length > 0 } } else { found = true } }