Compiler generated assertion error message

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 19 10:52:31 PDT 2014


On a related topic:

Feature like this is extremely convenient for unit tests. However 
using assertions in unit test blocks does not fit well with any 
custom test runner that does not immediately terminate the 
application (because AssertionError is an Error).

I'd personally love some way to get such formatted expression for 
any library function.

What is the official stance on this?


More information about the Digitalmars-d mailing list