bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mike Gran
Subject: bug#10388: 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 via email to

[Prev in Thread] Current Thread [Next in Thread]