[slime-devel] Re: Slime support for metaclasses
Luke Crook
luke at balooga.com
Tue Jan 31 19:51:26 UTC 2006
Helmut Eller <heller <at> common-lisp.net> writes:
> I committed that change and added the *-using-class functions to
> swank-mop. It seems to work for CMUCL, SBCL, and CLISP. For the
> rest, well, it may just work, or we will receive bug reports, or it
> doesn't matter enough so that nobody sends a bug report.
(defclass test-object ()
((id :accessor id :initform 1 :initarg :id)))
#<STANDARD-CLASS TEST-OBJECT 21E75474>
CL-USER> (make-instance 'test-object)
#<TEST-OBJECT 21EA314C>
Using Slime to Inspect 'test-object' returns...
The slot #<STANDARD-EFFECTIVE-SLOT-DEFINITION ID 22066634> is missing from
#<TEST-OBJECT 220665C4> (of class #<STANDARD-CLASS TEST-OBJECT 22064D04>), when
reading the value.
[Condition of type CONDITIONS::SLOT-MISSING-ERROR]
Restarts:
0: [ABORT-REQUEST] Abort handling SLIME request.
1: [ABORT] Quit process.
Backtrace:
0: CONDITIONS::CONDITIONS-ERROR (:INVISIBLEP T CONDITIONS::SLOT-MISSING-ERROR
(:NAME #<STANDARD-EFFECTIVE-SLOT-DEFINITION ID 22066634> :INSTANCE #<TEST-OBJECT
220665C4> :CLASS #<STANDARD-CLASS TEST-OBJECT 22064D04> :OPERATION SLOT-BOUNDP :
NEW-VALUE NIL))
1: #<function 20728922> NIL
2: CLOS::SLOT-BOUNDP-MISSING (#<record 1309 (ID) NIL #<STANDARD-CLASS TEST-
OBJECT 22064D04>> #<TEST-OBJECT 220665C4> #<STANDARD-EFFECTIVE-SLOT-DEFINITION
ID 22066634>)
3: (METHOD SWANK-BACKEND:INSPECT-FOR-EMACS (STANDARD-OBJECT T)) (#<TEST-OBJECT
220665C4> :DONT-KNOW)
4: SWANK::INSPECT-OBJECT (#<TEST-OBJECT 220665C4> &OPTIONAL #<SWANK-BACKEND::
LISPWORKS-INSPECTOR 206A213C>)
5: SWANK::CALL-WITH-BUFFER-SYNTAX (#<closure (SUBFUNCTION 1 SWANK:INIT-
INSPECTOR) 206A1FA2>)
More information about the slime-devel
mailing list