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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 22 04:44:32 PDT 2015


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

--- Comment #6 from Martin Krejcirik <mk at krej.cz> ---
(In reply to Marc Schütz from comment #5)
> No, the foreach iterates over `values`, which is a tuple. It should
> therefore get unrolled, and `v` should become a constant.

It cannot become a constant if a,b,c are not constants. It could still work if
foreach is unrolled at compile-time, but that would be an enhancement request,
I think.

--


More information about the Digitalmars-d-bugs mailing list