Created
October 14, 2013 19:37
-
-
Save cy6erGn0m/6980936 to your computer and use it in GitHub Desktop.
inner function annotation problem example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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