default PRINT-OBJECT method not pretty

Bug #488979 reported by Gábor Melis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

  (defclass a-class-name () ())

  (let ((*print-pretty* t)
        (*print-right-margin* 10))
    (print (make-instance 'a-class-name)))

prints:
#<A-CLASS-NAME {A9D6BC9}>

With this patch:

http://quotenil.com/git/?p=sbcl.git;a=commit;h=05ee3792406a89869e45836142d6cefea0be9db8

it prints:
#<A-CLASS-NAME
  {D49CD81}>

Gábor Melis (melisgl)
Changed in sbcl:
status: New → Fix Committed
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.