On Sun, Jun 09, 2002 at 10:01:21AM +0400, Alexey Dejneka wrote:
> William Harold Newman <william.newman@...> writes:
> > I don't have McCLIM, and it's not immediately obvious to me how to get
> > the OBSOLETE-INSTANCE-TRAP problem you describe. If you (or anyone
> > else, for that matter) could send in a test case, I'd add it to the
> > bug report.
> Load the attached file. It still fails in 0.7.4.22.
I've tracked down the change that causes this; it was the fix in
sbcl-0.7.4.1 to subtypep of redefined classes (in pcl/braid.lisp;
removal of :invalidate nil).
[ Pierre: if you want to play along at home, this is BUG 176 of sbcl;
the symptom of which seems to be that obsolete-instance-trap now gets
called with things it can't handle ]
Maybe it would be enough to fix WRAPPER-STATE to compute a new wrapper
(as suggested in the comment?) I don't know. If you want a quick fix,
then put :invalidate nil back into the call to REGISTER-LAYOUT.
All ideas welcome.
Jesus College, Cambridge, CB5 8BL +44 1223 510 299
http://www-jcsu.jesus.cam.ac.uk/~csr21/ (defun pling-dollar
(str schar arg) (first (last +))) (make-dispatch-macro-character #\! t)
(set-dispatch-macro-character #\! #\$ #'pling-dollar)