Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: params.c:2985: BUG: assigning to undeclared associative array
- X-seq: zsh-workers 38612
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: params.c:2985: BUG: assigning to undeclared associative array
- Date: Sat, 4 Jun 2016 11:09:00 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=+TKj4kcLBu1jw9M2+c9DSPXXD1NcHMBBvnhIcSKF3ps=; b=MGXdkIzcpkyQKwlz9CGwmRLStMmSw+l82kKBWt/VzwwrPLAcKg95UGDMwtlcHwqmxA ODX2pSQ3U/RFZar67JcPRDknfUMWPsYXcl/Mbkp8OkGkA/H2uwY9G2pklF527zoeSPpP fX+VUxsa+7BYghrGXAxLN+kzSBcZi+qkQu3Sd1VW0xbhXo1OHZ38M1HptdDvensmlUze t9JjDRrSGfBQ3TX3C76odZMLZIS3aCwt73d59q1MG/tV1vcRB+07Lms/VWjQNHYEKC3l uXulvy7R9ku2gEm2pHCr8Jfeu5EGn+V0rdrML5byTvbzluBrTdpuFlbpZ+tgtawCgkn+ iEJw==
- In-reply-to: <20160604165723.GA30917@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160604165723.GA30917@tarsus.local2>
On Jun 4, 4:57pm, Daniel Shahaf wrote:
}
} $ zsh -f
} % : ${(AA)foo::=bar}
} params.c:2985: BUG: assigning to undeclared associative array
} zsh: bad set of key/value pairs for associative array
This is a false positive; use of (AA) should be considered to have
"declared" the parameter.
I may look into this later if no one beats me to it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author