Bugzilla – Bug 317194
[GMCS]: problem with type resolving when generic multi-level inheritance
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by tsureshkumar@novell.com 2005-02-16 03:49:47 MST ---- Description of Problem: gmcs seems not recognizing types like z<k,v> in place of t as in case a <t> (i.e. a <z<k,v>>. x()) in specific scenario as below. Steps to reproduce the problem: compile this snippet as gmcs -t:library test.cs // <snip> interface a <t> { void x (); } interface b <t> : a <t> {} class kv <k,v> {} // type t interface c <k,v>: b <kv<k,v>>, // b <t> a <kv<k,v>> // a <t> {} class m <k,v> : c <k,v>, b <kv<k,v>> // b <t> { void a <kv <k,v>>.x () {} // a<t>.x () } // </snip> Actual Results: error CS0535: 'm`2' does not implement interface member 'a`1.x()' Expected Results: Compilation succeeded. How often does this happen? always Additional Information: this works with csc. my gmcs version 1.1.3.0 built from svn head. suresh. ---- Additional Comments From martin@ximian.com 2005-04-30 04:02:51 MST ---- Fixed in SVN. Unknown operating system unknown. Setting to default OS "Other".