version(assert) and Phobos release unittest build

Dicebot public at dicebot.lv
Thu Nov 28 08:40:55 PST 2013


I have quickly tested it and looks like asserts are not removed 
from unittest blocks in release builds, only from normal code. 
Which does not seem to be documented on dlang.org but was 
probably introduced exactly to prevent existing tests from 
breaking in release mode. I have just learned something new :)


More information about the Digitalmars-d-learn mailing list