Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Nasty bug in array-element typeset assignments



>
> "Bart Schaefer" wrote:
> >         local 'foo[1]'=X
>
> Is this supposed to be supported?  I certainly haven't done anything about
> it.
>

Yes, recent changes has enabled it. I suspect, typeset is confused ... we
ask for foo[1] that does not yet exist, so dereferencing gives us outer foo
...

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author