[armedbear-devel] CLOS / D-M-C tests failure DMC-TEST-MC.1 help requested

Erik Huelsmann ehuels at gmail.com
Fri Aug 31 21:34:41 UTC 2012


Yup. It works very well now!

Thanks!

Bye,

Erik.

On Mon, Aug 13, 2012 at 3:39 PM, Rudolf Schlatte <rudi at constantly.at> wrote:

>
> On Aug 7, 2012, at 20:41, Erik Huelsmann <ehuels at gmail.com> wrote:
>
> [...]
>
> > So, just to show the code that's failing to be correctly compiled:
> >
> > Form 1:
> > (define-method-combination dmc-test-args-with-optional.4 ()
> >   ((methods ()))
> >   (:arguments &optional (a :default sup-p))
> >   `(progn ,@(mapcar (lambda (method) `(call-method ,method))
> >                     methods)
> >           (values ,a ,sup-p)))
> >
> > Form 2:
> > (defgeneric dmc-test-args-with-optional.4a (x &optional b)
> >   (:method-combination dmc-test-args-with-optional.4)
> >   (:method (x &optional b) (progn x b)))
> >
> >
> > My compilation steps are to go into Form 1 and hit C-c C-c. Then do the
> same with Form 2.
> >
> > Every time when I do that, the method combination of the generic
> function comes out with #<METHOD-COMBINATION STANDARD>. Which is clearly
> wrong.
>
> After fixing Stas's bug report (missing :method-combination initarg for
> standard-generic-functions), following this recipe gets me the right method
> combination.  Can you re-check as well?
>
> Thanks,
>
> Rudi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20120831/66388e40/attachment.html>


More information about the armedbear-devel mailing list