[Mono-devel-list] MCS bug?

Martin Baulig martin at ximian.com
Sun Feb 8 10:13:03 EST 2004


On Sun, 2004-02-08 at 15:31, Iain McCoy wrote:
> On Sun, 2004-02-08 at 01:17, Sergio Rubio wrote:
> > Hi,
> > TestProperty.cs makes mono crash when executed.
> 
> I'm curious. This is equivalent to writing something like this:
> void Foo() { return Foo(); }
> 
> and calling it. It's going to cause an infinite loop - what do you think
> mono should do in this situation?

Actually, it's causing a stack overflow because the method is being
invoked recursively.

--
Martin Baulig <martin at ximian.com>
Now blogging !  http://primates.ximian.com/~martin/blog




More information about the Mono-devel-list mailing list