Subject: Assoc list confusion in set-procedure-properties!
From: Mike Gran <[email-masked]>
To: Bug Guile <[email-masked]>
Date: Tue, 27 Dec 2011 15:14:55 -0800 (PST)
List-Id: <debbugs-submit.debbugs.gnu.org>

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