-preview=safer for D
Walter Bright
newshound2 at digitalmars.com
Mon Jan 6 08:27:46 UTC 2025
On 1/3/2025 2:19 AM, Andrej Mitrovic wrote:
> I can't enable `-preview=safer` only on my own code. It applies transitively to
> everything that's being imported.
True. But you can still turn it on, fix the issues in your own code, and then
turn it off. That's not as useful as it could be, but it still has value.
(It's always a tug of war between applying only to the modules on the command
line or all the ones that are imported.)
More information about the Digitalmars-d
mailing list