[Issue 21779] assert not omitted for -release -checkaction=context

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 29 01:16:02 UTC 2021


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #12315 "Fix 21779 - Don't generate messages for disabled
assertions" was merged into master:

- e2320afc2b8eb7109d8c87706433e1cb74a763c5 by MoonlightSentinel:
  Fix 21779 - Don't generate messages for disabled assertions

  Only generate messages when the assert is not omitted due to `-release`
  or `-check=assert=off`. The rewrite to create a temporary seems to
  prevent the ellision (and is a waste of time anyways).

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

--


More information about the Digitalmars-d-bugs mailing list