[Issue 16523] [ICE] Internal error: backend/symbol.c 1031

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Sep 21 17:02:34 PDT 2016


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

--- Comment #7 from uplink.coder at 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.

--


More information about the Digitalmars-d-bugs mailing list