On 5/22/16 6:43 PM, Grisha Levit wrote:
> This multiple-vars-at-same-scope thing happens also happens in the case
> that the nameref points to a variable at a higher scope of the same name as
> the nameref. I suspect this is related to the nameref resolution issue here
> http://lists.gnu.org/archive/html/bug-bash/2016-05/msg00115.html

It doesn't happen any more; the attempt to create the second array `a' is
trapped and rejected.  I'd like to catch the error earlier, though, kind
of like ksh93 does.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to