[Issue 19512] Exception during scope(exit) of an exception yields undefined behavior

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 25 14:05:56 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=19512

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Using the latest version git master, I am now getting:

This code is reached
This handler is never reached
This code is NOT reached, and C's destructor never runs!
C.~this()
object.Throwable@(0): Bomb

This looks like the correct behavior, so it seems this has been fixed.

--


More information about the Digitalmars-d-bugs mailing list