Re: Segfault on compound assignment to a variable whose name is set in the environment of a declaration builtin.

2012-05-30 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/18/12 2:08 PM, Dan Douglas wrote: Hi Chet, segfault occurs during array assignment if an attempt is made to modify a variable of the same name from the environment. It appears to only occur in the global scope. I imagine the expected

Segfault on compound assignment to a variable whose name is set in the environment of a declaration builtin.

2012-05-18 Thread Dan Douglas
Hi Chet, segfault occurs during array assignment if an attempt is made to modify a variable of the same name from the environment. It appears to only occur in the global scope. I imagine the expected result should be either an error, or to evaluate in a mannar similar to `x=1 let x[x++]=x', for