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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Nick Treleaven <[email protected]> ---
`foreach (e; seq)` works at compile time for an AliasSeq, so I don't see why
`foreach (i; low..high)` can't make `i` known at compile-time if the bounds are
known.

I think we should rename this bug to apply to any CT-knowable index in a
ForeachRangeStatement.

--

Reply via email to