"Try it now"

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Apr 14 09:48:26 PDT 2011


On 4/14/11 9:03 AM, Steven Schveighoffer wrote:
> Sometimes, I worry that my unit tests or asserts aren't running. Every
> once in a while, I have to change one to fail to make sure that code is
> compiling (this is especially true when I'm doing version statements or
> templates). It would be nice if there was a -assertprint mode which
> showed asserts actually running (only for the module compiled with that
> switch, of course).

Could this be achieved within the language?

Andrei


More information about the Digitalmars-d mailing list