Bart Schaefer wrote on Wed, Jan 25, 2017 at 13:50:06 -0800: > 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. Patch attached. Cheers, Daniel