Thread overview
[Issue 20797] Destructor marked as nothrow renders try-catch block useless
May 05, 2020
Nicholas Wilson
May 05, 2020
RazvanN
May 05, 2020
RazvanN
May 05, 2020
https://issues.dlang.org/show_bug.cgi?id=20797

Nicholas Wilson <iamthewilsonator@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iamthewilsonator@hotmail.co
                   |                            |m

--- Comment #1 from Nicholas Wilson <iamthewilsonator@hotmail.com> ---
Doesn't throw or doesn't catch the crown exception? I think it should throw and catch.

--
May 05, 2020
https://issues.dlang.org/show_bug.cgi?id=20797

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
(In reply to Nicholas Wilson from comment #1)
> Doesn't throw or doesn't catch the crown exception? I think it should throw and catch.

Yes, I meant, that the expected result is that code exits gracefully by throwing and catching exactly 1 exception.

--
May 05, 2020
https://issues.dlang.org/show_bug.cgi?id=20797

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> ---
Closing this. I was on a branch where I did some modifications to some other code. On git master it does this issue does not manifest.

--