+2011-03-30 Kevin Rosenberg <kevin@rosenberg.net>
+ * sql/metaclasses.lisp: Apply one-line patch to fix
+ for newer SBCL (thanks to Nikodemus Siivola)
+
2010-10-24 Kevin Rosenberg <kevin@rosenberg.net>
* Version 5.2.0
* db-odbc/odbc-api.lisp: Change from SBCL-specific
(setf (specified-type esd)
(delistify-dsd (specified-type dsd)))
- ;; The type-check-function is computed at defclass expansion,
- ;; which is too early for the CLSQL type conversion to take
- ;; place. This gets rid of it. It's ugly but it's better
- ;; than nothing -wcp10/4/10.
- #+sbcl (setf (slot-value esd 'sb-pcl::%type-check-function) nil)
+ ;; In older SBCL's the type-check-function is computed at
+ ;; defclass expansion, which is too early for the CLSQL type
+ ;; conversion to take place. This gets rid of it. It's ugly
+ ;; but it's better than nothing -wcp10/4/10.
+ #+(and sbcl #.(cl:if (cl:find-symbol "%TYPE-CHECK-FUNCTION" :sb-pcl) '(and) '(or)))
+ (setf (slot-value esd 'sb-pcl::%type-check-function) nil)
)
;; all other slots