[Mono-bugs] [Bug 359611] gmcs have trouble compiling the convertion from generic type extanding another one to its base interface

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jul 25 13:39:03 EDT 2008


User twiest at novell.com added comment

Thomas Wiest <twiest at novell.com> changed:

           What    |Removed                                         |Added
             Status|RESOLVED                                        |VERIFIED

--- Comment #2 from Thomas Wiest <twiest at novell.com>  2008-07-25 11:39:02 MDT ---
I verified that this is fixed in Mono 2.0p1 on SLED 10 sp2 i586.

Output of test case on Mono 1.9.1:
c220:~/bug359611 # gmcs tc.cs 
tc.cs(13,48): error CS0266: Cannot implicitly convert type
`System.Linq.IOrderedEnumerable<T>' to
`System.Collections.Generic.IEnumerable<T>'. An explicit conversion exists (are
you missing a cast?)
tc.cs(13,48): error CS1662: Cannot convert `lambda expression' to delegate type
because some of the return types in the block are not implicitly convertible to
the delegate return type
Compilation failed: 2 error(s), 0 warnings
c220:~/bug359611 #

Output of test case on Mono 2.0p1:
c221:~/bug359611 # gmcs tc.cs 
c221:~/bug359611 # 

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list