[Openmcl-devel] Any plan to support virtual slots?
cph at chi-square-works.com
Tue Mar 10 14:46:45 EDT 2009
CCL only allows :INSTANCE and :CLASS as valid allocation types for a
slot in DEFCLASS. I know this is what CLHS specifies but I wonder if
there is any plan for CCL to remove this restriction in the future?
(defclass alien-metaclass (standard-class)
(defmethod validate-superclass ((class alien-metaclass) (super standard-class))
(defclass alien-class ()
((alien-slot :accessor alien-slot
> Error: value :ALIEN is not of the expected type (MEMBER (:INSTANCE :CLASS)).
> While executing: #<CCL::STANDARD-KERNEL-METHOD DIRECT-SLOT-DEFINITION-CLASS (CCL::STD-CLASS)>, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
More information about the Openmcl-devel