https://issues.dlang.org/show_bug.cgi?id=23744
--- Comment #3 from Bradley Chatha <[email protected]> --- Apologies, I forget using tab in a browser text editor is generally unwise :D Anyway: ``` static if(false) case 0: yada... break; ``` The static if (also works for static foreach) only attached itself to the resulting `case 0:` AST Node; leaving the 'body' of the case in some strange limbo state, causing semantic errors. Which fully explains some of the weirdness displayed, especially why brackets removes the issue. --
