[Ecls-list] And another CLOS Bug...

Pascal Costanza pc at p-cos.net
Sun Nov 29 23:03:37 UTC 2009


On 29 Nov 2009, at 23:13, Juan Jose Garcia-Ripoll wrote:

> 2009/11/28 Pascal Costanza <pc at p-cos.net>
> Another CLOS bug: The defaulting of the method-class in the ensure-generic-function-using-class methods is incorrect. AMOP says that if the user doesn't provide a default value here, ensure-generic-function-using-class shouldn't do anything here either. However, in the current version of ECL, it defaults to standard-method.
> 
> Fixed in CVS.

OK, thanks a lot for the fast recent bug fixes. I'm trying to test them, but unfortunately I now get a different bug.

See the following transcript:

> (use-package :clos)

T
> (defclass my-gf (standard-generic-function)
    ()
    (:metaclass funcallable-standard-class))

#<The FUNCALLABLE-STANDARD-CLASS MY-GF>
> (defgeneric foo (x y z)
    (:generic-function-class my-gf))

#<MY-GF FOO>
> (defgeneric foo (x y z)
    (:generic-function-class my-gf))

MY-GF is not of type SI:INSTANCE.

Available restarts:

1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (DEFGENERIC FOO (X Y Z) (:GENERIC-FUNCTION-CLASS MY-GF))] In: #<process SI:TOP-LEVEL 00000001005c0f60>.


Since in my test suites, generic functions get redefined a lot, it is hard for me to proceed...


Best,
Pascal

-- 
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel
Software Languages Lab
Pleinlaan 2, B-1050 Brussel, Belgium






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20091130/94010da6/attachment.html>


More information about the ecl-devel mailing list