http://d.puremagic.com/issues/show_bug.cgi?id=6518
--- Comment #6 from d...@dawgfoto.de 2012-03-18 10:15:00 PDT ---
*** Issue 7390 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail
http://d.puremagic.com/issues/show_bug.cgi?id=6518
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6518
yebblies changed:
What|Removed |Added
Keywords||patch, rejects-valid
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6518
--- Comment #3 from Kenji Hara 2011-08-21 07:00:55 PDT ---
More simple test case.
enum Foo : uint { A }
void main() {
Foo foo;
switch (foo) {
enum op = "A";
case Foo.A: break;
default:assert(0);
}
http://d.puremagic.com/issues/show_bug.cgi?id=6518
--- Comment #2 from bearophile_h...@eml.cc 2011-08-17 19:59:11 PDT ---
(In reply to comment #1)
> This code could compile with trunk dmd (c98b611), and it asserts in run time.
> Which version did you try it with?
I have just compiled DMD, and
http://d.puremagic.com/issues/show_bug.cgi?id=6518
--- Comment #1 from Kenji Hara 2011-08-17 16:31:46 PDT ---
(In reply to comment #0)
> import std.typetuple: TypeTuple;
> enum Foo : uint { A, B, C }
> alias TypeTuple!(Foo.A, Foo.B, Foo.C) FooNames;
> void main() {
> Foo fo;
> switch (f