[Issue 6176] [tdpl] Cannot use string variables in case expressions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 18 10:01:07 PST 2012


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



--- Comment #19 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-01-18 10:01:02 PST ---
Personally, I think that simplest and best solution is to just restrict case
statements to compile-time constants like every language does. I agree with Don
that this feature is a misfeature. We already have if-else-if chains for the
general case.

-- 
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