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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 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: -------