http://d.puremagic.com/issues/show_bug.cgi?id=7142
Summary: Wrong formatted write of boolean values
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2011-12-20 04:34:44 PST ---
import std.stdio, std.conv;
void main() {
writefln("%s %s", true, false);
writefln("%6s %6s", true, false);
writefln("%6s %6s", text(true), text(false));
}
Expected output:
true false
true false
true false
But DMD 2.057 outputs:
true false
true false
true false
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------