Re: segfault when converting local indexed to associative array

2018-07-17 Thread Chet Ramey
On 7/17/18 1:55 PM, Grisha Levit wrote: > $ echo $BASH_VERSION > 4.4.23(1)-release > $ f() { declare -a a; declare -A a; declare -p a; }; f > bash: declare: a: cannot convert indexed to associative array > declare -aA a > Segmentation fault: 11 > > This behavior is still present in the devel branc

segfault when converting local indexed to associative array

2018-07-17 Thread Grisha Levit
$ echo $BASH_VERSION 4.4.23(1)-release $ f() { declare -a a; declare -A a; declare -p a; }; f bash: declare: a: cannot convert indexed to associative array declare -aA a Segmentation fault: 11 This behavior is still present in the devel branch.