[Mono-bugs] [Bug 21418][Wis] Changed - operator overloading problem?

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 16 Mar 2004 07:10:32 -0500 (EST)


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 chris@turchin.net.

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

--- shadow/21418	2002-03-28 02:13:22.000000000 -0500
+++ shadow/21418.tmp.14986	2004-03-16 07:10:32.000000000 -0500
@@ -1,16 +1,16 @@
 Bug#: 21418
-Product: Mono/MCS
+Product: Mono: Compilers
 Version: unspecified
 OS: other
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Wishlist
-Component: Misc
+Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -36,6 +36,34 @@
 
 ------- Additional Comments From miguel@ximian.com  2002-03-27 22:00 -------
 This has been fixed on CVS.
 
 ------- Additional Comments From miguel@ximian.com  2002-03-28 02:13 -------
 Just closeing the bug
+
+------- Additional Comments From chris@turchin.net  2004-03-16 07:10 -------
+reopening based on following test case:
+
+using System;
+public class Test
+{
+	public static void Main(string[] args)
+	{
+		ulong l = 1;
+		if ((0xfffffffbffffffffL & l) != 0L)
+			   Console.WriteLine("working...");
+	}
+}
+
+
+MS.NET 2003 compiles and runs fine. mono 0.30.99.0 from cvs built on
+2004-03-16 says:
+
+
+[chris@arcteryx test]$ mcs implicit.cs
+implicit.cs(7) error CS0034: Operator `!=' is ambiguous on operands of
+type `ulong' and `long'
+Compilation failed: 1 error(s), 0 warnings
+[chris@arcteryx test]$ mcs --version
+Mono C# compiler version 0.30.99.0
+
+