Because the asserts check for compiler bugs. Disabling the checks means compiler crashes instead, and much worse, corrupt code being generated.
Comment #1 by bugzilla — 2019-12-19T08:21:07Z
For example, issue 20130.
Comment #2 by dlang-bot — 2019-12-19T08:59:52Z
@WalterBright created dlang/dmd pull request #10679 "fix Issue 20457 - Asserts must not be turned off in release builds of dmd" mentioning this issue:
- Issue 20457 - Asserts must not be turned off in release builds of dmd
https://github.com/dlang/dmd/pull/10679
Comment #3 by b2.temp — 2019-12-19T12:30:43Z
*** Issue 15962 has been marked as a duplicate of this issue. ***