Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
21de67cac1bef9259daa407b68a12e178923aef3
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
recursiveClosure.kt
blob: 25c8a6a86cef1f35d588e6a9f4b1dc24f908b5f1 [
file
]
fun foo
(
s
:
String
):
String
{
fun bar
(
count
:
Int
):
String
=
if
(
count
==
0
)
s
else
bar
(
count
-
1
)
return
bar
(
10
)
}
fun box
():
String
=
foo
(
"OK"
)