decrease recursion depth to fix failing codegen test on Android
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
fun foo(s: String): String {
|
fun foo(s: String): String {
|
||||||
fun bar(count: Int): String =
|
fun bar(count: Int): String =
|
||||||
if (count == 0) s else bar(count - 1)
|
if (count == 0) s else bar(count - 1)
|
||||||
return bar(239)
|
return bar(10)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun box(): String = foo("OK")
|
fun box(): String = foo("OK")
|
||||||
|
|||||||
Reference in New Issue
Block a user