[Mono-bugs] [Bug 47654][Nor] New - MCS crashes when it should report an error.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 15 Aug 2003 01: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 miguel@ximian.com.

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

--- shadow/47654	2003-08-15 01:04:06.000000000 -0400
+++ shadow/47654.tmp.32513	2003-08-15 01:04:06.000000000 -0400
@@ -0,0 +1,31 @@
+Bug#: 47654
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS crashes when it should report an error.
+
+The following program makes MCS crash, instead of reporting an error:
+
+public class A : System.IComparable {
+	int CompareTo (object o)
+	{
+		return 0;
+	}
+
+        static void Main () {}
+}
+
+The errro should be: `A does not implement IComparable.CompareTo', the
+reason is that CompareTo should be public