[Issue 5043] writeln with empty arrays should write something useful

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 11 16:20:05 PDT 2010


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2010-10-11 16:19:36 PDT ---
The same bug is present with associative arrays:


import std.stdio: writeln;
void main() {
    int[int] aa;
    writeln(aa);
}


In this case I expect an output like:
[]
or even:
[:]


See also bug 3813

-- 
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