projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f821026
)
Fix thinko in previous change.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 10 Aug 2019 21:04:08 +0000
(14:04 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 10 Aug 2019 21:04:08 +0000
(14:04 -0700)
src/runtime/printer.scm
patch
|
blob
|
history
diff --git
a/src/runtime/printer.scm
b/src/runtime/printer.scm
index e2df4e8f6e02cf5217768ba1100310c43a010472..454d16a1dcd5b40842f12f1314dda23d85ae1f53 100644
(file)
--- a/
src/runtime/printer.scm
+++ b/
src/runtime/printer.scm
@@
-283,10
+283,11
@@
USA.
(walk (safe-vector-ref object i))
(loop (+ i 1)))))))
(maybe-unmark! object))))
- ((
and (promise? object) (promise-forced? object)
)
+ ((
promise? object
)
(if (mark! object)
(begin
- (walk (promise-value object))
+ (if (promise-forced? object)
+ (walk (promise-value object)))
(maybe-unmark! object))))
((%tagged-object? object)
(if (mark! object)