Hi!

----

ast-ksh.2012-09-11 seems to create a [0] element in an indexed array
made out of user-defined types which is embedded as element of another
user-defined type:
-- snip --
$ ksh -c 'typeset -T y_t=( integer d ) ; typeset -T x_t=( y_t -a x ) ;
x_t y ; typeset -p y.x"
'y_t -a y.x=([0]='(typeset -l -i d=0)')
-- snip --

Testing the same with an associative array of user-defined types (e.g.
same test with -a replaced by -A) results in the expected output:
-- snip --
$ ksh -c 'typeset -T y_t=( integer d ) ; typeset -T x_t=( y_t -A x ) ;
x_t y ; typeset -p y.x"'
y_t -A y.x=()
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to