http://d.puremagic.com/issues/show_bug.cgi?id=6176



--- Comment #18 from bearophile_h...@eml.cc 2012-01-18 09:53:06 PST ---
(In reply to comment #17)

> We already have an enum switch - it's called final switch.

The purpose of this idea is different. A final switch requires to list all
possibilities and it forbids the default case.


> Inventing something new and calling it enum switch will be confusing.

I see.


> What would it be anyway - just an optional check for the programmer
> similar to the override attribute?

override will stop being optional, see issue 3836. Likewise this was not meant
to be optional, eventually.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to