[Issue 3376] [tdpl] Multiple ranged case labels don't work
https://issues.dlang.org/show_bug.cgi?id=3376 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --
[Issue 3376] [tdpl] Multiple ranged case labels don't work
http://d.puremagic.com/issues/show_bug.cgi?id=3376 Rainer Schuetze r.sagita...@gmx.de changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #1 from Rainer Schuetze r.sagita...@gmx.de 2009-10-16 15:09:11 PDT --- case 'A': .. case 'Z': case 'a' .. case 'z': I'd say you have simply forgotten the colon after 'a'. With case 'A': .. case 'Z': case 'a': .. case 'z': it compiles. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3376] [tdpl] Multiple ranged case labels don't work
http://d.puremagic.com/issues/show_bug.cgi?id=3376 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #2 from Andrei Alexandrescu and...@metalanguage.com 2009-10-16 15:15:41 PDT --- (In reply to comment #1) case 'A': .. case 'Z': case 'a' .. case 'z': I'd say you have simply forgotten the colon after 'a'. With case 'A': .. case 'Z': case 'a': .. case 'z': it compiles. Ouch. This is rather ironic in wake of the fact that I preached the helpfulness of that ':'. Thanks, and apologies to everyone for the distraction. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---