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,5 @@
class Foo(f: () -> Unit)
fun main(args: String) {
Foo { val p = 1 }
}