RFC: Change what assert does on error

Dennis dkorpel at gmail.com
Fri Jul 4 10:11:07 UTC 2025


On Friday, 4 July 2025 at 09:56:53 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> scope(exit) is ran when Error passes through it.
>
> This is one of the complicating factors at play.

scope guards and destructor calls are internally lowered to 
finally blocks, they're all treated the same. But let's say they 
aren't, that still doesn't answer the question: what error 
logging code are you writing that relies on clean up code being 
run? What does the output look like with and without?


More information about the Digitalmars-d mailing list