A bool array in compound array in name space accessed through nameref
does not work in ast-ksh.2013-06-28.

Test case:
./arch/linux.i386-64/bin/ksh -c 'namespace sp1 { compound -a c=(
[4][16]=( bool -a b=( [4][3]=true [4][5]=false ) ) ) } ; nameref
n=.sp1.c[4][16] ; printf "1=%q\n" "${n.b[4][@]}"'
1=

It should print $'1=true\n1=false'.

It looks to me that the combination of nameref and namespace do not
play well with each other.

Olga
-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to