December 17, 2022 [Issue 19512] Exception during scope(exit) of an exception yields undefined behavior | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19512 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 -- |
April 25, 2023 [Issue 19512] Exception during scope(exit) of an exception yields undefined behavior | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19512 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WORKSFORME --- Comment #1 from RazvanN <razvan.nitu1305@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. -- |
Copyright © 1999-2021 by the D Language Foundation