My late christmas present for you: context-aware assertion error messages

Kagamin spam at here.lot
Tue Jan 15 08:47:24 UTC 2019


And what happens to other expressions?

assert(a == b); // ERROR: 1 != 2
assert(c.has(d)); // ERROR: c.has(d)

The message will have an opposite meaning?


More information about the Digitalmars-d mailing list