Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Nasty bug in array-element typeset assignments
- X-seq: zsh-workers 15496
- 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:57:58 +0400
- Importance: Normal
- In-reply-to: <Tc0a88d0154fb44a8a5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> Borsenkow Andrej wrote:
> > > "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.
>
> Yuk. Whoever decided on this has got a job on their hands.
>
Actually, I suspect it is a side effect of subscript quoting cleanup. I do
not see any real changes in bin_typeset that are aimed at the above - but I
suspect that 'foo[1]' was not treated as array subscript before.
BTW it is allowed in 4.0.2, I do not have earlier versions here readily
available. May be, it was always possible?
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author