From: Stelian I. <sio...@co...> - 2008-10-06 11:15:12
|
On Fri, 2008-08-01 at 00:04 +0200, Stelian Ionescu wrote: > Test case: > > (define-condition foo () ()) > > (defmethod print-object ((o foo) stream) > (format stream "A FOO !")) > > (define-condition bar (foo) () > (:report "A BAR !")) > > Signaling 'BAR prints "A FOO !" in the debugger, instead of "A BAR !" as > expected because the PRINT-OBJECT method defined on FOO is more specific > than the one on CONDITION which prints REPORTs. > The attached patch should provide a fix for this. With it, SBCL builds > correctly on Linux/x86 and passes all tests. any thoughts on this patch ? -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur. |