March 28, 2021 [Issue 21779] assert not omitted for -release -checkaction=context | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21779 moonlightsentinel@disroot.org changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=21778 -- | ||||
March 29, 2021 [Issue 21779] assert not omitted for -release -checkaction=context | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21779 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Dlang Bot <dlang-bot@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 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply