unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* 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

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).