--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#10388: Assoc list confusion in set-procedure-properties! |
Date: |
Thu, 05 Jan 2012 22:54:01 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Hello!
Mike Gran <address@hidden> 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’.
--- End Message ---