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

Gary Byers gb at clozure.com
Tue May 5 23:47:50 UTC 2009


Yuck; should be fixed in 1.3 and the trunk as of r12000.

Thanks!

On Tue, 5 May 2009, Pascal Costanza wrote:

> 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
>
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list