Skip to content

Instantly share code, notes, and snippets.

@cy6erGn0m
Created October 14, 2013 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cy6erGn0m/6980936 to your computer and use it in GitHub Desktop.
Save cy6erGn0m/6980936 to your computer and use it in GitHub Desktop.
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