summaryrefslogtreecommitdiff
path: root/test/files/run/t6574b.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-6574 Support @tailrec for extension methods.Jason Zaugg2013-07-101-0/+1
Currently, when the body of an extension method is transplanted to the companion object, recursive calls point back to the original instance method. That changes during erasure, but this is too late for tail call analysis/elimination. This commit eagerly updates the recursive calls to point to the extension method in the companion. It also removes the @tailrec annotation from the original method.