Re: Named reference (and other) pending work

Mikael Magnusson <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAHYJk3TCJVj5G8B4Om9G-5OyCSqRov43E7HY51PAXGANg5JiVA@mail.gmail.com>
On Sun, May 3, 2026 at 12:31 AM Bart Schaefer <[email protected]> wrote:
>
> Thanks for the summary.
>
> On Sat, May 2, 2026 at 2:13 PM Philippe Altherr
> <[email protected]> wrote:
> >
> > Review of typeset implementation
> >
> > A few months ago, I started an exhaustive review of the implementation of typeset and found many issues, which lead to many side tracks. Some of them have been resolved and a few others are among the patches listed above. However, I know for sure that there are still issues with typeset. In particular with -p and -m when applied to named references.
>
> -m is not supposed to work at all with named references.
>
> > Turn placeholder dereferencing into an error
> >
> > In ksh, any attempt to dereference a placeholder reference triggers an error. Zsh should do the same.
>
> I disagree (except in ksh emulation mode).  There are other parameter
> cases where ksh has errors but zsh has traditionally yielded empty
> string.

This sounds a little bit like NO_UNSET?

-- 
Mikael Magnusson
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.