7e28cb1fe3
Related to KT-15476
10 lines
228 B
Plaintext
Vendored
10 lines
228 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
fun test(list: List<List<Int>>): List<Int> {
|
|
return list
|
|
.asSequence()
|
|
.filter { it.count() > 2 }
|
|
.map { it + it }
|
|
.toList()
|
|
.flatMap { it + it }
|
|
} |