[Mono-bugs] [Bug 353526] New: [GMCS] Generic inference and params keyword
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Jan 13 03:10:13 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=353526
Summary: [GMCS] Generic inference and params keyword
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: sanxiyn at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
SVN r92772.
public class Test {
public static T[] InsertAt<T>(T[] array, int index, params T[] items) {
return array; /* Implementation omitted */
}
public static void Main() {
int[] x = new int[] {1, 2};
int[] y = new int[] {3, 4};
x = InsertAt(x, 0, y);
}
}
test.cs(8,13): error CS0411: The type arguments for method
`Test.InsertAt<T>(T[], int, params T[])' cannot be inferred from the usage. Try
specifying the type arguments explicitly
Affects IronRuby SVN r71.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list