https://d.puremagic.com/issues/show_bug.cgi?id=10939



--- Comment #3 from Kenji Hara <k.hara...@gmail.com> 2014-01-05 22:33:09 PST ---
Current behavior:

If "-release" is specified, following code would be stripped normally:
- invariant
- in contract
- out contract
- assertions

 https://github.com/D-Programming-Language/dmd/blob/master/src/mars.c#L1107

But, if "-unittest" is specified at the same time, just only assertions will be
re-enabled.

 https://github.com/D-Programming-Language/dmd/blob/master/src/mars.c#L1121

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to