Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Nasty bug in array-element typeset assignments
- X-seq: zsh-workers 15494
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: RE: Nasty bug in array-element typeset assignments
- Date: Thu, 26 Jul 2001 13:28:57 +0400
- Importance: Normal
- In-reply-to: <Tc0a88d0154fb31705e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> "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