DIP 1028 "Make @safe the Default" is dead

Timon Gehr timon.gehr at gmx.ch
Fri May 29 09:07:12 UTC 2020


On 29.05.20 06:53, Walter Bright wrote:
> The subject says it all. 

Thanks! For the record, this would have been my preference:

fix @safe, @safe by default >
   fix @safe, @system by default >
     don't fix @safe, @system by default >
       don't fix @safe, @safe by default

While this retraction improves matters in the short term, I think there 
is still potential for improvement. In particular, `@safe` is still 
broken for function prototypes.

> I recommending adding `safe:` as the first line in all your project modules

It would be great if `@safe:` did not affect declarations that would 
otherwise infer annotations.


More information about the Digitalmars-d-announce mailing list