[Mono-bugs] [Bug 600398] New: 'where' clause fails when two generic parameters are used
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 28 05:11:23 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=600398
http://bugzilla.novell.com/show_bug.cgi?id=600398#c0
Summary: 'where' clause fails when two generic parameters are
used
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: mhabersack at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=357318)
--> (http://bugzilla.novell.com/attachment.cgi?id=357318)
generic_params_where_bug.cs
The following error is reported when the attached test case is compiled:
$ gmcs generic_params_where_bug.cs
generic_params_where_bug.cs(9,31): error CS0314: The type `U' cannot be used as
type parameter `T' in the generic type or method `ItemCollection<T>'. There is
no boxing or type parameter conversion from `U' to `Item'
generic_params_where_bug.cs(7,7): (Location of the symbol related to previous
error)
Compilation failed: 1 error(s), 0 warnings
--
Configure bugmail: http://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