[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:14:52 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	2006-12-16 12:51:40.000000000 -0500
+++ shadow/80206.tmp.21818	2007-01-10 00:14:52.000000000 -0500
@@ -11,13 +11,13 @@
 AssignedTo: rharinath at novell.com                            
 ReportedBy: mgreger at cinci.rr.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: [GMCS] Using a List<byte> item with compound assigment operators fails to compile
+Summary: Missing implicit conversions in compound assignments
 
 Please fill in this template when reporting a bug, unless you know what 
 you are doing.
 Description of Problem:
 
 
@@ -66,6 +66,31 @@
 
 How often does this happen? 
 
 Always
 
 Additional Information:
+
+------- Additional Comments From miguel at ximian.com  2007-01-10 00:14 -------
+This is a test case that does not involve generics:
+
+
+public class D {
+    byte v;
+
+    byte this [int idx] {
+        get {
+            return v;
+        }
+        set {
+            v = value;
+        }
+    }
+
+    static void Main ()
+    {
+        D d = new D ();
+        byte b = 1;
+        d [0] += 1;
+    }
+}
+


More information about the mono-bugs mailing list