[Mono-list] bug in mcs and more.

Miguel de Icaza miguel@ximian.com
31 Mar 2002 02:06:57 -0500


> The following code didn't work. 
> 
> [assembly: AssemblyTitle("NETRuby")] 
> [assembly: AssemblyVersion("0.8.*")] 
> [assembly: AssemblyCopyright("NETRuby - Copyright (C) 2002 arton")] 

This is a known bug in the language grammar.  Ravi is looking into that
this weekend.

> The following code doesn't compile 
>         public enum FL 
>         { 
>             EMPTY = 0, 
>             USHIFT = 11, 
>             USER0 = (1<<(USHIFT+0)), 
>             USER1 = (1<<(USHIFT+1)), 
>             USER2 = (1<<(USHIFT+2)), 
>             USER3 = (1<<(USHIFT+3)), 
>             USER4 = (1<<(USHIFT+4)), 
>             USER5 = (1<<(USHIFT+5)), 
>             USER6 = (1<<(USHIFT+6)), 
>             USER7 = (1<<(USHIFT+7)), 
>             UMASK = (0xff<<USHIFT), 
>             SINGLETON = USER0, 
>             FINALIZE = (1<<7), 
>             TAINT = (1<<8), 
>             EXIVAR = (1<<9), 
>             FREEZE = (1<<10), 
>         } 

Can you submit this to bugzilla.ximian.com?

Sounds like a bug in the constant folder.

> I know it's to early in the mono-project to expect everything to work
> but if I can find this error perhaps I can help the project as well as
> having fun myself :)  How do I go about to find more information about
> this error??

Run mcs in the debugger (on Windows) and find out what line the problem
is happening.  Ideally, try to write a simple C# test case program that
we can use on the regression test suite.

best wishes,
Miguel.