https://issues.dlang.org/show_bug.cgi?id=14411
--- Comment #1 from Cody Casterline <[email protected]> --- Aw. You have to download the example to see it. To save some time: $ cat switch.d #!/usr/bin/env rdmd import std.stdio; void main() { foreach (i; 1..7) { fn(i); } } void fn(int i) { writeln("fn(", i, ")"); switch(i) { case 1, 2: writeln(" A"); // break; not required!? case 3: case 4: writeln(" B"); // break; not required!? case 5: writeln(" C"); // break; not required!? default: writeln(" D"); } } [codyc@eteco-2:~/test/dlang 01:32:02] $ ./switch.d fn(1) A B C D fn(2) A B C D fn(3) B C D fn(4) B C D fn(5) C D fn(6) D --
