[Issue 11051] Unmatched case in a final switch should throw in both release and non-release mode

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 24 10:48:08 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=11051

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

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

--- Comment #13 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14841 "Fix issue 11051 - Unmatched case in a final
switch should throw in both release and non-release mode" was merged into
master:

- c30a823cdecd206070665950fa1bf0f8231b46d5 by Andrej Mitrovic:
  Fix issue 11051

  Keep a HALT instruction in a final switch statement if
  the function is @safe and -release mode is enabled.

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

--


More information about the Digitalmars-d-bugs mailing list