[Mono-list] mint bug: doesn't recognize enum as value type.

Paolo Molaro lupus@ximian.com
Tue, 26 Feb 2002 14:46:48 +0100

On 02/25/02 Adam Treat wrote:
> With the Microsoft runtime the following code prints:
> 0
> b
> But with mint I get an error:
> (process:2182): ** ERROR **: file object.c: line 318 (mono_value_box): 
> assertion failed: (class->valuetype)
> aborting...
> Trace/breakpoint trap

Did you use the same compiled program on both windows and linux?
Or is this mint running on linux?
And what version is it? What compiler did you use?

The program compiled with csc works fine in both mint and mono on
linux, though mcs miscompiles it (on both platforms: I've filed a bug
for this).


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