Thread overview
[Issue 20394] "one path skips constructor" when exception is thrown
Nov 15, 2019
Mitu
Nov 15, 2019
Dennis
Dec 03, 2020
Piotr Mitana
November 15, 2019
https://issues.dlang.org/show_bug.cgi?id=20394

Mitu <the.mail.of.mi2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |the.mail.of.mi2@gmail.com

--
November 15, 2019
https://issues.dlang.org/show_bug.cgi?id=20394

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #1 from Dennis <dkorpel@live.nl> ---
An exception represents a recoverable error that can be caught and then you end
up with a partially constructed object.
An assert(0) represents an unrecoverable error, the state of the program
afterwards is undefined so partially constructed objects are possible.

To me the error seems appropriate.

--
December 03, 2020
https://issues.dlang.org/show_bug.cgi?id=20394

Piotr Mitana <piotr.mitana@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|piotr.mitana@gmail.com      |

--
December 13
https://issues.dlang.org/show_bug.cgi?id=20394

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17928

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--