[Mono-bugs] [Bug 42777][Wis] New - Compiler generates incorrect classes.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 11 May 2003 19:20:20 -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=42777

--- shadow/42777	Sun May 11 19:20:20 2003
+++ shadow/42777.tmp.8704	Sun May 11 19:20:20 2003
@@ -0,0 +1,40 @@
+Bug#: 42777
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compiler generates incorrect classes.
+
+The compiler generates an incorrect class for this sample:
+
+abstract class AA {
+	public abstract void A ();
+}
+
+interface X {
+	void A ();
+}
+
+class B : AA, X {
+
+	public override void A () { }
+
+	static void Main()
+	{
+	}
+}
+
+The method B.A () is marked with "newslot" , which is incorrect, as it does
+not provide an implementation for the method AA.A.  This makes
+RemotingCorba fail.