GNU bug report logs - #10388
Assoc list confusion in set-procedure-properties!

Previous Next

Package: guile;

Reported by: Mike Gran <spk121 <at> yahoo.com>

Date: Wed, 28 Dec 2011 09:00:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#10388: closed (Assoc list confusion in set-procedure-properties!)
Date: Thu, 05 Jan 2012 21:58:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 05 Jan 2012 22:54:01 +0100
with message-id <87ty49u87a.fsf <at> gnu.org>
and subject line Re: bug#10388: Assoc list confusion in set-procedure-properties!
has caused the debbugs.gnu.org bug report #10388,
regarding Assoc list confusion in set-procedure-properties!
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
10388: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10388
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mike Gran <spk121 <at> yahoo.com>
To: Bug Guile <bug-guile <at> gnu.org>
Subject: Assoc list confusion in set-procedure-properties!
Date: Tue, 27 Dec 2011 15:14:55 -0800 (PST)
Hi-
 
In Guile 2.0.2, scm_set_procedure_properties (when SCM_ENABLE_DEPRECATED)
has a call to scm_assq where the KEY and ALIST parameters are reversed.
 
To demonstrate, try this
> (define (func x) #t)
> (set-procedure-properties! func (procedure-properties func))
 
ERROR: In procedure assq: Wrong type argument in position 2
(expecting association list): arity
 
Thanks,
 
Mike Gran


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Mike Gran <spk121 <at> yahoo.com>
Cc: 10388-done <at> debbugs.gnu.org
Subject: Re: bug#10388: Assoc list confusion in set-procedure-properties!
Date: Thu, 05 Jan 2012 22:54:01 +0100
Hello!

Mike Gran <spk121 <at> yahoo.com> skribis:

> In Guile 2.0.2, scm_set_procedure_properties (when SCM_ENABLE_DEPRECATED)
> has a call to scm_assq where the KEY and ALIST parameters are reversed.
>  
> To demonstrate, try this
>> (define (func x) #t)
>> (set-procedure-properties! func (procedure-properties func))
>  
> ERROR: In procedure assq: Wrong type argument in position 2
> (expecting association list): arity

Fixed along with the other bug of this line in
fe2400c993927cd7d7ff89ebbe3af4c35e30a0e1, thanks!

Ludo’.


This bug report was last modified 13 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.