KT-339 Allow to omit Unit return type from function types

This commit is contained in:
Andrey Breslav
2011-10-21 21:51:17 +04:00
parent a1deb4b86a
commit b905568147
4 changed files with 17 additions and 24 deletions
@@ -0,0 +1,3 @@
fun foo(f : fun()) {
val x : Unit = f()
}