8 lines
153 B
Kotlin
Vendored
8 lines
153 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// PROBLEM: none
|
|
|
|
fun test(list: List<Int>) {
|
|
list.filter { it > 1 }
|
|
.filter { it > 2 }
|
|
.let<caret> { println(it) }
|
|
} |