[Mono-bugs] [Bug 62332][Nor] Changed - mcs can't compile IronPython

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 2 Aug 2004 23:04:06 -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=62332

--- shadow/62332	2004-08-02 22:59:25.000000000 -0400
+++ shadow/62332.tmp.1843	2004-08-02 23:04:06.000000000 -0400
@@ -89,6 +89,12 @@
 }
 
 fails with:
 t.cs(9) error CS0019: Operator + cannot be applied to operands of type
 `IronMath.integer' and `double'
 
+
+------- Additional Comments From jluke@cfl.rr.com  2004-08-02 23:04 -------
+changing the last line to:
+Console.WriteLine ((double) x + y) works ok
+So it seems that x (IronMath.integer) should be implicitly casted to
+double but it is not