aeee8bafe6
#KT-8111 Fixed
8 lines
160 B
Plaintext
Vendored
8 lines
160 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
fun foo(p: Int, list: List<Int>) {
|
|
if (p > 0) {
|
|
val predicate: (Int) -> Boolean = { it > 0 }
|
|
list.filter(predicate)
|
|
}
|
|
} |