7e28cb1fe3
Related to KT-15476
5 lines
148 B
Kotlin
Vendored
5 lines
148 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
fun test(list: List<Int>) {
|
|
val reduceIndexed: Int = list.<caret>filter { it > 1 }.reduceIndexed { index, acc, i -> acc + i }
|
|
} |