Intention to convert anonymous function to lambda

This commit is contained in:
Natalia Ukhorskaya
2015-12-15 10:22:53 +03:00
parent c79ffbac5c
commit 693e158759
27 changed files with 451 additions and 57 deletions
@@ -0,0 +1,7 @@
fun foo3(f: () -> Int) {
f()
}
fun main(args: String) {
foo3 { 1 }
}