[Issue 18024] checkedint.Warn should be @safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 15 14:56:06 UTC 2017


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

--- Comment #4 from Jack Stouffer <jack at jackstouffer.com> ---
The problem with trying to make Warn @safe is File is still unsafe and will be
for the foreseeable future.

IMO, Abort should be modified to not use Warn, and a new Hook called debug
should give the same behavior as Abort has now. That way, by default checked is
@nogc @safe nothrow pure

--


More information about the Digitalmars-d-bugs mailing list