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