Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

typeset tied array initialization silently dropped for already tied params



If you already tied SCALAR and array, then doing
typeset -T SCALAR array=(a b c)
silently has no effect, other than changing the separator to : or
whatever you specified there.
typeset -T SCALAR=foo:bar:baz array
does update the value though, and specifying both gives an error as expected.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author