https://issues.dlang.org/show_bug.cgi?id=23676
Dennis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #8 from Dennis <[email protected]> --- Reduced a bit further: ``` void f() { int i; bool g(int I)() { static foreach(j; 0..11) { i++; return g!j(); } } g!0; } ``` The 11 is the number of enum members of Type. The amount of calls to `checkEscapingSiblings` grows exponentially based on the loop length, which is why compilation hangs. --
