diff --git a/src/print.lisp b/src/print.lisp index a9535262..ed88243e 100644 --- a/src/print.lisp +++ b/src/print.lisp @@ -313,7 +313,7 @@ Always includes package prefix regardless of *package*." (cond ((and id (> id 0)) (simple-format stream "#~d=" id) - (setf (aref object-ids id) (- id))) + (setf (aref object-ids ix) (- id))) ((and id (< id 0)) (simple-format stream "#~d#" (- id)) (return-from write-aux)))))