[Mono-list] bug in mcs and more.
Erik Bågfors
erik@bagfors.nu
01 Apr 2002 19:23:38 +0200
On Sun, 2002-03-31 at 09:06, Miguel de Icaza wrote:
> > 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?
>
Done! Bug #22889
> 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.
>
I really don't feel like messing with windows. Sorry. I can give you
the information you need to reproduce it. Perhaps I can try to write
that simple c# test case later.
/Erik
--
Erik Bågfors | erik@bagfors.nu
Supporter of free software | GSM +46 733 279 273
fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32