https://issues.dlang.org/show_bug.cgi?id=16523
--- Comment #6 from Martin Krejcirik <m...@krej.cz> --- (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. --