decrease recursion depth to fix failing codegen test on Android

This commit is contained in:
Alexander Udalov
2012-07-31 20:45:06 +04:00
parent 7e81898b9f
commit 926e01be9c
@@ -1,7 +1,7 @@
fun foo(s: String): String {
fun bar(count: Int): String =
if (count == 0) s else bar(count - 1)
return bar(239)
return bar(10)
}
fun box(): String = foo("OK")