-preview=safer for D
Walter Bright
newshound2 at digitalmars.com
Sat Dec 14 21:21:55 UTC 2024
On 12/14/2024 2:20 AM, Jonathan M Davis wrote:
> if I actually want to do that, I can just start
> putting @safe on my functions, and there's no need for a compiler flag.
We've pushed that for years, but it doesn't work. It doesn't work because of the
transitive nature of @safe - you can't do it piecemeal, it has to be done all at
once.
Safer is enabling the checks, but not transitively.
More information about the Digitalmars-d
mailing list