X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=mop.lisp;h=b443aa0930057dfe9c3da7f172ffd6479bb5960b;hb=409c40b1221545d7230f6e812921d441ba2d5f89;hp=2bf6da10792325d41ee9c9084b5548027d1d6c0a;hpb=0de08a4b7bd0ee44f96b1a543de6a86c89e7e6a9;p=hyperobject.git diff --git a/mop.lisp b/mop.lisp index 2bf6da1..b443aa0 100644 --- 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.33 2003/03/29 20:54:56 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 ;;;; @@ -194,7 +194,7 @@ (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) @@ -283,7 +283,6 @@ #+(or sbcl scl cmu) (defun ensure-lazy-reader (class-name slot-name reader &rest reader-keys) - (break) (let ((keys nil) (gf (ensure-generic-function 'slot-unbound))) (dolist (key reader-keys) @@ -300,7 +299,7 @@ (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)