Incorrect WRITE circularity on specialized arrays

Bug #1699596 reported by James Kalenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

With :readably t and :circle t, the printer does badly on arrays with the new? specialized array format.

E.g.

(let ((x (make-array 1 :element-type 'base-char :initial-contents "x"))
      (y (make-array 1 :element-type 'base-char :initial-contents "y")))
  (write (list x y) :readably t :circle t))

(#A#1=((1) BASE-CHAR . "x") #A#1#)

Similar with (unsigned-byte 2), but not t, character, or bit, which use usual read syntax.

This is on latest, i.e. 1.3.18.98-a2cc6043f

description: updated
Revision history for this message
Stas Boukarev (stassats) wrote :

In 7001a72fa4718760012b4ecc403b51bcabeb603f.

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.