[Mono-bugs] [Bug 78900][Nor] New - [GMCS] Incorrect Type arguments cannot be inferred from usage error

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 19 08:44:25 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by vargaz at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78900

--- shadow/78900	2006-07-19 08:44:25.000000000 -0400
+++ shadow/78900.tmp.9233	2006-07-19 08:44:25.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 78900
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: vargaz at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] Incorrect Type arguments cannot be inferred from usage error
+
+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.


More information about the mono-bugs mailing list