[Mono-bugs] [Bug 46976][Blo] New - Compilation broken.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 27 Jul 2003 19:56:57 -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 miguel@ximian.com.

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

--- shadow/46976	Sun Jul 27 19:56:57 2003
+++ shadow/46976.tmp.29131	Sun Jul 27 19:56:57 2003
@@ -0,0 +1,40 @@
+Bug#: 46976
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Misc
+AssignedTo: martin@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compilation broken.
+
+The new namespace rewrite broke MCS in a few places.  Various ad-hoc hacks
+have been placed on CVS over the day to work around this, but its an MCS
+bug, not a source code bug.
+
+The following program works with CSC, but fails to compile with MCS:
+using System;
+
+namespace Mono.CSharp {
+
+        using System.Collections;
+
+	class X {
+		class Y {
+			void D ()
+			{
+				int a = Math.Min (1, 2);
+			}
+		}
+		
+		static void Main () {}
+	}
+}