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

viniarck viniarck at gmail.com
Sat Jan 12 16:28:57 UTC 2019


On Saturday, 12 January 2019 at 15:34:02 UTC, 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.
>
> [...]

Epic! That's massively useful. I Such a great start for D in 2019 
:)

Thanks a lot, Seb! I'll use this new version soon.


More information about the Digitalmars-d mailing list