Intention to convert anonymous function to lambda
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun foo3(f: () -> Int) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun main(args: String) {
|
||||
foo3 { 1 }
|
||||
}
|
||||
Reference in New Issue
Block a user