Created attachment 396 [details] Fix the problem (DMD 2.030) Return statement is not handled in ForeachRangeStatement::interpret(). As a result, the static assert in this code wrongly fails: -------------------- int foo() { foreach (i; 0 .. 1) return 1; return 0; } static assert(foo() == 1); --------------------
Fixed dmd 2.032