[Mono-bugs] [Bug 40176][Nor] New - Error compiling foreach statement
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sun, 23 Mar 2003 18:21:04 -0500 (EST)
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 yoros@wanadoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=40176
--- shadow/40176 Sun Mar 23 18:21:04 2003
+++ shadow/40176.tmp.14277 Sun Mar 23 18:21:04 2003
@@ -0,0 +1,26 @@
+Bug#: 40176
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yoros@wanadoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Error compiling foreach statement
+
+When using foreach to iterate a Double array and we use something like this:
+
+ foreach (float f in doubles) { ... }
+
+the values assigned to f are all wrong.
+
+In MS.NET it works wrong too for the same binary. Binaries compiled with
+CSC works on mono and ms.net.