Deprecate tailRecursive in favor of tailrec
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
tailRecursive fun foo(x: Int) {
|
||||
tailrec fun foo(x: Int) {
|
||||
if (x == 0) return
|
||||
return (foo(x - 1))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user