https://issues.dlang.org/show_bug.cgi?id=11070 --- Comment #10 from Ketmar Dark <ketmar at ketmar.no-ip.org> --- Created attachment 1435 --> https://issues.dlang.org/attachment.cgi?id=1435&action=edit allow vardecls in switch() seems to work, but not heavily tested. --