9 lines
110 B
Kotlin
Vendored
9 lines
110 B
Kotlin
Vendored
fun foo(f: () -> Unit) {
|
|
f()
|
|
}
|
|
|
|
fun main(args: String) {
|
|
foo(fun<caret>() {
|
|
val p = 1
|
|
})
|
|
} |