Thread overview
[Issue 6921] Request for a 'static final switch' statement
Jul 22, 2014
Vlad Levenfeld
Dec 03, 2015
Tanel Tagaväli
July 22, 2014
https://issues.dlang.org/show_bug.cgi?id=6921

Vlad Levenfeld <vlevenfeld@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vlevenfeld@gmail.com

--
June 10, 2015
https://issues.dlang.org/show_bug.cgi?id=6921

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--
December 03, 2015
https://issues.dlang.org/show_bug.cgi?id=6921

Tanel Tagaväli <tanel58@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tanel58@hotmail.com

--
August 05, 2016
https://issues.dlang.org/show_bug.cgi?id=6921

TeddyBear12311@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |TeddyBear12311@gmail.com

--- Comment #2 from TeddyBear12311@gmail.com ---
It would also be nice to have a static final switch on a type tuple. Essentially every type in the type tuple must have an equivalent case. I've ran across a few bugs in my code due to the fact that I forgot a static if (T == sometype). It just fails silently. This happens when new types are added.

--
October 15, 2016
https://issues.dlang.org/show_bug.cgi?id=6921

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrei@erdani.com
         Resolution|---                         |WONTFIX

--