1.0.40.2: ctor machinery bugfixes
authorChristophe Rhodes <csr21@cantab.net>
Mon, 19 Jul 2010 06:30:07 +0000 (06:30 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Mon, 19 Jul 2010 06:30:07 +0000 (06:30 +0000)
commit57eae6573811f44abe167a9015116d95371543bb
tree130a4ee557ee7b40ef0e440569d4442d12f0050d
parenta7f04616aa9d77ba780a2a6cf6c78b250b1d4a07
1.0.40.2: ctor machinery bugfixes

One bug was a simple harmless thinko, limiting the cache for validity
checking of reinitialize-instance initargs to only one list of keys.

The other is actually a correctness problem: addition or removal of
methods on MAKE-INSTANCE and ALLOCATE-INSTANCE would invalidate the
wrong set of initarg validity caches and reset the wrong ctors.  I
think at the moment this bug is tricky to trigger, because those
methods have no effect on reinitialize-instance initarg checking, and
fallback ctors on non-standard metaclasses are very conservative in
their assumptions.
src/pcl/ctor.lisp
version.lisp-expr