Fix tests ('infix')

This commit is contained in:
Yan Zhulanow
2015-09-30 21:27:45 +03:00
parent 7e8674c6ee
commit 1b01e7a85a
65 changed files with 146 additions and 132 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ fun <T> generic_invoker(gen : (String) -> T) : T {
return gen("")
}
fun <T> T.with(f : T.() -> Unit) {
infix fun <T> T.with(f : T.() -> Unit) {
f()
}