* bug#10482: error in output of arrays with rank != 1
@ 2012-01-11 17:53 Daniel Llorens
2012-01-12 14:17 ` Andy Wingo
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Llorens @ 2012-01-11 17:53 UTC (permalink / raw)
To: 10482
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#10482: error in output of arrays with rank != 1
2012-01-11 17:53 bug#10482: error in output of arrays with rank != 1 Daniel Llorens
@ 2012-01-12 14:17 ` Andy Wingo
0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2012-01-12 14:17 UTC (permalink / raw)
To: Daniel Llorens; +Cc: 10482-done
On Wed 11 Jan 2012 18:53, Daniel Llorens <dll@jast.ch> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-12 14:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 17:53 bug#10482: error in output of arrays with rank != 1 Daniel Llorens
2012-01-12 14:17 ` Andy Wingo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).