DIP 1006 - Preliminary Review Round 1
Martin Nowak
code at dawg.eu
Tue Nov 21 14:05:12 UTC 2017
On Wednesday, 12 April 2017 at 15:02:49 UTC, Mathias Lang wrote:
> I would say that `-contracts=none` and `-unittest` should
> behave the same as `-release` and `-unittest`, and currently it
> only turns asserts on (
> https://github.com/dlang/dmd/blob/ac3225a025b578d45ff39a40dda35006fb455a37/src/ddmd/mars.d#L1100-L1109 ).
> I'll add a note about it in the DIP.
As said above, asserts in unittests are different, so we could
separate enabling asserts in unittests and in the rest of the
program.
More information about the Digitalmars-d
mailing list