[Mono-bugs] [Bug 79459][Wis] New - Bad error message for unimplementable interface

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 21 08:23:38 EDT 2006


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 fog at initd.org.

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

--- shadow/79459	2006-09-21 08:23:38.000000000 -0400
+++ shadow/79459.tmp.22954	2006-09-21 08:23:38.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 79459
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: Debian unstable
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: fog at initd.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bad error message for unimplementable interface
+
+The attached program fails on the compilation of the class M. I *know* I am
+doing something really bad but the error is a bit misleading. First of all
+the compiler probably knows that it will be impossible to implement
+interface B<T> but it simply goes on instead of printing an error (or even
+a warning). Then the compilation fails saying to A.X is not implemented
+(true) but does not say that implementing A.X is impossible because of
+B<T>.X already implemented.
+
+A better error message (maybe a compilation failure on the interface) would
+be a nice addition, IMHO.


More information about the mono-bugs mailing list