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

Re: [PATCH] Remove support for named references to subscripted variables



Confirming this is on top of workers/53776, which was already applied.

Yes, workers/53776 was about making sure that statements like "typeset -n ref=()" would trigger an error about the fact that the value () can't be assigned to a not-yet-initialized reference. The patch above in workers/54269 is about restricting references to plain variables, i.e., allowing "typeset -n ref=array" but not "typeset -n ref=array[index]".

Philippe



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