Bugzilla – Bug 320359
[GMCS] trouble casting generics
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by ats@cs.rit.edu 2006-02-17 15:24:32 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: compile enclosed file. it does compile and run ok on .NET 2 beta. It produces /Library/Frameworks/Mono.framework/Commands/gmcs cons.cs cons.cs(28,24): error CS1502: The best overloaded method match for `Cons<A,B>.Cons`2(in A, in B)' has some invalid arguments cons.cs(28,24): error CS1503: Argument 2: Cannot convert from `A' to `in B' cons.cs(29,24): error CS1502: The best overloaded method match for `Cons<A,B>.Cons`2(in A, in B)' has some invalid arguments cons.cs(29,24): error CS1503: Argument 2: Cannot convert from `A' to `in B' Compilation failed: 4 error(s), 0 warnings ---- Additional Comments From ats@cs.rit.edu 2006-02-17 15:25:41 MST ---- Created an attachment (id=169295) C# source file provoking the bug ---- Additional Comments From martin@ximian.com 2006-03-21 13:14:10 MST ---- Fixed in SVN. Imported an attachment (id=169295) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Just downloaded newest binary release of Mono.framework</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".