unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#10388: Assoc list confusion in set-procedure-properties!
@ 2011-12-27 23:14 Mike Gran
  2012-01-05 21:54 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Gran @ 2011-12-27 23:14 UTC (permalink / raw)
  To: 10388

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#10388: Assoc list confusion in set-procedure-properties!
  2011-12-27 23:14 bug#10388: Assoc list confusion in set-procedure-properties! Mike Gran
@ 2012-01-05 21:54 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2012-01-05 21:54 UTC (permalink / raw)
  To: Mike Gran; +Cc: 10388-done

Hello!

Mike Gran <spk121@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’.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-05 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-27 23:14 bug#10388: Assoc list confusion in set-procedure-properties! Mike Gran
2012-01-05 21:54 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).