[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
method tracing
- To: info-mcl@cambridge.apple.com
- Subject: method tracing
- From: Ralf Moeller <rm@ki2.informatik.uni-hamburg.de>
- Date: Mon, 1 Jun 1992 14:27+0200
- Reply-to: moeller@informatik.uni-hamburg.de
Bug in untracing methods?
Welcome to Macintosh Common Lisp Version 2.0f2!
? (defmethod test ((test null)) nil)
#<STANDARD-METHOD TEST (NULL)>
? (trace ((:method test (null)))) ; fine
NIL
? (test nil) ; fine
Calling ((:METHOD TEST (NULL)) NIL)
(:METHOD TEST (NULL)) returned NIL
NIL
? (untrace ((:method test (null)))) ; is the syntax ok?
NIL ; nil?
? (test nil) ; oops?
Calling ((:METHOD TEST (NULL)) NIL)
(:METHOD TEST (NULL)) returned NIL
NIL
? (untrace)
((:METHOD TEST (NULL)))
? (test nil)
NIL
?
-Ralf