Files
kotlin-fork/plugins/uast-kotlin/testData/Lambdas.kt
T
2020-01-29 19:57:43 +03:00

19 lines
290 B
Kotlin
Vendored

import java.util.stream.Stream
fun foo() {
Stream.empty<String>().filter { it.isEmpty() }
}
fun doSelectItem(selectItemFunction: () -> Unit) {
selectItemFunction()
val baz = fun() {
Local()
}
baz()
}
fun lambdaInPlaceCall() {
while ({ true }()) {
}
}