https://issues.dlang.org/show_bug.cgi?id=16523

--- Comment #7 from uplink.co...@googlemail.com ---
(In reply to Martin Krejcirik from comment #6)
> (In reply to uplink.coder from comment #3)
> > 
> > I think allowing non-static cases is going to be a bugfest, down the road
> > and we should think hard about this behavior.
> 
> Declaration of a non-const variable in a switch body is now deprecated in
> master.

That is not the issue. 
The issue is weather they are compile-time or run-time values.
I believe having run-time values in there is not the best of choices.

--

Reply via email to