[Openmcl-devel] CLOS: next-method-p doesn't work correctly

Pascal Costanza pc at p-cos.net
Tue May 5 05:47:13 PDT 2009


Hi,

See the following simple test method:

(defmethod foo (x)
   (if (next-method-p)
       (call-next-method)
       (print x)))

When I call foo with only this method defined, I get the following  
error:

? (foo 3)
 > Error: Fault during read of memory address #x120000300046
 > While executing: CCL::%NEXT-METHOD-P, in process listener(1).
 > Type :POP to abort, :R for a list of available restarts.
 > Type :? for other options.
1 > (lisp-implementation-version)
"Version 1.3-r11936  (DarwinX8664)"


Best,
Pascal

-- 
ELS'09: http://www.european-lisp-symposium.org/

Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel
Programming Technology Lab
Artificial Intelligence Lab
Pleinlaan 2, B-1050 Brussel, Belgium







More information about the Openmcl-devel mailing list