[Mono-dev] Regressions in generics runtime support

Kamil Skalski kamil.skalski at gmail.com
Sun Feb 19 10:37:10 EST 2006


I noticed a few refactorings of generics support in mono recently.
Unfortunately there appeared some regressions.

First one comes from patch

It causes following assertion when bootstraping Nemerle compiler:

COMPILE [stage1] Nemerle.Compiler.dll

** ERROR **: file icall.c: line 1891
(ves_icall_MonoType_GetGenericArguments): assertion failed: ((t->type
!= MONO_TYPE_VAR && t->type != MONO_TYPE_MVAR) ||

(this problems seems present also in current svn version)

Later it got even worse, since with current svn, mono states there is
some invalid IL in Nemerle.Compiler. Though from what I can see this
might be related to Paolo's changes in IL verification.

Here is the tarball to reproduce the problems:


Hm, probably I should open a bug for this, as IL and generics problems
are probably not related. What is your opinion?

Kamil Skalski

More information about the Mono-devel-list mailing list