[Issue 3813] New: Bad writeln of string arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 18 09:47:16 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3813
Summary: Bad writeln of string arrays
Product: D
Version: 2.040
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-02-18 09:47:14 PST ---
import std.stdio: writeln;
void main() {
auto a = ["a", "bc"];
writeln(a);
}
This writeln prints an ugly and misleading output:
a bc
instead of something much more realistic and useful as:
["a", "bc"]
(This is my first bug report in this bug tracker. I will probably add here some
more bugs, some of them will probably be duplicates of already present bugs.
Most of them will be bugs, I try to limit the true enhancements requests to
very few and small, because D2 is now feature frozen. All my bug reports will
be relative to D2/Phobos, but many of them can be present in D1 too. If I am
doing something wrong please tell me.)
--
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