DIP 1028---Make @safe the Default---Community Review Round 1
Dominikus Dittes Scherkl
dominikus at scherkl.de
Thu Jan 2 14:37:02 UTC 2020
On Thursday, 2 January 2020 at 11:19:52 UTC, jmh530 wrote:
> On Thursday, 2 January 2020 at 09:47:48 UTC, Mike Parker wrote:
>> This is the feedback thread for the first round of Community
>> Review for DIP 1028, "Make @safe the Default":
>>
>
> I believe this DIP should be not be accepted until [...]
> someone writes a tool that adds @system to every function that
> is not annotated @safe or @trusted (or already @system)
> (probably not that hard).
Yes, yes!
But this tool should not slap @system on every function, but only
on those that don't compile with the new default - the rest was
already @safe but the proper annotation was missing, so this is
the benefit we get. Don't waste it!
More information about the Digitalmars-d
mailing list