[Issue 4927] writefln silently ignores arguments not present in the format string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 10 08:35:38 PDT 2011


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



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-09-10 08:35:19 PDT ---
That is a design of formattedWrite. Andrei talked:

https://github.com/D-Programming-Language/phobos/pull/231#issuecomment-1995490

> Phobos used to make a fuss about ignored arguments, but I changed that. This is
> because it's often good to present several arguments and let the user choose the
> formatting string (which may ignore some argument). This is most obvious with
> positional parameters. The std.log implementation needs something like that.

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