[Mono-bugs] [Bug 27999][Wis] New - Overriding method with "new" => type mismatch on retval

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Jul 2002 13:06:48 -0000


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 martin@gnome.org.

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

--- shadow/27999	Fri Jul 19 09:06:47 2002
+++ shadow/27999.tmp.27484	Fri Jul 19 09:06:47 2002
@@ -0,0 +1,27 @@
+Bug#: 27999
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: martin@gnome.org                            
+ReportedBy: martin@gnome.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Overriding method with "new" => type mismatch on retval
+
+class A {
+	A foo () { return this; }
+}
+
+class B : A {
+	new B foo () { return this; }
+}
+
+Assigned to myself, will fix it later on.