[Mono-bugs] [Bug 80206][Nor] Changed - Missing implicit conversions in compound assignments

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 10 00:22:05 EST 2007


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=80206

--- shadow/80206	2007-01-10 00:14:52.000000000 -0500
+++ shadow/80206.tmp.21874	2007-01-10 00:22:05.000000000 -0500
@@ -91,6 +91,18 @@
         D d = new D ();
         byte b = 1;
         d [0] += 1;
     }
 }
 
+
+------- Additional Comments From miguel at ximian.com  2007-01-10 00:22 -------
+We do have the extra conversions as specified in the spec, but they
+happen too late in our pipeline.
+
+The problem is that we resolve target as an LValue before we consider
+the allowed explicit conversions.   This is a bit of a chicken and egg
+problem in our code, because the way we consider if the special rules
+for implicit conversions that apply during compound assignment depend
+on the lvalue being resolved (the "target" value in the source code).
+
+Not easy.


More information about the mono-bugs mailing list