108dea5b46
So #KT-15476 Fixed
11 lines
203 B
Kotlin
Vendored
11 lines
203 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
fun test(foo: Foo): List<Int> {
|
|
return foo.getList()
|
|
.<caret>filter { it > 1 }
|
|
.map { it * 2 }
|
|
}
|
|
|
|
class Foo {
|
|
fun getList(): List<Int> = listOf(1, 2, 3)
|
|
} |