Patches from Walter C. Pelissero on clsql mail list
[clsql.git] / sql / metaclasses.lisp
index 530c674c55f6f7da589180bc618d731b0aa283bb..331e35a01966221026571780190544bc492431db 100644 (file)
@@ -526,6 +526,11 @@ implementations."
 
          (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)
 
          )
         ;; all other slots