https://issues.dlang.org/show_bug.cgi?id=17906
--- Comment #6 from Seb <greensunn...@gmail.com> --- Copying Mathias's from GH (in case it gets lost) The bug report was more general (before you changed the title). I took delete as an example, because it's what hits me, but I'm pretty sure it affects other deprecations. For example: --- deprecated void main () { int i, o; switch (i) { case 1: o = 1; case 2: o = 2; break; default: } } --- --