Switch case falltrhough, regression or intended behavior ?
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Feb 17 13:03:33 PST 2013
On 2/17/13, deadalnix <deadalnix at gmail.com> wrote:
> It used to work.
Are you sure it's a regression?
2.062:
$ dmd test.d
>
$ dmd -w test.d
> test.d(8): Error: switch case fallthrough - use 'goto case;' if intended
> test.d(10): Error: switch case fallthrough - use 'goto default;' if intended
I've tested from 2.062 to 2.057 and they all have this behavior.
More information about the Digitalmars-d
mailing list