[Issue 20797] Destructor marked as nothrow renders try-catch block useless

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 5 08:43:13 UTC 2020


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

--- Comment #2 from RazvanN <razvan.nitu1305 at 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.

--


More information about the Digitalmars-d-bugs mailing list