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

Re: [BUG & tentative PATCH] Invalid call to upscope in createparam



On Mon, Jun 2, 2025 at 1:56 AM Philippe Altherr
<philippe.altherr@xxxxxxxxx> wrote:
>
>  With my patch, createparam instead creates the global variable "var2".

But that's exactly what's not supposed to happen.  "typeset -nu"
references are allowed to create globals, "typeset -n" references are
not (they can only update what already exists).




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