4901cdb11f
#KT-40448 Fixed
5 lines
132 B
Plaintext
Vendored
5 lines
132 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
fun test(list: List<Int>) {
|
|
list.asSequence().filter { it > 1 }.runningReduceIndexed { _, acc, i -> acc + i }
|
|
} |