[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redefining methods
- To: Gregor.pa@Xerox.COM
- Subject: Re: redefining methods
- From: burdorf@rand-unix.ARPA
- Date: Mon, 19 Sep 88 09:53:33 PDT
- Cc: CommonLoops.pa@Xerox.COM, dave@rand-unix.ARPA, shane@rand-unix.ARPA, steph%ixta@rand-unix.ARPA, burdorf@rand-unix.ARPA
- In-reply-to: Your message of Sun, 18 Sep 88 17:28 PDT. <19880919002813.3.GREGOR@PORTNOY.parc.xerox.com>
- Redistributed: CommonLoops.pa
I double checked and found that I can redefine methods. The problem occurred
when I had traced a method and tried to redefine it. The trace code
redefined the method as an expr and thus PCL wouldn't allow the trace code
to be redefined as a method. At the time I sent the message, I wasn't aware
of this problem.
The way I get around this problem is to
untrace the method, redefine it, and then trace it again. It is a pain, because
I have to remember what's a method and what's a function, but it works.
Chris Burdorf