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

--- Comment #6 from Seb <[email protected]> ---
> The problem with trying to make Warn @safe is File is still unsafe and will 
> be for the foreseeable future.

Well, but we can use the same "trick" / "workaround" as used for stdout?

> 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

That sounds very reasonable!

--

Reply via email to