Bug 321616 (MONO78900) - [GMCS] Incorrect Type arguments cannot be inferred from usage error
Summary: [GMCS] Incorrect Type arguments cannot be inferred from usage error
Status: RESOLVED FIXED
Alias: MONO78900
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 15:44 UTC by Forgotten User vxPDddArjq
Modified: 2007-09-15 21:24 UTC (History)
0 users

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:04:07 UTC


---- Reported by vargaz@gmail.com 2006-07-19 08:44:25 MST ----

Testcase:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Collections.Generic;

public class List {
        internal void AddRange<T>(ICollection<T> otherList) {
        }
}

public class Tests
{
	public static void Main ()
	{
		object[] args = new object [0];
		List l = new List ();
		l.AddRange (args);
	}
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

This is blocking recent IronPython snapshots from compiling on mono.



---- Additional Comments From vargaz@gmail.com 2006-07-19 08:44:41 MST ----

*** https://bugzilla.novell.com/show_bug.cgi?id=MONO78896 has been marked as a duplicate of this bug. ***



---- Additional Comments From rharinath@novell.com 2006-07-21 06:55:33 MST ----

=> Martin

Probably related to the array-interfaces work he's doing right now.



---- Additional Comments From martin@ximian.com 2006-07-21 07:24:55 MST ----

This looks pretty much like it.  However, I might actually commit the
gmcs part of the bug today; am already running the tests.



---- Additional Comments From martin@ximian.com 2006-07-21 10:18:02 MST ----

Fixed in SVN; added gtest-281.cs.



---- Additional Comments From martin@ximian.com 2006-07-21 10:18:36 MST ----

.



---- Additional Comments From martin@ximian.com 2006-07-21 10:21:18 MST ----

.


Unknown operating system unknown. Setting to default OS "Other".