Cedric Blancher
2017-02-03 10:35:04 UTC
Why do compound structs not work in ksh types?
typeset -T vm_t=(
compound nested
integer size
float f=0
)
compound container=(
vm_t -A foo=(
[f]=(
f=-inf
nested=( z=1 )
size=1
)
)
)
print -v container
returns the error test.ksh[17]: print: nested.z: is not an element of
container.foo[f]
Ced
typeset -T vm_t=(
compound nested
integer size
float f=0
)
compound container=(
vm_t -A foo=(
[f]=(
f=-inf
nested=( z=1 )
size=1
)
)
)
print -v container
returns the error test.ksh[17]: print: nested.z: is not an element of
container.foo[f]
Ced
--
Cedric Blancher <***@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur
Cedric Blancher <***@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur