On Thursday, 12 May 2022 at 16:48:05 UTC, H. S. Teoh wrote:
static foreach isn't meant to handle large loops. Writing `static foreach (i; 0 .. 60000)` is generally a bad idea; my suspicion is that the compiler ran out of stack space). It's more for unfolding groups of statements or declarations like cases in a switch-statement.
I understand, but I don't think I had any static foreaches in my code at the time. My case was more comment #10.