* local doesn't work in zsh 3.1.2
@ 1997-08-20 7:35 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1997-08-20 7:35 UTC (permalink / raw)
To: Zsh hackers list
% unset foo; fn() { local foo; foo=(bar); }; fn; print $foo
bar
setting a variable as an array makes it forget that it's local. This
may or may not be due to some patch since 3.1.2. It's not in the
standard 3.0.4.
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-08-20 7:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-20 7:35 local doesn't work in zsh 3.1.2 Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).