r4299: Auto commit for Debian build
[hyperobject.git] / mop.lisp
index b18672ca4ef97b38aa27e5fecbd9eb30d131d850..b443aa0930057dfe9c3da7f172ffd6479bb5960b 100644 (file)
--- a/mop.lisp
+++ b/mop.lisp
@@ -11,7 +11,7 @@
 ;;;; in Text, HTML, and XML formats. This includes hyperlinking
 ;;;; capability and sub-objects.
 ;;;;
-;;;; $Id: mop.lisp,v 1.30 2003/03/29 20:31:45 kevin Exp $
+;;;; $Id: mop.lisp,v 1.35 2003/03/31 14:15:07 kevin Exp $
 ;;;;
 ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg
 ;;;;
 (defmethod compute-effective-slot-definition :around ((cl hyperobject-class)
                                                      #+(or allegro lispworks) name
                                                      dsds)
-  #+allergo (declare (ignore name))
+  #+allegro (declare (ignore name))
   (let* ((dsd (car dsds))
         (value-type (canonicalize-value-type (slot-value dsd 'value-type))))
     (multiple-value-bind (sql-type length) (value-type-to-sql-type value-type)
        (add-method gf
                    (apply
                     #'make-instance (generic-function-method-class gf)
-                    ':specializers (list (intern-eql-specializer class-name)
+                    ':specializers (list (class-of (find-class class-name))
                                          (find-class class-name)
                                          (intern-eql-specializer slot-name))
                     ':lambda-list '(the-class the-instance the-slot-name)
-                    ':function method-lambda
+                    ':function (compile nil method-lambda)
                     init-args-values)))))
 
 (defun finalize-subobjects (cl)