Docs: Section on local variables

bearophile bearophileHUGS at lycos.com
Fri Apr 20 12:26:17 PDT 2012


Nick Sabalausky:

> Since implicit fallthrough is going away, that's more a problem 
> with a *missing* warning (in the second example) rather than an 
> erroneous warning.

Implicit fallthrough is going away, but Walter has decided to add 
it a special case, when the case is totally empty it's allowed. 
So both programs are correct (I don't love special cases, but 
here I think Walter doesn't want to cause too much D code 
disruption).

Bye,
bearophile


More information about the Digitalmars-d mailing list