[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What is wrong with this method?
- To: info-mcl
- Subject: What is wrong with this method?
- From: email@example.com (Todd R Johnson)
- Date: 12 Mar 92 22:44:44 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: The Ohio State University
- Sender: firstname.lastname@example.org
What is wrong with this method and what does this error mean? I've
read about the error message, but the error still doesn't tell me what
(defclass score (ApplicationEdit) ())
; Initialize the application
; Compute and print the game number, current round score and total
(defmethod initialize ((score Score) blackbox &aux foo)
(set-namedobject score :gamenum (gamenum blackbox))
(set-namedobject score :score (score blackbox))
(set-namedobject score :total (total blackbox)))
> Error: Incompatible lambda list in #<STANDARD-METHOD INITIALIZE
(SCORE T)> for #<Compiled Generic-function INITIALIZE #xA3A00E>
> While executing: CCL::CHECK-DEFMETHOD-CONGRUENCY
> Type Command-/ to continue, Command-. to abort.
> If continued: Remove 32 methods from the generic-function and fix
its lambda list.
See the RestartsI menu item for further choices.
I'm using Action with MCL and I am supposed to be able to include
additional arguments in the initialize method. I had this problem once
before with a method, but after quiting MCL and reloading, the error
I can get rid of the error by removing the "blackbox" parameter, but I
really need that parameter.