https://issues.dlang.org/show_bug.cgi?id=15535
--- Comment #1 from Johan Engelen <[email protected]> --- (This is probably mostly a note to self.) Note that "goto default" means to go to the default label of the current switch statement only. So this does not work: void main() { int i = 1; switch (i) { case 1: final switch(i) { case 1: goto default; } default: i = 666; break; } assert(i == 666); } The code compiles and when run will throw core.exception.SwitchError@gotodefault(6): No appropriate switch clause found (line 6 contains the "goto default") --
