Files
kotlin-fork/idea/resources-en/intentionDescriptions/AnonymousFunctionToLambdaIntention/before.kt.template
T
2020-05-19 16:22:06 +07:00

9 lines
106 B
Plaintext

fun foo(f: () -> Int) {
f()
}
fun main(args: String) {
foo(fun(): Int {
return 1
})
}