Github user PascalSchumacher commented on a diff in the pull request:
https://github.com/apache/groovy/pull/808#discussion_r224093386
--- Diff: src/spec/doc/core-metaprogramming.adoc ---
@@ -1985,7 +1985,19 @@ _protectedCacheSize>0_ would create an unlimited
cache with some results protect
[[xform-TailRecursive]]
===== `@groovy.transform.TailRecursive`
-TBD
+The `@TailRecursive` annotation can be used to automatically transform a
recursive call in the end of a method to an
+iterative version of the same code, to avoid stack overflow due to to many
recursive calls. Below is an example of
--- End diff --
`to to many` should be `to too many` I guess.
---