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

Timon Gehr timon.gehr at gmx.ch
Wed Jan 15 02:10:53 UTC 2020

On 13.01.20 22:46, Adam D. Ruppe wrote:
> On Monday, 13 January 2020 at 21:43:24 UTC, bachmeier wrote:
>> All of this because adding a -safe switch isn't sufficient for those 
>> that want safe by default.
> Or better yet, let's make `@safe:` work well so we can do this on a 
> per-module level. See:
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_01_13.html#my-attribute-proposal---no-changes-to-defaults 

It does not mention nested functions and auto return functions. They 
should be treated like template functions (as they also have attributes 
inferred by default).

More information about the Digitalmars-d mailing list