[Issue 17505] [REG2.075] @safe constructor requires the deconstructor to be safe as well

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 16 20:12:46 PDT 2017


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
                 CC|                            |code at dawg.eu

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
Introduced by https://github.com/dlang/dmd/pull/6816

Also manifestates in libasync
https://github.com/etcimon/libasync/blob/a56cf33720731de717ef5d6c5f1c0d51341da145/source/libasync/events.d#L57.

----
source/libasync/events.d(57,2): Error: destructor
'libasync.events.EventLoop.~this' is not nothrow
source/libasync/events.d(57,2): Error: nothrow constructor
'libasync.events.EventLoop.this' may throw
----

--


More information about the Digitalmars-d-bugs mailing list