Summary: writeln with empty arrays should write something
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from Peter Alexander <> 2010-10-11 
15:29:18 PDT ---
writeln( [1, 2, 3] ); // prints "[1, 2, 3]"
writeln( [] ); // prints "" (nothing)

Why doesn't writeln( [] ) print "[]"? It seems to me that "[]" would be far
more useful, and it is certainly more consistent with the non-empty array

I know this is a minor thing, but if I'm trying to debug, blank lines aren't
very much use, and actually cause more confusion than enlightenment.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to