Indirect tests for tail call diagnostics removed

This commit is contained in:
Andrey Breslav
2013-11-26 21:21:36 +04:00
parent 94500bd968
commit 0316e6cb8d
20 changed files with 80 additions and 451 deletions
@@ -2,9 +2,9 @@
class B {
inner class C {
tailRecursive fun h(counter : Int, x : Any) {
tailRecursive fun h(counter : Int) {
if (counter > 0) {
this@C.h(counter - 1, "tail")
this@C.h(counter - 1)
}
}
@@ -21,7 +21,7 @@ class B {
}
fun box() : String {
B().makeC().h(1000000, "test")
B().makeC().h(1000000)
B().makeC().h2(0)
return "OK"
}