[Mono-list] Bug Report: mint/jit and switch/case fall through

Paolo Molaro lupus@ximian.com
Mon, 18 Feb 2002 13:15:26 +0100


On 02/18/02 Adam Treat wrote:
> Noticed a bug in mint/mono for the switch/case statement and fall through.  
> The example test below shows the crux of the problem.  When executed with 
> mint/jit the "passed" string is not written to stdout when the "test" string 
> is given as an argument.  This is also why mcs can't compile dll's when run 
> with mint or mono ;-)

I fixed this bug in my tree. There were two bugs: our implementation of
the intern pool and we didn't intern the arguments passed on the
command-line. I couldn't find (well, I didn't look:-) in the spec where
this is mandated, but we now behave like the ms runtime in this case.

Thanks for the report!

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better