[Issue 3820] Small hole in switch semantics

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 11 14:14:51 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3820



--- Comment #3 from bearophile_hugs at eml.cc 2012-03-11 14:14:59 PDT ---
A probably related case:


import std.stdio;
enum Foo { A }
void main() {
    Foo f = Foo.A;
    switch (f) {
        writeln(f);
        case Foo.A: break;
    }
}


With DMD 2.059head it prints nothing.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list