Bugzilla – Bug 317473
[GMCS]: Nested class in constraint
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by krzys@cs.cornell.edu 2005-03-16 03:32:22 MST ---- No code of the following type, including subclass of a generic in the constrain, will compile on the MONO compiler even though it's a valid CLR code and will compile without problems with the Microsoft compiler. public class Moo<C> where C : Moo<C>.Foo { public class Foo { } } Mono compiler response: **ERROR**: file class.c: line 1912 ... ---- Additional Comments From martin@ximian.com 2005-05-06 12:58:22 MST ---- Setting Severity to one week - this is very complicated to fix and may require some larger changes. ---- Additional Comments From martin@ximian.com 2005-05-10 12:33:12 MST ---- Fixed in SVN; added gen-158.cs. Unknown operating system Windows XP (Cygwin). Setting to default OS "Other".