[Mono-bugs] [Bug 75096][Min] Changed - mcs barfs InvalidCastException during for(and foreach) access to illegal constant (CS0133)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 8 15:00:52 EDT 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=75096

--- shadow/75096	2005-06-08 14:30:23.000000000 -0400
+++ shadow/75096.tmp.30654	2005-06-08 15:00:52.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 75096
 Product: Mono: Compilers
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Minor
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
@@ -85,6 +85,13 @@
 ------- Additional Comments From rharinath at novell.com  2005-06-03 03:14 -------
 Let's defer it for Martin's foreach rewrite.
 
 
 ------- Additional Comments From martin at ximian.com  2005-06-08 14:30 -------
 Are you working on this or can I have this bug ?
+
+------- Additional Comments From miguel at ximian.com  2005-06-08 15:00 -------
+The bug is not foreach/for, it is an assumption that if constants have
+been defined, they were valid.  But this is not the case, the right
+fix is to stop compilation.
+
+fixed on svn.


More information about the mono-bugs mailing list