bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62256: 28.2; Invalid edebug spec gv-define-simple-setter


From: Matus Goljer
Subject: bug#62256: 28.2; Invalid edebug spec gv-define-simple-setter
Date: Thu, 23 Mar 2023 19:11:01 +0100

Do you want me to prepare a patch?  I think there's more incorrect specs in the gv package now.

m.

On Thu, 23 Mar 2023 at 19:07, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> From: Matúš Goljer <matus.goljer@gmail.com>
>> Date: Sat, 18 Mar 2023 14:36:53 +0100
>>
>> Actually, I think the problem is using the spec
>>
>> (&or symbolp lambda-expr)
>>
>> instead of
>>
>> [&or symbolp lambda-expr]
>>
>> Because the list construct here always makes "a list with content".  So
>> this spec says "a list with one thing in it, either a symbol or a
>> lambda" which would match
>>
>> (gv-define-simple-setter aref (aset))
>
> Stefan, any comments?

He's right!


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]