Files
kotlin-fork/idea/testData/inspectionsLocal/collections/convertCallChainIntoSequence/termination/unzip.kt.after.as36
T
2020-05-08 19:13:28 +07:00

6 lines
176 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()
}