Thread overview
[Issue 23001] [REG 2.063] missing unreachable code warning with switch inside switch
[Issue 23001] missing unreachable code warning with switch inside switch
Dec 28, 2022
Iain Buclaw
Dec 28, 2022
Iain Buclaw
Dec 28, 2022
Dlang Bot
April 10, 2022
https://issues.dlang.org/show_bug.cgi?id=23001

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
           Severity|normal                      |regression

--- Comment #1 from moonlightsentinel@disroot.org ---
Regression introduced in 2.063.1 according to run.dlang.io. Probably caused by the same PR that introduced issue 22999

--
December 28, 2022
https://issues.dlang.org/show_bug.cgi?id=23001

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|missing unreachable code    |[REG 2.063] missing
                   |warning with switch inside  |unreachable code warning
                   |switch                      |with switch inside switch

--
December 28, 2022
https://issues.dlang.org/show_bug.cgi?id=23001

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Looks like this was introduced by https://github.com/dlang/dmd/pull/1820

--
December 28, 2022
https://issues.dlang.org/show_bug.cgi?id=23001

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #14749 "fix Issue 23001 - [REG 2.063] missing unreachable code warning with switch inside switch" fixing this issue:

- fix Issue 23001 - [REG 2.063] missing unreachable code warning with switch inside switch

https://github.com/dlang/dmd/pull/14749

--
November 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23001

Steven Schveighoffer <schveiguy@gmail.com> changed:

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

--- Comment #4 from Steven Schveighoffer <schveiguy@gmail.com> ---
The unreachable code warning is being retired. https://github.com/dlang/dmd/pull/15568

Should we close this as WONTFIX?

--