[Mono-bugs] [Bug 599469] Generic class with nested class causes mono crash (with test case)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 24 11:42:19 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=599469

http://bugzilla.novell.com/show_bug.cgi?id=599469#c2


--- Comment #2 from Ole Hyldahl Tolshave <ohh at scisoft.dk> 2010-04-24 15:42:17 UTC ---
This is a somewhat simpler case, that also crashes. Commenting out the
"where"-constraint makes it work.
//--------------------------------------------------------------
public class Grid<CT>
        where CT : Grid<CT>.GPD.GC              // Comment out this "where" to
make it not crash.
{
        public class GPD
        {
                public class GC
                {
                }
        }
}

public class H : Grid<MyCT>.GPD
{
}

public class MyCT : Grid<MyCT>.GPD.GC
{
}

public class TheTest
{
        public static void Main (string[] args)
        {
                new H();
        }
}

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list