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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=68711

--- shadow/68711        2005-09-09 08:36:07.000000000 -0400
+++ shadow/68711.tmp.5454       2005-09-09 08:44:25.000000000 -0400
@@ -201,6 +201,19 @@
 With review from harinath, patch is commited in r44928. This is now fixed.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2005-09-09 08:36 -------
 Created an attachment (id=15711)
 test case for implicit decimal conversion
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-09-09 08:44 -------
+I suggest reopening the bug. See my atachment : the code compiles and
+works under csc, but not under cscc (mono 1.1.8.2 / .3) or mcs
+(Portable .Net).
+
+Problem is, according to ECMA, the compiler should look for possible
+implicit cast for an operator. CSCC checks only those returning a
+double, ignoring those providing a decimal. Try adding another
+implicit cast operator (to Decimal2) returning a double - CSCC will
+now compile the code, wheras it should now report a bug, because the
+code becames ambigious (there are 2 possible, equally specific
+implicit casts).
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to