[Mono-bugs] [Bug 77583][Nor] New - trouble casting generics

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 17 15:24:32 EST 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 ats at cs.rit.edu.

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

--- shadow/77583	2006-02-17 15:24:32.000000000 -0500
+++ shadow/77583.tmp.8769	2006-02-17 15:24:32.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 77583
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: Just downloaded newest binary release of Mono.framework
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: ats at cs.rit.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: trouble casting generics
+
+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


More information about the mono-bugs mailing list