[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
Sat Jan 21 17:12:25 UTC 2023


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

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

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

--- Comment #12 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dmd pull request #14841 "Fix issue 11051" fixing this
issue:

- 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