On 2014-02-16 21:03, Walter Bright wrote:

It originally was not required, but there was a campaign by a lot of D
users to make it required to deal with the common bug of adding a value
in one switch statement but forgetting to add it to another
corresponding one.

Isn't that what final switches are for? Or are default statements not allowed in final switches at all?

--
/Jacob Carlborg

Reply via email to