zo-marshal: add missing protect-quote

The `protect-quote` call is needed when the right-hand side of a
`set!` is a literal hash table, for example.
This commit is contained in:
Matthew Flatt 2015-09-06 16:07:35 -06:00
parent 6632070f75
commit 9571b33f40

View File

@ -728,7 +728,7 @@
(out-number id out)]
[(struct assign (id rhs undef-ok?))
(out-marshaled set-bang-type-num
(cons undef-ok? (cons id rhs))
(cons undef-ok? (cons id (protect-quote rhs)))
out)]
[(struct localref (unbox? offset clear? other-clears? type))
(if (and (not clear?) (not other-clears?) (not flonum?)