Files
kotlin-fork/idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt.after
T

5 lines
167 B
Plaintext
Vendored

// WITH_RUNTIME
fun test() {
val pair: Pair<List<Int>, List<Int>> = listOf(1 to 2, 3 to 4).asSequence().filter { it.first > 1 }.filter { it.second > 2 }.unzip()
}