[Issue 3813] Bad writeln of arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 2 16:38:28 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3813



--- Comment #15 from bearophile_hugs at eml.cc 2011-09-02 16:38:20 PDT ---
(In reply to comment #14)

> (2) I think that the output like "[e0, e1, ..., eN]" is *range formatting*, not
> array formatting, even if it looks like array. And an array is a kind of
> ranges, so we should format them with *one* formatting.

Then an alternative idea is to use [,,,,] for all ranges that support random
access (std.range.isRandomAccessRange), and [;;;;] for the all the other kinds
of ranges.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list