RFC: Change what assert does on error

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Jul 1 21:19:31 UTC 2025


On 02/07/2025 7:18 AM, Kagamin wrote:
> On Sunday, 29 June 2025 at 20:58:36 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> 4. assert is a framework level error mechanism, not "this process 
>> can't continue if its false". We'll need something else for the 
>> latter, it can be library code however.
> 
> ```
> landmine(a.length!=0);
> ```
> Not sure how long should be the name.

I was thinking suicide, but.. that is certainly a less trigger warning 
requiring name.


More information about the Digitalmars-d mailing list