Files
kotlin-fork/idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/comment2.kt.after
T
2018-08-08 10:29:10 +03:00

9 lines
216 B
Plaintext
Vendored

// WITH_RUNTIME
fun test(list: List<Int>): List<Int> {
return list // comment1
.asSequence()
.filter { it > 1 } // comment2
.map { it * 2 }
.toList() // comment3
}