version(assert) and Phobos release unittest build

Dicebot public at dicebot.lv
Thu Nov 28 08:04:42 PST 2013


On Thursday, 28 November 2013 at 16:01:06 UTC, Joseph Rushton 
Wakeling wrote:
> On 28/11/13 16:58, Joseph Rushton Wakeling wrote:
>> But even with version(assert) conditionals in place, the 
>> assertThrown is still called.
>
> Come to that, even if I do:
>
>     version(release) {} else { assertThrown(...); }
>
> then the assertThrown is _still_ called even in release mode.

Oh, oops, I thought your issue is exactly other way around, 
sorry. That looks like an issue in assertThrown implementation. 
probably worth a bugzilla entry.


More information about the Digitalmars-d-learn mailing list