[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: fritzson@PRC.Unisys.COM
- Subject: pcl
- From: Bill Schelter <wfs@CLI.COM>
- Date: Wed, 20 Apr 88 08:47:40 CDT
- Cc: firstname.lastname@example.org, email@example.com, fritzson@bigburd.PRC.Unisys.COM, CommonLoops.pa@Xerox.COM
- In-reply-to: Richard Fritzson's message of 20 Apr 88 07:33 EDT (Wednesday) <8804201133.AA21988@bigburd.PRC.Unisys.COM>
- Redistributed: CommonLoops.pa
- Reply-to: firstname.lastname@example.org
My question is "Is the code in test.lisp obsolete, or is
my compilation of pcl incorrect?"
Actually I just loaded the test.lisp file, and came to the error.
I did not type it in at top level. So the with-slots was in a defmethod.
The code from test.lisp is:
(do-test "Simple with-slots test -- does not really exercise the walker."
((:functions foo bar))
(defmethod foo1 ((obj test-class-1))
(list x y)))
> PCL>Warning: The with-slots macro is now obsolete. You should convert to
> with-slots* or with-accessors* as soon as possible.
> Error: The class of OBJ was not specified and could not
> be inferred from the lexical context.
> Error signalled by FUNCALL.
From your reply I believe I should replace obj
by (obj :class test-class-1). Is this correct?
- From: Gregor.pa@Xerox.COM
- Re: pcl
- From: fritzson@PRC.Unisys.COM (Richard Fritzson)