Thread overview
[Issue 23586] DMD forgets a variable was just declared.
Dec 27, 2022
Iain Buclaw
Dec 27, 2022
Iain Buclaw
Dec 28, 2022
Dlang Bot
Dec 28, 2022
Dlang Bot
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23586

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           Priority|P1                          |P2

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

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Of course the workaround is just to swap the label and the default case.

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

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #14747 "fix Issue 23586 - DMD forgets a variable was just declared" fixing this issue:

- fix Issue 23586 - DMD forgets a variable was just declared

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

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14747 "fix Issue 23586 - DMD forgets a variable was just declared" was merged into master:

- e842284b8e0855d8bda6006e2758a1bfa56c69af by Iain Buclaw:
  fix Issue 23586 - DMD forgets a variable was just declared

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

--