[Mono-list] enum broken
Piers Haken
piersh@friskit.com
Sun, 7 Apr 2002 01:18:10 -0800
Probably both (bugs&list). A permament record of these will help jolt
the aging collective memory ;-)
Good work on the tests cases, by the way. This is exaclty what we need.
Piers.
-----Original Message-----
From: Jonathan Stowe [mailto:gellyfish@gellyfish.com]
Sent: Sunday, April 07, 2002 12:53 AM
To: mono-list@ximian.com
Subject: [Mono-list] enum broken
This really doesn't do what it should :
class Test
{
enum Zub
{
Foo = 99,
Bar,
Baz
}
static void Main()
{
System.Console.WriteLine("Foo : {0}", Zub.Foo);
System.Console.WriteLine("Bar : {0}", Zub.Bar);
System.Console.WriteLine("Baz : {0}", Zub.Baz);
}
}
Producing :
Foo : Foo
Bar : Bar
Baz : Baz
Which really isn't right - this for any combination of assignment.
On a side note, is it better than I send these things here or should I
be sending them through bugzilla.ximian.com or indeed both ?
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
_______________________________________________
Mono-list maillist - Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list