DIP 1028---Make @safe the Default---Community Review Round 1

MoonlightSentinel moonlightsentinel at disroot.org
Tue Jan 14 10:21:21 UTC 2020

On Tuesday, 14 January 2020 at 06:12:35 UTC, Jesse Phillips wrote:
> I agree and I think my request for a depreciation plan would 
> request that unspecified interface methods be deprecated.
> https://forum.dlang.org/post/bojmstnsnfydfaggslzj@forum.dlang.org

I don't think deprecating would be a good idea since it make more 
attributes mandatory which isn't helpful for quick scripts and 
disrupts existing builds using -de.

Another approach could be to highlight problematic functions 
(which are really @system but not annotated as such). Hence I 
implemented -transition=safe to list these functions as a less 
intrusive message, see https://github.com/dlang/dmd/pull/10715

More information about the Digitalmars-d mailing list