https://issues.dlang.org/show_bug.cgi?id=18605
--- Comment #2 from Yuxuan Shui <yshuiv7 at gmail.com> ---
Reduced a bit more:
auto test(T...)() {
L:foreach(_; T) {
continue L;
return 1;
}
}
void main() @safe {
import std.stdio : writeln;
writeln(test!(1,2,3)());
}
--