On 28/11/13 20:25, Joseph Rushton Wakeling wrote:
assert statements in the main body of code (not just the unittests) are enabled with -release if -unittest is turned on, but in- and out-contracts are still stripped.
After consideration, I think that this is the real issue here: it's not a problem that -unittest preserves assert() statements, but it _is_ a problem that it doesn't preserve _all_ of them.
I've filed a bug report to this effect: https://d.puremagic.com/issues/show_bug.cgi?id=11636