[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 01:55:00 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
"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.