Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
inner function annotation problem example
TailRecursive fun g2() {
TailRecursive fun g3(counter : Int, x : Any) : Unit {
if (counter > 0) { g3(counter - 1, "tail 97") }
}
g3(1000000, "test")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment