Files
kotlin-fork/idea/testData/intentions/loopToCallChain/count/long.kt
T
2016-08-23 22:47:42 +03:00

12 lines
233 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: false
// IS_APPLICABLE_2: false
fun foo(list: List<String>): Long {
var count = 0L
<caret>for (s in list) {
if (s.length > 10) {
count++
}
}
return count
}