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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |rg
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #2 from [email protected] ---
This regression was introduced by enabling -preview=dtorfields by default[1].
This preview inserts a destructor call into constructors that is executed when
they abort with an exception (using a generated try ... catch ...).

DMD apparently fails to infer `nothrow` given that `-betterC` prohibits
exceptions.

[1] https://github.com/dlang/dmd/pull/11656

--

Reply via email to