Unit.VALUE -> Unit in testData

This commit is contained in:
Zalim Bashorov
2014-07-12 21:25:00 +04:00
parent 4a8519615a
commit c767ffc3e7
49 changed files with 103 additions and 109 deletions
@@ -15,7 +15,7 @@ fun test2(a: A): Int {
}
fun test3(b: B): Int {
return b[Unit.VALUE, Unit.VALUE]
return b[Unit, Unit]
}
@@ -30,4 +30,4 @@ fun box() : String {
if (result != 2) return "fail3: $result"
return "OK"
}
}
@@ -2,10 +2,10 @@ tailRecursive fun foo(x: Int) {
return if (x > 0) {
(foo(x - 1))
}
else Unit.VALUE
else Unit
}
fun box(): String {
foo(1000000)
return "OK"
}
}