[Mono-list] Mono does not have tail calls?

Paolo Molaro lupus at ximian.com
Mon Feb 2 13:17:21 EST 2009


On 01/31/09 Jon Harrop wrote:
> I had long since held the belief that Mono supports tail calls but when I 
> recently came to actually test that I discovered that Mono does not, in fact, 
> have tail calls.
> 
> Specifically, I ran the following simple test code:
> 
>   let even odd n = odd(n+1)

Please post the generated IL code in a bug report.
We have a similar test in tests/even-odd.il and it has been working for
years in mono.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list