[Mono-bugs] [Bug 80315][Nor] Changed - More implicit casts not considered with compound assignments
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Dec 19 12:27:54 EST 2006
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 martin.voelkle at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80315
--- shadow/80315 2006-12-19 09:45:40.000000000 -0500
+++ shadow/80315.tmp.15151 2006-12-19 12:27:54.000000000 -0500
@@ -53,6 +53,11 @@
}
Assignment "b += 255" fails although 255 is implicitely
convertible to MyByte.
bug2.cs(27,13): error CS0031: Constant value `int' cannot be converted to a
`Bugs.Bug2.MyByte'
+
+------- Additional Comments From martin.voelkle at gmail.com 2006-12-19 12:27 -------
+Created an attachment (id=18342)
+Fix to apply to mcs/mcs/assign.cs. Lacks the check that the selected operator is a predefined operator
+
More information about the mono-bugs
mailing list