[Mono-bugs] [Bug 24484] Changed - Variables declared in foreach are read-only
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
11 May 2002 00:48:58 -0000
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=24484
--- shadow/24484 Fri May 10 20:38:32 2002
+++ shadow/24484.tmp.22442 Fri May 10 20:48:58 2002
@@ -41,6 +41,10 @@
foreach.cs(11,5): error CS1604: Cannot assign to 'b' because it is read-only
And with mcs it compiles without any warning or error.
------- Additional Comments From miguel@ximian.com 2002-05-10 20:38 -------
Fixed on CVS
+
+------- Additional Comments From miguel@ximian.com 2002-05-10 20:48 -------
+Re-opened. I partially fixed, this but this exposed a bug in the
+compiler that makes using and fixed broken.