[Mono-devel-list] [REGRESSION] Change in mono runtime caused Nemerle do stop bootstraping

Kamil Skalski nazgul at nemerle.org
Tue Mar 1 05:04:57 EST 2005


Hi!

After some binary search work (I need to automatize this...) I found that this 
patch:
http://lists.ximian.com/archives/public/mono-patches/2005-February/055290.html

Caused Nemerle to fail quite fast during bootstrap:

make[3]: Entering directory `/home/users/nemweb/nemerle/ncc'
COMPILE [stage1] Nemerle.dll
 [01;31merror [0m: internal compiler error: got some unknown exception Cannot 
cast from source type to destination type.
in <0x000da> Nemerle.Compiler.TypeBuilder:add_derived_members ()
in <0x00079> Nemerle.Compiler.TypeBuilder:add_members ()
in <0x0002c> Nemerle.Compiler.TypeBuilder+_N_lm__N_l2826628268:_N_l28266 
(System.Object x)
in <0x00155> Nemerle.Compiler.TypeBuilder+_N_lm_maybe_f28190:maybe_f 
(System.Object ti)
in <0x000ca> Nemerle.Collections.List:Iter (Nemerle.Core.list l, Func1 f)
in <0x0006a> Nemerle.Compiler.TypeBuilder:Iter (Nemerle.Core.list builders, 
Func1 f)
in <0x00020> Nemerle.Compiler.TypeBuilder:Iter (Func1 f)

I looked at the code of add_derived_members and there are not explicit casts 
out there. This is probably happening on some of casts performed by compiler, 
which are known to be *valid*. 

Just tell me if I should do some more debugging or file a bug report.

Kamil
---
Nemerle developer



More information about the Mono-devel-list mailing list