Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh (live version): setting globassign crashes completion
- X-seq: zsh-workers 35367
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: zsh (live version): setting globassign crashes completion
- Date: Tue, 2 Jun 2015 16:21:25 +0200
- Cc: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zAajJdEBOLkXxJJrFFla3hSClkIaaSgvkoigmthx1Rk=; b=aCcUD+nih/za2waDx29Bw9BXB6cKy2+uwfi1noA2yQM96iDlrTvzwkV/hEwqKrN74p lPYhMnl6x0c9izmtWm1PpUkzrRXsTyD6DudprZH2OtSUXWxuzljfZgfiXpdZZBjxEDvh xTfUxaYvidQ+xTlwZZH+lpsUcOciaKPWGQxA81pJrgHBbkg5QHfXS4ZX4JTybliI2MPC aVCfxF+tCMl7y8sByDqiW6jB8h6S9ZJoBp/KsT7JilgCBai1ooTakx59WBRyTp/ck5GQ V0sUVeqVs2jcZH77NxmMYi4BopFZydtFVJ1kuV/j1tnz1wCiL9VEtn2Tp/TUILZXIVjH NZUQ==
- In-reply-to: <20150602150004.494d2311@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <556D9EBE.4050702@gmail.com> <20150602143606.346a5abc@pwslap01u.europe.root.pri> <CAHYJk3QDmytycz+A=bP7rKnVsYK_MYcGWg6sjQskhwtPwWggnw@mail.gmail.com> <20150602150004.494d2311@pwslap01u.europe.root.pri>
On Tue, Jun 2, 2015 at 4:00 PM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Tue, 2 Jun 2015 15:45:09 +0200
> Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>> My money is on
>> "33816, 33819: GLOB_ASSIGN changes integer and floating type variables
>> to string scalars"
>> I checked that my patch still passes the test added by those patches,
>> and it does.
>
> (Moved to zsh-workers.)
>
> Ick.
>
> We'd better do this, too.
>
> pws
>
> diff --git a/Test/E01options.ztst b/Test/E01options.ztst
> index 5c453c8..195ce56 100644
> --- a/Test/E01options.ztst
> +++ b/Test/E01options.ztst
> @@ -483,6 +483,14 @@
> >tmpcd tmpfile1 tmpfile2
> >tmp*
>
> + (setopt globassign
> + typeset -A foo
> + touch gatest1 gatest2
> + foo=(gatest*)
> + print ${(t)foo})
> +0:GLOB_ASSIGN doesn't monkey with type if not scalar assignment.
> +>association-local
> +
> mkdir onlysomefiles
> touch onlysomefiles/.thisfile onlysomefiles/thatfile
> setopt globdots
Hm, there's one GLOB_ASSIGN test in A06 and one in E01, should we move
them together? Also, my patch had some unrelated gunk in the context,
sorry about that.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author