Bugzilla – Bug 321616
[GMCS] Incorrect Type arguments cannot be inferred from usage error
Last modified: 2007-09-15 21:24:23 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".