switch()
Jacob Carlborg
doob at me.com
Sun Feb 16 12:06:51 PST 2014
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
More information about the Digitalmars-d
mailing list