X-Git-Url: http://git.kpe.io/?p=hyperobject.git;a=blobdiff_plain;f=mop.lisp;h=47a2aaeb3d37a2da6b0a5983383a66bd6cdbfe36;hp=093861f76c609d8cbae6d3060e0e173c63b43b60;hb=a88591e62595d2d25d5e6cfd29064d107c8b6b73;hpb=4a772392fd77659637f19c6d0b69584974a40074 diff --git a/mop.lisp b/mop.lisp index 093861f..47a2aae 100644 --- a/mop.lisp +++ b/mop.lisp @@ -104,7 +104,7 @@ :lookup nil :lookup-keys nil)) -(defmethod print-object ((obj subobject) (s stream)) +(defmethod print-object ((obj subobject) s) (print-unreadable-object (obj s :type t) (format s "~S" (name-slot obj)))) @@ -118,7 +118,7 @@ (link-parameters :type list :initform nil :initarg :link-parameters :reader link-parameters))) -(defmethod print-object ((obj hyperlink) (s stream)) +(defmethod print-object ((obj hyperlink) s) (print-unreadable-object (obj s :type t :identity t) (format s "~S" (name obj)))) @@ -218,7 +218,8 @@ (defmethod finalize-inheritance :after ((cl hyperobject-class)) "Initialize a hyperobject class. Calculates all class slots" (finalize-subobjects cl) - (finalize-compute-cached cl)) + (finalize-compute-cached cl) + (init-hyperobject-class cl)) (eval-when (:compile-toplevel :load-toplevel :execute) (when (>= (length (generic-function-lambda-list