[Mono-bugs] [Bug 80288][Nor] Changed - Implicit casts not considered with binary operators

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 19 04:47:39 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=80288

--- shadow/80288	2006-12-17 15:38:51.000000000 -0500
+++ shadow/80288.tmp.26519	2006-12-19 04:47:39.000000000 -0500
@@ -63,6 +63,11 @@
 Bug0.cs(27,17): error CS0019: Operator `&&' cannot be applied to operands
 of type `bool' and `Bugs.Bug0.Boolean'
 
 The trouble lies in the "true && b" expression, because the implicit
 conversion to bool is not considered (visual c# 2005 handles it without any
 problem).
+
+------- Additional Comments From martin.voelkle at gmail.com  2006-12-19 04:47 -------
+Created an attachment (id=18338)
+Fix for the bug. Apply to mcs/mcs/expression.cs. Should work for gmcs as well.
+


More information about the mono-bugs mailing list