Re: [Sisc-users] Difference between 1.8.8 and 1.9.4 (bug?)
Brought to you by:
mradestock,
scgmille
From: Matthias R. <mat...@so...> - 2004-11-28 08:37:25
|
Alessandro Colomba wrote: > After upgrading from 1.8.8 to 1.9.4 I encountered a problem in my > code that I eventually tracked down to a difference between these two > sisc releases. > > The snipped below produces two #t for 1.8.4 and two #f for 1.9.4. I > believe the behavior in 1.8.4 to be the correct one. > > --8<--8<--8<--8<--8<--8<--8<-- > (import oo) > (import generic-procedures) > > (define-generics :foo :bar) > > (define-class (<foobar>) > (foo (value '()) > (accessor :foo)) > (bar (value '(1)) > (accessor :bar))) > > (define foobar (make <foobar>)) > > (display (null? (:foo foobar))) > (display (equal? '(1) (:bar foobar))) > --8<--8<--8<--8<--8<--8<--8<-- Alessandro, this is definitely a bug. Thanks for reporting it. I have created bug report 1074510 for tracking purposes: https://sourceforge.net/tracker/index.php?func=detail&aid=1074510&group_id=23735&atid=379534 It turns out to be a bug in quasiquote. Expect a fix and new release shortly. Matthias. |