[Mono-bugs] [Bug 76550][Nor] Changed - ParameterReference.Emit does
not handle leave_copy
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Nov 7 21:57:36 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 bmaurer at users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76550
--- shadow/76550 2005-11-07 21:37:37.000000000 -0500
+++ shadow/76550.tmp.29144 2005-11-07 21:57:36.000000000 -0500
@@ -11,13 +11,13 @@
AssignedTo: rharinath at novell.com
ReportedBy: peter at syncad.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Iterators: parameter capturing / UnaryMutator
+Summary: ParameterReference.Emit does not handle leave_copy
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
Mandrake linux versions (but happens with windows version too):
mono-1.1.9.1-1mdk
@@ -63,6 +63,31 @@
}
}
------- Additional Comments From bmaurer at users.sf.net 2005-11-07 21:37 -------
If you say ++from the code is also wrong, no assertion is thrown in
the compiler, but a runtime exception occurs.
+
+------- Additional Comments From bmaurer at users.sf.net 2005-11-07 21:57 -------
+This is a simpler test case that only uses anon delegates, not iterators:
+
+using System;
+
+class Test
+{
+ delegate void X ();
+
+ static void Z (int i)
+ {
+ X x = delegate {
+ int z = i ++;
+ };
+ x ();
+ }
+
+ static void Main ()
+ {
+ Z (1);
+ }
+
+}
+
More information about the mono-bugs
mailing list