default PRINT-OBJECT method not pretty

Bug #488979 reported by Gábor Melis on 2009-11-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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) on 2009-12-04
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  Edit
Everyone can see this information.

Other bug subscribers