[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pure-fns in byte-opt.el
From: |
Stefan Monnier |
Subject: |
Re: pure-fns in byte-opt.el |
Date: |
Sun, 24 Sep 2017 12:24:28 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>> > >So I think the problem happens in unidata-word-list-compress, and it
>> > >happens because make-vector, which that function calls always returns
>> > >the same vector, so the vectors used by that function and created by
>> > >it are all messed up.
>> > I don't follow: why does it always return the same vector?
>> That's how I understand what the byte compiler does when you declare
>> that function "pure".
> That sounds like a bug.
Yes, it's a bug to say that `make-vector' is pure.
Stefan