mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Fix one remaining use of make-record-type with string type name
* test-suite/tests/gc.test ("weak-values versus records"): Fix to pass a symbol.
This commit is contained in:
parent
99a95383cf
commit
04615d3c20
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
;; chance gc will mark something used when it isn't, so we allow x to be a
|
||||
;; record too.
|
||||
(pass-if "weak-values versus records"
|
||||
(let ((rec-type (make-record-type "foo" '()))
|
||||
(let ((rec-type (make-record-type 'foo '()))
|
||||
(h (make-weak-value-hash-table 61)))
|
||||
(hash-set! h "foo" ((record-constructor rec-type)))
|
||||
(gc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue