Implicit fall through not detected (Example from lex.html)
bearophile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Mar 3 03:06:34 PST 2015
Andre:
> I am also not really happy with the actual behavor (w / wi
> switch needed)
You shall always compile your D code with warnings active, unless
you need them disabled for some real reason.
Eventually the fall through warning will become a deprecation and
then an error. It's meant to be an error, but in D we introduce
errors slowly.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list