[Cl-perec-devel] [patch] check whether e-s-d type is serializable
Stanislaw Halik
sthalik+perec at tehran.lain.pl
Fri Jun 27 13:05:55 UTC 2008
On Fri, Jun 27, 2008, Levente Mészáros wrote:
>> 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.
> Thanks for reporting this bug but I'm not sure this is the correct way
> to fix it.
> I pushed a different one which patches unit-type-p and should allow
> using fixnum as a slot type.
With the diff applied, using unsupported types (pathname, random-state
etc) doesn't break the image anymore. Thanks!
--
The great peril of our existence lies in the fact that our diet consists
entirely of souls. -- Inuit saying
More information about the cl-perec-devel
mailing list