[Mono-bugs] [Bug 60324][Maj] Changed - Exception when compiling decimal class

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 31 Aug 2004 20:56:42 -0400 (EDT)


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 jluke@cfl.rr.com.

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

--- shadow/60324	2004-07-18 17:52:39.000000000 -0400
+++ shadow/60324.tmp.11308	2004-08-31 20:56:42.000000000 -0400
@@ -114,6 +114,10 @@
         {
                 Console.WriteLine (6M - 3M);
         }
 }
 
 which baffles me so far why it thinks int is involved at all
+
+------- Additional Comments From jluke@cfl.rr.com  2004-08-31 20:56 -------
+I forgot to mention, it converts to int because in cfold.cs
+DoConstantNumericPromotion doesn't know what to do for the decimal case.