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

--- Comment #5 from Marc Schütz <[email protected]> ---
(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.

--

Reply via email to