X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fmetaclasses.lisp;h=f6bbd3f68369ca2e065741e5abbccb92989893c2;hb=008ef476827e2b4ec81829f1e204e9f954017678;hp=530c674c55f6f7da589180bc618d731b0aa283bb;hpb=7b96c12a4e3f3d005d4b01f0a543578333e71ecb;p=clsql.git diff --git a/sql/metaclasses.lisp b/sql/metaclasses.lisp index 530c674..f6bbd3f 100644 --- a/sql/metaclasses.lisp +++ b/sql/metaclasses.lisp @@ -526,6 +526,12 @@ implementations." (setf (specified-type esd) (delistify-dsd (specified-type dsd))) + ;; 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