Bug 325372 (MONO82705) - [GMCS] gmcs fails to find implementations of generic methods defined in interfaces
Summary: [GMCS] gmcs fails to find implementations of generic methods defined in inter...
Status: RESOLVED FIXED
: 327197 (view as bug list)
Alias: MONO82705
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.2
Hardware: Other All
: P3 - Medium : Major
Target Milestone: ---
Assignee: Marek Safar
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 17:10 UTC by Jean-Baptiste Evain
Modified: 2008-02-06 08:43 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:52:10 UTC


---- Reported by mono@evain.net 2007-09-05 10:10:34 MST ----

Repro:

namespace Db4objects.Db4o {

	public interface IObjectContainer
	{
		System.Collections.IList Query ();
		System.Collections.Generic.IList<Extent> Query<Extent> ();
	}
}

namespace Db4objects.Db4o.Internal {

	public abstract class ObjectContainerBase
	{
		public System.Collections.IList Query ()
		{
			return null;
		}

		public System.Collections.Generic.IList<Extent> Query<Extent> ()
		{
			return null;
		}
	}

	public abstract class ExternalObjectContainer : ObjectContainerBase,
IObjectContainer
	{
	}
}

Steps to reproduce the problem:
1. 
2. 
3. 

Actual Results:
Compile error:
ExternalObjectContainer doesn't implement Query<Extent>

Expected Results:

Comment 1 Marek Safar 2008-02-05 15:52:51 UTC
Fixed in SVN.
Comment 2 Jan Oravec 2008-02-06 08:43:03 UTC
*** Bug 327197 has been marked as a duplicate of this bug. ***