[Mono-bugs] [Bug 77099][Wis] Changed - Foreach variable lost from environment in Console.WriteLine

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 30 12:27:52 EST 2005


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 at ximian.com.

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

--- shadow/77099	2005-12-27 09:00:42.000000000 -0500
+++ shadow/77099.tmp.29542	2005-12-30 12:27:52.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77099
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: debian linux
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: sestoft at dina.kvl.dk               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -52,6 +52,15 @@
     foreach (int x in ivals) 
       foreach (int y in ivals) 
         Console.WriteLine("{0} {1} {2} {3} {4} {5}", 
                           x, y, x+y, x-y, x<y, x>=y);
   }
 }
+
+------- Additional Comments From miguel at ximian.com  2005-12-30 12:27 -------
+This is another problem in the tokenizer/parser for the generics
+branch of gmcs.
+
+The compiler is getting confused and is parsing x<x,y>=x as x
+GENERICS_LT IDENTIFIER COMMA IDENTIFIER GENERICS_GT
+
+And at that point its busted.


More information about the mono-bugs mailing list