--- Begin Message ---
Subject: |
[PATCH] bug in generator function with pcase |
Date: |
Sun, 12 Mar 2017 09:51:23 +0100 |
To reproduce:
(iter-next (funcall (iter-lambda () (pcase (list 1 2)
(`(,a ,b) (iter-yield (+ a b)))))))
Patch is attached. I have no idea if it affects something else, but
matching symbols with `eq' on their names (`eq' on strings?!) seems
outright wrong to me.
On a side note: bug report I sent yesterday with M-x report-emacs-bug
was silently lost.
Paul
cl-macs.diff
Description: Text document
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26068: [PATCH] bug in generator function with pcase |
Date: |
Sun, 19 Mar 2017 15:18:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Paul Pogonyshev <address@hidden> writes:
> To reproduce:
>
> (iter-next (funcall (iter-lambda () (pcase (list 1 2)
> (`(,a ,b) (iter-yield (+ a b)))))))
>
> Patch is attached. I have no idea if it affects something else, but
> matching symbols with `eq' on their names (`eq' on strings?!) seems
> outright wrong to me.
>
> On a side note: bug report I sent yesterday with M-x report-emacs-bug
> was silently lost.
Applied as 0d112c00.
--- End Message ---