Compile time foreach with switch

Nick Treleaven via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 24 01:53:33 PDT 2017


On Saturday, 22 April 2017 at 11:56:31 UTC, Nick Treleaven wrote:
> If I compile the above I get:
> Deprecation: switch case fallthrough - use 'goto default;' if 
> intended
>
> IMO the compiler should issue this warning with the OP's code.

https://issues.dlang.org/show_bug.cgi?id=7390#c4


More information about the Digitalmars-d-learn mailing list