RFC: Change what assert does on error
Derek Fawcus
dfawcus+dlang at employees.org
Sun Jun 29 21:44:49 UTC 2025
On Sunday, 29 June 2025 at 18:04:51 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> What a couple of us are suggesting is that we change the
> default behaviour from ``throw AssertError``.
> To: ``printBacktrace; exit(-1);``
I have no issue with the suggestion.
I simply note that on posix systems, the return value usually
gets mask to 8 bits, so the above is identical to exit(255).
DF
More information about the Digitalmars-d
mailing list