Deprecate function expressions with names

This commit is contained in:
Denis Zharkov
2015-05-16 19:04:36 +03:00
parent aa1548a83b
commit 2deb7faf05
20 changed files with 49 additions and 41 deletions
@@ -3,5 +3,5 @@
fun <T> foo(f : (T) -> T) : T = throw Exception()
fun test() {
val a : Int = foo(fun f(x) = x)
val a : Int = foo(fun (x) = x)
}