[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

method tracing



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