[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redefining methods
- To: burdorf@rand-unix.ARPA
- Subject: Re: redefining methods
- From: Gregor.pa@Xerox.COM
- Date: Sun, 18 Sep 88 17:28 PDT
- Cc: CommonLoops.pa@Xerox.COM, dave@rand-unix.ARPA, shane@rand-unix.ARPA, steph%ixta@rand-unix.ARPA
- Fcc: BD:>Gregor>mail>outgoing-mail-4.text.newest
- In-reply-to: <8809122032.AA12980@rand-unix.arpa>
- Line-fold: no
Date: Mon, 12 Sep 88 13:32:04 PDT
When debugging our CLOS-based window system, I redefine methods now an then.
However, if I try to redefine a method that's already loaded, the system
complains saying "Error: HIGHLIGHT-CHOSEN-ITEM already names an ordinary
function or a macro, it can't be converted to a generic function.
Error signalled by LOAD-DEFMETHOD.
I can't reproduce this error here. Certainly people redefine methods
all the time, since that is the basic programming loop.
Could you send a small test case?
Is it possible that between the original time you defined the method and
the time you try to redefine it, you reload PCL? That would certainly
cause this kind of weird error. Once PCL is loaded, you should never
load it again.