RFC: Change what assert does on error

monkyyy crazymonkyyy at gmail.com
Tue Jul 1 21:34:35 UTC 2025


On Tuesday, 1 July 2025 at 21:19:31 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> 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.

Why not a more insensitive one `pungeepit`?


More information about the Digitalmars-d mailing list