[Mono-list] Error with generics sharing

Rodrigo Kumpera kumpera at gmail.com
Fri Sep 26 20:39:07 EDT 2008


Please fill a bug report with a reproducible test case if possible. an Mark
will take a look
at it.


On Thu, Sep 25, 2008 at 4:11 PM, MartinMono <software at solmersa.com> wrote:

>
> Hi I'm using a System.Collections.Generic.List to add an item.  The List is
> not sorted but it fails in the method add telling me to "implement type
> compare for 1b!"  The type is a simple Class.
>
> I implemented type compare (IComparable, not the generic).  It keeps
> displaying the same message and with --trace reports
> ---------------------------
> ** ERROR **: file generic-sharing.c: line 278
> (mini_get_basic_type_from_generic): assertion failed: (gsctx)
> aborting...
>
> ---------------------------
>
> So this looks like a bug in the generics sharing code.  Because it asks for
> an implementation not needed in most cases.
> --
> View this message in context:
> http://www.nabble.com/Error-with-generics-sharing-tp19676338p19676338.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080926/5febd41f/attachment.html 


More information about the Mono-list mailing list