Subject: Re: zsh -n does not detect incorrect associative array declaration
From: Peter Stephenson <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Thu, 24 Mar 2016 09:46:55 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Wed, 23 Mar 2016 19:08:30 -0700
Bart Schaefer <[email-masked]> wrote:
> I'd forgotten that bash even supports that syntax, but in any case it
> does change the type in ksh.
>..
> Bash allows you to set numerically-indexed positions in a normal array
> with the ( [key]=value ) syntax, and also outputs the arrays that way
> with "typeset -p".  You can have sparse arrays in bash.

We probably need to decide which to support at some point.

pws