Hello,

The following sequence causes a problem with the current Guile:

% guile -q
guile> (define f (make-procedure-with-setter (lambda (a) a) (lambda (a v) v)))
guile> (f)
standard input:5:1: In expression (f):
standard input:5:1: Bad memory access (Segmentation violation)
ABORT: (signal)
guile> 

I think this should throw a wrong-number-of-args error, as the following
evaluation does:

guile> ((procedure f))
standard input:4:1: In expression ((procedure f)):
standard input:4:1: Wrong number of arguments to #<procedure (a)>
ABORT: (wrong-number-of-args)

Thanks,
Keisuke Nishida

Reply via email to