zsh-workers
 help / color / mirror / code / Atom feed
* Bug in alias expansion
@ 2015-11-13 18:03 Kynn Jones
  2015-11-14  1:03 ` Bart Schaefer
  2015-11-15 20:03 ` Peter Stephenson
  0 siblings, 2 replies; 22+ messages in thread
From: Kynn Jones @ 2015-11-13 18:03 UTC (permalink / raw)
  To: zsh-workers

The example below illustrates the problem:

#### OK VERSION 5.0.7 ####
% zsh --version
zsh 5.0.7 (x86_64-pc-linux-gnu)
% typeset -A frobozz
% alias -g foo='echo xyz'
% frobozz[$(foo)]=9
% echo ${(kv)frobozz}
xyz 9

#### FAILING VERSION 5.1 ####
% zsh --version
zsh 5.1 (i386-unknown-netbsdelf6.1)
% typeset -A frobozz
% alias -g foo='echo xyz'
% frobozz[$(foo)]=9
zsh: not an identifier: frobozz[$(fooech9


In the examples above, the code is identical in both cases, up to (and
including) the first failing command.

Failure reproduced also under zsh 5.1.1 (x86_64-debian-linux-gnu).
(Ref: http://unix.stackexchange.com/q/242730/10618)

kj


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-11-18 18:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-13 18:03 Bug in alias expansion Kynn Jones
2015-11-14  1:03 ` Bart Schaefer
2015-11-14 18:57   ` Kynn Jones
2015-11-14 19:03     ` Bart Schaefer
2015-11-14 19:19       ` Kynn Jones
2015-11-14 21:40         ` Bart Schaefer
2015-11-14 22:20           ` Kynn Jones
2015-11-15 20:03 ` Peter Stephenson
2015-11-15 21:52   ` Bart Schaefer
2015-11-15 22:26     ` Bart Schaefer
2015-11-15 22:48   ` Bart Schaefer
2015-11-16  0:50     ` Mikael Magnusson
2015-11-16  3:24       ` Bart Schaefer
2015-11-16  5:42         ` Mikael Magnusson
2015-11-18 10:42     ` Peter Stephenson
2015-11-18 14:13       ` Peter Stephenson
2015-11-18 15:52         ` Bart Schaefer
2015-11-18 16:14           ` Peter Stephenson
2015-11-18 18:09             ` Bart Schaefer
2015-11-17 17:29   ` Peter Stephenson
2015-11-18  4:55     ` Bart Schaefer
2015-11-18 10:30       ` 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).