Fixing function types

This commit is contained in:
Andrey Breslav
2010-12-29 15:42:57 +03:00
parent 49d4812a20
commit 2305f3c445
28 changed files with 1674 additions and 1215 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
[inline] fun with<T>(receiver : T, body : T.{() : Unit}) = receiver.body()
[inline] fun with<T>(receiver : T, body : {T.() : Unit}) = receiver.body()
fun example() {