[Cl-perec-devel] [patch] check whether e-s-d type is serializable

Stanislaw Halik sthalik+perec at tehran.lain.pl
Thu Jun 26 23:38:03 UTC 2008


Heya,

After evaluating the following code:

  (defpclass* test-foo ()
    ((slot-1 :type fixnum)))

the image becomes unusable. MAKE-INSTANCE on any class complains about
the type even if the class gets purged through #'(setf find-class).

Made a patch chat checks SLOT-DEFINITION-TYPE for
PERSISTENT-DIRECT-SLOT-DEFINITION by calling UNIT-TYPE-P, thus avoiding
botching the image.

-- 
The great peril of our existence lies in the fact that our diet consists
entirely of souls. -- Inuit saying
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perec-serializable-type-test.diff
Type: text/x-diff
Size: 636 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-perec-devel/attachments/20080627/20ad3f16/attachment.diff>


More information about the cl-perec-devel mailing list