[Issue 5142] writefln should allow no arguments (no formating string)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 2 10:34:18 PDT 2010


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



--- Comment #2 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-11-02 10:33:21 PDT ---
> This was a deliberate change.
> 
> The benefit of writeln is that you can put formatting characters in strings
> without having them interpreted as formatting sequences.

And how this resolves my problem? I was talking about writefln behaviour, not
writeln!

> I don't think it's that big of a pain -- the compiler should tell you all the
> places where you have messed up.
Yes, it is. Much simpler is just to add empty template writefln() specizliation
which will just call writeln();, for the sake of consistency, and compatibility
with old code.

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