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

           Summary: std.string.format does not support positional
                    arguments
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-04-09 
10:36:29 PDT ---
import std.string;
import std.stdio;

void main()
{
    // ok
    writefln("%1$s %2$s", 2, 1);

    // std.format.FormatException@std\format.d(4562): formatArg
    string s = format("%1$s %2$s", 2, 1);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to