it does: z00.d(9): Warning: statement is not reachable
Comment #2 by shammah.chancellor — 2015-03-28T17:43:07Z
Why are warnings not being printed by default?
Comment #3 by ketmar — 2015-03-28T18:15:26Z
i believe that this is a historic thingy. almost any C compiler is silent by default, do did DMD. i think it worth ER, as there is no same reason to not print warnings by default.
Comment #4 by k.hara.pg — 2015-03-29T04:23:57Z
DMD actually report "statement is not reachable" warning with -w switch. So this is an invalid issue.