[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
metaclass compatibility
- To: commonloops.pa@Xerox.COM
- Subject: metaclass compatibility
- From: ricks%shambhala.Berkeley.EDU@BERKELEY.EDU (Rick L Spickelmier)
- Date: 5 Jan 87 15:26 PST (Monday)
The following gives me an incompatible metaclass error.
Have I done something wrong... (or maybe my VAXLISP PCL is warped...)
(use-package 'pcl)
(defclass class-of-one (class) ())
(defmethod check-super-metaclass-compatibility ((class class)
(super class-of-one))
(declare (ignore class super))
t)
(defmethod check-super-metaclass-compatibility ((super class-of-one)
(class class))
(declare (ignore super class))
t)
(defclass status ()
((errors 0))
(:metaclass class-of-one)
(:accessor-prefix))