Error handling meeting summary

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Jul 26 21:13:37 UTC 2025


On 27/07/2025 9:12 AM, Sebastiaan Koppe wrote:
> On Saturday, 26 July 2025 at 19:55:17 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> On 26/07/2025 12:03 PM, Steven Schveighoffer wrote:
>>> On Friday, 25 July 2025 at 16:58:43 UTC, Richard (Rikki) Andrew 
>>> Cattermole wrote:
>>>> Hello all!
>>>>
>>>> We've had a meeting on how error handling should work in D.
>>>>
>>>> Approved work:
>>>>
>>>> - Finalisers are brought back to the baseline behaviour. They will 
>>>> not be rewritten to sequences in the frontend.
>>>
>>> Can you explain this? The link isn't very explanatory for those who 
>>> don't understand the DMD codebase.
>>>
>>> -Steve
>>
>> Yeah sure.
>>
>> [...]
> 
> Unfortunately the explanation isn't very clear for me. Am I correct to 
> think that this will ensure structs in `nothrow` functions now get their 
> destructors run on assert / throw Error?

Yes, that is correct.

Walter's approach where this does not happen will have a switch to 
enable (assuming he implements it).



More information about the Digitalmars-d mailing list