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

           Summary: std.string.format: arguments without format specifier
                    appended to result
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: tomeks...@gmail.com


--- Comment #0 from Tomasz SowiƄski <tomeks...@gmail.com> 2011-01-10 15:11:21 
PST ---
assert(format("aaa", 1) == "aaa");  // fails, produces "aaa1"
assert(format("1%s3", 2, "4", '5') == "123");  // fails, produces "12345"

Interestingly, writefln behaves correctly.

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

Reply via email to