7e28cb1fe3
Related to KT-15476
5 lines
133 B
Plaintext
Vendored
5 lines
133 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
fun test(list: List<Int>) {
|
|
val elementAtOrNull: Int? = list.asSequence().filter { it > 1 }.elementAtOrNull(1)
|
|
} |