[Mono-bugs] [Bug 363791] mcs exception in switch statement with enumeration and duplicate case
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 25 02:39:46 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=363791
User harinath at hurrynot.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=363791#c1
Raja Harinath <harinath at hurrynot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |harinath at hurrynot.org
--- Comment #1 from Raja Harinath <harinath at hurrynot.org> 2008-02-25 00:39:45 MST ---
This is a reduced testcase
--------------------------8<----------------------
class Test {
enum Foo { MUL, JL }
static Foo f;
public static void Main ()
{
switch (f) {
case Foo.MUL: break;
case Foo.MUL: break;
}
}
}
-------------------------8<-----------------------
It is dependent on the names 'MUL' and 'JL', which probably has to do with
their order in some hashtable. This makes it a slightly bad regression test,
but we can't help it.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list