[Mono-bugs] [Bug 60437][Wis] New - [GMCS] Cant compile static Foo <T> x;

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Jun 2004 14:57:29 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=60437

--- shadow/60437	2004-06-18 14:57:29.000000000 -0400
+++ shadow/60437.tmp.25370	2004-06-18 14:57:29.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 60437
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] Cant compile static Foo <T> x;
+
+class Foo {
+	static void Main () {}
+}
+
+class Foo <T> {
+	static Foo <T> x;
+	static Foo <T> Blah { get { return x; } }
+}
+
+Should compile.