[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: generic methods and trailing arguments
From: |
Mikael Djurfeldt |
Subject: |
Re: generic methods and trailing arguments |
Date: |
07 Nov 2000 03:22:04 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Mikael Djurfeldt <address@hidden> writes:
> "Lars J. Aas" <address@hidden> writes:
>
> > With Goops' generic methods, it seems like trailing arguments are
> > ignored when method arbitration is done. Take for instance this
> > example:
> >
> > (define-method (hello arg) (display "1 arg\n"))
> > (define-method (hello arg arg2) (display "2 args\n"))
> >
> > (hello 1)
> > => 1 arg
> > (hello 1 2)
> > => 2 args
> > (hello 1 2 3)
> > => 2 args
> >
> > Is there a way to make the method arbitration more strict? Maybe
> > it's a bug?
>
> It's a bug.
The bug should be fixed now in the CVS version of guile-core.
If/when I make an independent release of GOOPS, the bugfix will be
included there as well.
Thanks,
Mikael