emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#10482: closed (error in output of arrays with rank


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10482: closed (error in output of arrays with rank != 1)
Date: Thu, 12 Jan 2012 14:19:02 +0000

Your message dated Thu, 12 Jan 2012 15:17:35 +0100
with message-id <address@hidden>
and subject line Re: bug#10482: error in output of arrays with rank != 1
has caused the debbugs.gnu.org bug report #10482,
regarding error in output of arrays with rank != 1
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10482: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10482
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: error in output of arrays with rank != 1 Date: Wed, 11 Jan 2012 18:53:06 +0100
I've found an bug in array output. It's peculiar. I haven't tried to debug it 
or bisect it, hopefully it rings a bell somewhere. It only happens when the 
rank of the array is not 1. This was tested in the last stable-2.0 (bbe34).

scheme@(guile-user)> (define c (make-array 0 2 2))
scheme@(guile-user)> c
$1 = #2((0 0) (0 0))
scheme@(guile-user)> c
$2 = #0#

c itself is fine, e.g. (array-dimensions c) gives 2, etc.

Here is a standalone test. 

(let ((c (make-array 0 2 2)))
  (equal?
    c
    (call-with-input-string
      (begin
        (format #f "~a" c) ; works without this
        (format #f "~a" c))
      read)))

Regards,

        Daniel


--- End Message ---
--- Begin Message --- Subject: Re: bug#10482: error in output of arrays with rank != 1 Date: Thu, 12 Jan 2012 15:17:35 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
On Wed 11 Jan 2012 18:53, Daniel Llorens <address@hidden> writes:

> I've found an bug in array output. It's peculiar. I haven't tried to
> debug it or bisect it, hopefully it rings a bell somewhere. It only
> happens when the rank of the array is not 1. This was tested in the
> last stable-2.0 (bbe34).

How embarassing.  It was a new bug, introduced when I attempted to
support printing circular arrays.  Thanks for finding it before the
release!

Thanks,

Andy
-- 
http://wingolog.org/


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]