From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4175 invoked from network); 26 Jul 2001 09:29:16 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jul 2001 09:29:16 -0000 Received: (qmail 27601 invoked by alias); 26 Jul 2001 09:29:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15494 Received: (qmail 27589 invoked from network); 26 Jul 2001 09:29:08 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: Borsenkow Andrej To: Zsh hackers list Subject: RE: Nasty bug in array-element typeset assignments Date: Thu, 26 Jul 2001 13:28:57 +0400 Message-ID: <001b01c115b5$657254a0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 > > "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