https://issues.dlang.org/show_bug.cgi?id=14903
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from [email protected] --- Well, what 'should' happen looks pretty straight-forward to me - the dtors of all live temporaries are to be called in any case, and any exceptions thrown by dtors are to be linked to an exception chain. That's what D already does for params/locals, as shown by case 1. I just find it sad that such a horrible bug can make it into a 2nd fresh release. It's literally one of the first things I was thinking about when tackling proper destruction of complex expression trees for LDC. We definitely need more testing, and define test cases and expected outcomes before implementing new, non-trivial features. --
