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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10388 in the body.
You can then email your comments to 10388 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#10388; Package guile. (Wed, 28 Dec 2011 09:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gran <spk121 <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Wed, 28 Dec 2011 09:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 05 Jan 2012 21:58:01 GMT) Full text and rfc822 format available.

Notification sent to Mike Gran <spk121 <at> yahoo.com>:
bug acknowledged by developer. (Thu, 05 Jan 2012 21:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 10388-done <at> debbugs.gnu.org (full text, mbox):

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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 03 Feb 2012 12:24:04 GMT) Full text and rfc822 format available.

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.