[Issue 626] std.format.doFormat accepts non-string arrays with any format specifier

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 13 20:26:41 PDT 2010


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


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-09-13 20:26:11 PDT ---
writefln("%d", [1,2,3]) works as designed - arrays pass down the format spec to
each of their elements. http://www.dsource.org/projects/phobos/changeset/1998
takes care of the rest.

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