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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 31 06:04:46 PDT 2010


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

           Summary: writefln should allow no arguments (no formating
                    string)
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: baryluk at smp.if.uj.edu.pl


--- Comment #0 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-10-31 06:03:52 PDT ---
In D1 it is allowed to write

  writefln();

In D2 it is no more. This problem exists for more than year now, after writefln
is actually template. Disallowing writefln without parameters (as above) makes
porting D1 software really a pain (one need to change writefln(); to
writeln()), and is inconsistant (propgramer always need to remember which
function to use, and makes edditing annoying).

Thanks.

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