Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: LOCAL_VARS option ?
On Wed, 25 Jan 2017, Daniel Shahaf wrote:
> It does warn if the inner function assigns «var[3]=(three)». I suppose
> it shouldn't, for the same reason as the above case?
It warns in that instance because inserting a slice into an array goes
through the same code branch as assigning to the array as a whole (IIRC).
It is probably not possible to selectively suppress this warning.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author