[Mono-dev] [PATCH] generic methods not handled in reflection.c

Kamil Skalski kamil.skalski at gmail.com
Sun Aug 14 08:11:59 EDT 2005


Hi!

When bringing generic version of Nemerle interactive shell to live I 
encountered the problem in mono runtime:

MonoGenericCMethod
** ERROR **: file reflection.c: line 9561 (resolve_object): should not be 
reached
aborting...

I would prefer to do not create an isolated testcase for the issue, since 
this might be quite complex. Instead I would like to just correct the 
problem.
It seems that resolve_object function do not handle MonoGenericCMethod and 
MonoCMethod. Attached patch makes all four versions of MonoMethod to be 
handled 
by the same code.

The question is if all four cases can be safely handled by the same code and 
if yes, should I commit?

-- 
Kamil Skalski
http://nazgul.omega.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050814/11429992/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reflection.diff
Type: text/x-patch
Size: 1155 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050814/11429992/attachment.bin 


More information about the Mono-devel-list mailing list