mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix attempt to get handle of weak table in (oop goops save)
* module/oop/goops/save.scm (readable?): Fix. Thanks to Andrew Gaylard for the report.
This commit is contained in:
parent
a796d0a954
commit
7f420e49e4
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; installed-scm-file
|
||||
|
||||
;;;; Copyright (C) 2000,2001,2002, 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||
;;;; Copyright (C) 2000,2001,2002, 2006, 2009, 2010, 2013 Free Software Foundation, Inc.
|
||||
;;;;
|
||||
;;;; This library is free software; you can redistribute it and/or
|
||||
;;;; modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -122,8 +122,10 @@
|
|||
(define (readable-expression obj)
|
||||
`(readable ,(hashq-ref readables obj)))
|
||||
|
||||
;; FIXME: if obj is nil or false, this can return a false value. OTOH
|
||||
;; usually this is only for non-immediates.
|
||||
(define (readable? obj)
|
||||
(hashq-get-handle readables obj))
|
||||
(hashq-ref readables obj))
|
||||
|
||||
;;;
|
||||
;;; Strings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue