[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redefining methods
- To: Gregor.pa@Xerox.COM, burdorf@rand-unix.ARPA
- Subject: Re: redefining methods
- From: eliot@winnie.Princeton.EDU (eliot handelman)
- Date: Sun, 18 Sep 88 22:37:08 edt
- Cc: CommonLoops.pa@Xerox.COM, dave@rand-unix.ARPA, shane@rand-unix.ARPA, steph%ixta@rand-unix.ARPA
- Redistributed: CommonLoops.pa
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.
I do remember getting the error from a file in which there were no "ordinary
functions," just classes & methods, in which I kept redefining names and
generated some confusion. You can get the error like this:
(defun foo () nil)
(defclass baz () ((s :accessor foo)))