Hi,Probably I pretty simple question, how could I mark some code to be compiled when in debug OR unittest mode? (or both, ||)
At first I tough I could do:
version(unittest, debug) {}
but this doesn't work.
Then I tried to define a new version:
version(DebugOrUnittest)
{
version = debug;
version = unittest;
}
But this also doesn't work.
