Re: self-reference to assoc.-array variable

2022-09-20 Thread Chet Ramey
On 9/15/22 4:46 PM, kurt wrote: Bash Version: 5.1 Patch Level: 16 Release Status: release Description: a declaration like the following was possible before bash-version 5.1: declare -r -A MYAR=( ['first']="NUMBER ONE" # --- 'self-r

Re: self-reference to assoc.-array variable

2022-09-19 Thread Martin D Kealey
Regression appears to have occurred between bash-5.0.18 and bash-5.1-alpha at commit 712f80b0. (I note that this commit is missing from the master branch, which only includes bash-5.0.17 at commit.) I tried to find the change in the devel branch, but ugh, git diff between devel & master is unhelpf

self-reference to assoc.-array variable

2022-09-15 Thread kurt
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall uname output: Linux kurt-OptiPlex-7