[Issue 12920] ICE: Internal error: backend/symbol.c 1035

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 22 03:41:11 PDT 2015


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

--- Comment #5 from Marc Schütz <schuetzm at gmx.net> ---
(In reply to Martin Krejcirik from comment #4)
> In this example 'v' is a runtime variable and as such it cannot be a case
> variable.

No, the foreach iterates over `values`, which is a tuple. It should therefore
get unrolled, and `v` should become a constant.

--


More information about the Digitalmars-d-bugs mailing list