Files
kotlin-fork/idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/noTargetTermination.kt.after
T
Dmitry Gridin 11a3482970 tests: apply official code style
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00

10 lines
208 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 }
}