[Issue 18946] assert message can throw hijacking the assert failure.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 6 07:53:18 UTC 2021


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

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

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

--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
I don't think this is a valid issue. This is a niche case (where the formatting
function throws) and uglifying the compiler to support this is not worth it.
Also, the Error should not be caught anyway. If the formatting function throws,
it should be the users job to catch this.

--


More information about the Digitalmars-d-bugs mailing list