https://issues.dlang.org/show_bug.cgi?id=5713
--- Comment #14 from bearophile_hugs at eml.cc ---
Another simple case worth supporting:
void main() {
foreach (immutable i; 0 .. 3) {
final switch (i) {
case 0: break;
case 1: break;
case 2: break;
}
}
}
--