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

--- Comment #6 from Martin Krejcirik <[email protected]> ---
(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.

--

Reply via email to