b775b901cc
#KT-17730 Fixed
13 lines
308 B
Kotlin
Vendored
13 lines
308 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// INTENTION_TEXT: "Replace with 'all{}'"
|
|
// IS_APPLICABLE_2: false
|
|
fun foo(): Boolean {
|
|
val foo = listOf(true, true)
|
|
<caret>for (e in foo) {
|
|
if (!(f1(e) && f2(e))) return false
|
|
}
|
|
return true
|
|
}
|
|
|
|
fun f1(b: Boolean): Boolean = TODO()
|
|
fun f2(b: Boolean): Boolean = TODO() |