About switch case statements...

bearophile bearophileHUGS at lycos.com
Sun Nov 15 23:36:30 PST 2009


Walter Bright:

> That is the only one I checked, and it was not a case fall-through bug. 
> It was failure to provide a default.

Sorry...
Most of those bugs seem about the missing break, but indeed it seems that the missing default is an even more common bug, that's why I have said "It's not the most common bug".

Bye,
bearophile



More information about the Digitalmars-d mailing list