Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Nasty bug in array-element typeset assignments
- X-seq: zsh-workers 15497
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: Nasty bug in array-element typeset assignments
- Date: Thu, 26 Jul 2001 11:04:25 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Tc0a88d0154fb44a8a5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: kiddleo
Peter Stephenson wrote:
>
> 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.
Really? So what would it do? Make the whole foo array local or just the
first element? Clearly neither works.
> Yuk. Whoever decided on this has got a job on their hands.
> Typeset is going to get *very* confused. Each change like this multiplies,
I'd say that it already is very confused. I haven't had time for a
couple of weeks now but last time I looked at the nameref stuff, that
code was doing my head in. However, I wouldnt have thought it'd be too
hard to get it to print an error message for the above case.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author