Bugzilla – Bug 320319
[GMCS] Bug related to generics / inheritance
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by flipper98@gmx.net 2006-02-13 10:28:38 MST ---- 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: ---- Additional Comments From martin@ximian.com 2006-03-16 12:38:04 MST ---- Fixed in SVN. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>fedora core 4</cf_op_sys_details> Unknown operating system other. Setting to default OS "Other".