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

10 lines
199 B
Plaintext
Vendored

// WITH_RUNTIME
fun test(): Int {
return listOf(1, 2, 3)
.asSequence()
.filter { it > 1 }
.map { it * 2 }
.toList()
.binarySearch(4)
}