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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77541 --- shadow/77541 2006-02-13 10:28:38.000000000 -0500 +++ shadow/77541.tmp.31743 2006-02-13 10:28:38.000000000 -0500 @@ -0,0 +1,64 @@ +Bug#: 77541 +Product: Mono: Compilers +Version: 1.1 +OS: other +OS Details: fedora core 4 +Status: NEW +Resolution: +Severity: +Priority: Major +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Bug related to generics / inheritance + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + +gmcs 1.1.13 is unable to compile the following code: + +Steps to reproduce the problem: + +using System; + +public class Class1<T> + where T : MyType +{ + + public void MethodOfClass1(T mt) + { + mt.MethodOfMyBaseType(); + } + +} + +public class MyType : MyBaseType +{ + public override void MethodOfMyBaseType() + { + } +} + +public abstract class MyBaseType +{ + public abstract void MethodOfMyBaseType(); +} + +} + + +Actual Results: +error CS1501: No overload for method `MethodOfMyBaseType' takes `0' arguments + +Expected Results: +compilation succeeded + +How often does this happen? +always + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
