January 06
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.)
1 2 3 4 5
Next ›   Last »