Files
kotlin-fork/plugins/uast-kotlin/testData/Lambdas.kt
T
Jinseong Jeon 7f627ab480 FIR UAST: track all legacy test data since facade class is converted
These are mostly mechanical changes.
2021-05-06 20:19:29 +02:00

20 lines
291 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 }()) {
}
}