* test for weak + struct bug
@ 2004-08-31 22:11 Han-Wen Nienhuys
2004-09-01 1:41 ` Kevin Ryde
0 siblings, 1 reply; 4+ messages in thread
From: Han-Wen Nienhuys @ 2004-08-31 22:11 UTC (permalink / raw)
here is a shorter test case for Kevin's bug, in case anyone is
interested in adding it to the test suite. The display should be
replaced by a suitable check.
(define rec-type (make-record-type "foo" '()))
(define h (make-weak-value-hash-table 61))
(hash-set! h "foo" ((record-constructor rec-type)))
(gc)
(display (hash-ref h "foo"))
--
Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: test for weak + struct bug
2004-08-31 22:11 test for weak + struct bug Han-Wen Nienhuys
@ 2004-09-01 1:41 ` Kevin Ryde
2004-09-01 6:59 ` Han-Wen Nienhuys
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Ryde @ 2004-09-01 1:41 UTC (permalink / raw)
Cc: guile-devel
Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
>
> here is a shorter test case for Kevin's bug, in case anyone is
> interested in adding it to the test suite. The display should be
> replaced by a suitable check.
Beaut, I added it.
(I don't normally think much of adding a test before a fix, but this
is pretty fundamental.)
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: test for weak + struct bug
2004-09-01 1:41 ` Kevin Ryde
@ 2004-09-01 6:59 ` Han-Wen Nienhuys
2004-09-01 22:04 ` Kevin Ryde
0 siblings, 1 reply; 4+ messages in thread
From: Han-Wen Nienhuys @ 2004-09-01 6:59 UTC (permalink / raw)
Cc: guile-devel
user42@zip.com.au writes:
> Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
> >
> > here is a shorter test case for Kevin's bug, in case anyone is
> > interested in adding it to the test suite. The display should be
> > replaced by a suitable check.
>
> Beaut, I added it.
>
> (I don't normally think much of adding a test before a fix, but this
> is pretty fundamental.)
I already fixed the problem in 1.6 CVS. Can you test 1.7 too?
--
Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: test for weak + struct bug
2004-09-01 6:59 ` Han-Wen Nienhuys
@ 2004-09-01 22:04 ` Kevin Ryde
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Ryde @ 2004-09-01 22:04 UTC (permalink / raw)
Cc: guile-devel
Han-Wen Nienhuys <hanwen@xs4all.nl> writes:
>
> Can you test 1.7 too?
Yes, it was fine already (both that test and my program that tickled
it in 1.6).
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-01 22:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-31 22:11 test for weak + struct bug Han-Wen Nienhuys
2004-09-01 1:41 ` Kevin Ryde
2004-09-01 6:59 ` Han-Wen Nienhuys
2004-09-01 22:04 ` Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).