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,10 @@
fun foo(f: () -> Unit) {
f()
}
fun main(args: String) {
foo(<caret>fun() {
val p1 = 1
val p2 = 1
})
}