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: Mike Gran <spk121 <at> yahoo.com>
Subject: bug#10388: closed (Re: bug#10388: Assoc list confusion in
 set-procedure-properties!)
Date: Thu, 05 Jan 2012 21:58:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10388: Assoc list confusion in set-procedure-properties!

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10388 <at> debbugs.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: 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’.

[Message part 3 (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



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.