Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug report: assigning $! to an array element doesn't work
- X-seq: zsh-workers 53035
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Frava <fravadona@xxxxxxxxx>
- Subject: Re: Bug report: assigning $! to an array element doesn't work
- Date: Thu, 15 Aug 2024 09:59:45 +0100 (BST)
- Archived-at: <https://zsh.org/workers/53035>
- Importance: Normal
- In-reply-to: <CAH+w=7bxjDZD6XJf5CVxboe_Xgj7k3BG1CJdVLNd1ebdKMj4ug@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAFYhPDuZf0aH39v94-FBrSVduWUAK2YtGwwJ5racL-haGEhADw@mail.gmail.com> <CAH+w=7bxjDZD6XJf5CVxboe_Xgj7k3BG1CJdVLNd1ebdKMj4ug@mail.gmail.com>
> On 15/08/2024 02:16 BST Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Changing line 1405 to
>
> 1405 if (seen_brct && brct)
>
> still passes all "make check" tests, and fixes the assignment.
Without an explicit test for the problem cases inolved to guide us further,
that's probably good enough. It's not obviously wrong and any problem
is going to be obscure.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author