Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh (live version): setting globassign crashes completion
- X-seq: zsh-workers 35366
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh Hackers' List <zsh-workers@xxxxxxx>
- Subject: Re: zsh (live version): setting globassign crashes completion
- Date: Tue, 02 Jun 2015 15:00:04 +0100
- In-reply-to: <CAHYJk3QDmytycz+A=bP7rKnVsYK_MYcGWg6sjQskhwtPwWggnw@mail.gmail.com>
- 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
- Organization: Samsung Cambridge Solution Centre
- References: <556D9EBE.4050702@gmail.com> <20150602143606.346a5abc@pwslap01u.europe.root.pri> <CAHYJk3QDmytycz+A=bP7rKnVsYK_MYcGWg6sjQskhwtPwWggnw@mail.gmail.com>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author