https://issues.dlang.org/show_bug.cgi?id=4508
Nick Treleaven <n...@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n...@geany.org --- Comment #2 from Nick Treleaven <n...@geany.org> --- `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. --