dip1000 and preview in combine to cause extra safety errors
John Colvin
john.loughran.colvin at gmail.com
Thu Jun 9 12:58:38 UTC 2022
On Wednesday, 8 June 2022 at 23:29:53 UTC, Walter Bright wrote:
> On 6/8/2022 12:33 PM, 12345swordy wrote:
>> You shouldn't have to mark your functions safe to prevent
>> shooting yourself in the foot.
>
> I agree, but the DIP to make functions @safe by default was
> rejected.
Because it contained “assume all C code is @safe unless
explicitly marked otherwise”, which is pretty wild!
More information about the Digitalmars-d
mailing list