On Thu, Jan 22, 2015 at 2:28 AM, David Korn <dgk...@gmail.com> wrote:
> I will add this to my bug list.  There seems to be a problem with adding
> attributes to individual elements of an associative array.
>

I get the same error for 1D or 3D indexed arrays if I replace [foo]
with [4] or [3][20][100] and compound -A with compound -a.


>
> On Wed, Jan 21, 2015 at 4:57 PM, Wendy Lin <wendlin1...@gmail.com> wrote:
>>
>> sh -c 'print ${.sh.version}'
>> Version ABIJM 93v- 2014-07-21
>>
>> should the next line not print 'ok\ntrue'?
>>
>> sh -c 'set -o nounset ; compound -A c ; bool c[foo].a=true ; ((
>> c[foo].a )) && print ok ; print ${c[foo].a}'
>> false
>>
>> Wendy
>
>
>
> _______________________________________________
> ast-developers mailing list
> ast-developers@lists.research.att.com
> http://lists.research.att.com/mailman/listinfo/ast-developers
>

Josh
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to