home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!cornell@freya.cs.umass.edu
- From: cornell@freya.cs.umass.edu
- Newsgroups: comp.lang.lisp.mcl
- Subject: Bug re-compiling traced methods with keywords
- Message-ID: <9208212001.AA26740@giane.cs.umass.edu>
- Date: 21 Aug 92 20:01:25 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 51
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
- Original-To: bug-mcl@cambridge.apple.com
- Original-Cc: info-mcl@cambridge.apple.com
-
- Enclosed is two files, bug-trace.text (a Listener trace) and bug.lisp.
- The compiler warnings are not relevant to this bug. I hope I'm not
- missing something (e.g. following behavior is OK).
-
- matt
-
-
- ==== Start bug-trace.text ====
- Welcome to Macintosh Common Lisp Version 2.0p1!
- ? ;; Eval buffer bug.lisp
- #<STANDARD-CLASS OBJECT2>
- #<STANDARD-CLASS CHANGE2>
- ;Compiler warnings :
- ; Unused lexical variable F-INITIAL-CHANGE2, in NOTE-CHANGE2.
- #<STANDARD-METHOD NOTE-CHANGE2 :AROUND (OBJECT2 CHANGE2)>
- ;Compiler warnings :
- ; Unused lexical variable F-INITIAL-CHANGE2, in NOTE-CHANGE2.
- #<STANDARD-METHOD NOTE-CHANGE2 (OBJECT2 CHANGE2)>
- ;Compiler warnings :
- ; Undeclared free variable INDEXED-INSTANCE-LINKED-IN, in PROPAGATE-CHANGE2.
- #<STANDARD-METHOD PROPAGATE-CHANGE2 (OBJECT2 CHANGE2)>
- NIL
- ? ;; Re-eval def of propagate-change2
- > Error: Can't take CAR of #<Compiled-function CCL::%%NTH-ARG-DCODE #x39274E>.
- > While executing: CCL::LIST-POSITION/FIND-SIMPLE
- > Type Command-. to abort.
- See the RestartsI menu item for further choices.
- 1 >
- ==== End bug-trace.text ====
-
- ==== Start bug.lisp ====
- (defclass object2 ()())
- (defclass change2 ()())
-
-
- (defmethod note-change2 :around ((object2-notified object2) (change2 change2)
- &key (f-initial-change2 t))
- )
-
-
- (defmethod note-change2 ((object2-notified object2) (change2 change2)
- &key (f-initial-change2 t))
- )
-
-
- (defmethod propagate-change2 ((object2-notified object2) (change2 change2))
- (note-change2 indexed-instance-linked-in change2 :f-initial-change2 nil))
-
-
- (trace note-change2)
- ==== End bug.lisp ====
-