[Mono-list] Mono bug with 'count++'

Paolo Molaro lupus@ximian.com
Sat, 13 Apr 2002 13:21:03 +0200


On 04/12/02 Adam Treat wrote:
> it looks like the bug is with mcs/mint.  the code should not compile.  I 
> initialized count and now mono runs it just fine.  it seems mcs is teaching 
> me bad habits ;-)
> 
> sorry if this has already been reported.

Yes, the bug was already reported on mcs.
I have filed a separate bug for mono, though, with the same test case
slightly modified (at the IL level) to zero-initialize local variables:
currently mono doesn't honour that bit, while mint does.

lupus

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