Thread overview
[Issue 18946] assert message can throw hijacking the assert failure.
Jun 05, 2018
Shachar Shemesh
Sep 06, 2018
Nicholas Wilson
Sep 06, 2018
Nicholas Wilson
Dec 06, 2021
RazvanN
June 05, 2018
https://issues.dlang.org/show_bug.cgi?id=18946

Shachar Shemesh <shachar@weka.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shachar@weka.io

--
September 06, 2018
https://issues.dlang.org/show_bug.cgi?id=18946

Nicholas Wilson <iamthewilsonator@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |major

--
September 06, 2018
https://issues.dlang.org/show_bug.cgi?id=18946

Nicholas Wilson <iamthewilsonator@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |safe
           Hardware|x86                         |All
                 OS|Mac OS X                    |All

--- Comment #1 from Nicholas Wilson <iamthewilsonator@hotmail.com> ---
https://github.com/dlang/dmd/pull/8673

Upping the priority since this can prevent asserts from doing their thing.

--
December 06, 2021
https://issues.dlang.org/show_bug.cgi?id=18946

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

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

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

--