Deprecate tailRecursive in favor of tailrec

This commit is contained in:
Denis Zharkov
2015-09-04 16:30:25 +03:00
parent bbc192fda5
commit 9254b1b461
84 changed files with 98 additions and 92 deletions
@@ -1,4 +1,4 @@
<!NO_TAIL_CALLS_FOUND!>tailRecursive fun test(go: Boolean) : Unit<!> {
<!NO_TAIL_CALLS_FOUND!>tailrec fun test(go: Boolean) : Unit<!> {
if (!go) return
try {
<!TAIL_RECURSION_IN_TRY_IS_NOT_SUPPORTED!>test<!>(false)