fix some tests for as36
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test(list: List<Int>) {
|
||||
val mapIndexedTo: MutableList<Int> = list.asSequence().filter { it > 1 }
|
||||
.mapIndexedTo(mutableListOf()) { index, i -> i }
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// 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()
|
||||
}
|
||||
Reference in New Issue
Block a user