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

Steven Schveighoffer schveiguy at gmail.com
Mon Jan 14 21:55:16 UTC 2019


On 1/12/19 10:34 AM, Seb wrote:
> tl;dr: I was annoyed for years that D's assert are so non informative 
> AssertError, so here's my late Christmas present for the D community. 
> With 2.085 DMD will gain an experimental flag for more informative 
> assertion errors. Feedback on this experimental feature is welcome, s.t. 
> we eventually can enable it by default.
[...]
> Thanks to all the people (Jacob Carlborg, Petar Kirov, Nicolas Wilson, 
> Rainer Schuetze, etc.) who helped me to get this feature into DMD!
> 
> Merry Christmas!

Just want to add in my +1. Thanks!

-Steve


More information about the Digitalmars-d mailing list