digitalmars.D.bugs - [Issue 7620] New: format has different output compared to writef
- d-bugmail puremagic.com (31/31) Mar 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7620
- d-bugmail puremagic.com (10/10) Mar 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7620
- d-bugmail puremagic.com (12/12) Apr 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7620
http://d.puremagic.com/issues/show_bug.cgi?id=7620 Summary: format has different output compared to writef Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-03-01 09:58:29 PST --- import std.string; import std.stdio; enum Foo { foo, bar } void main() { Foo foo; writefln("%s", foo); writeln(format("%s", foo)); } Prints: foo 0 I really think these two should be in sync with each other. It's hard to switch from writef debugging to log-based debugging when writef does one thing and format() does another. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 01 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7620 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc --- Comment #1 from bearophile_hugs eml.cc 2012-03-01 10:09:16 PST --- See also issue 7571 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 01 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7620 Stewart Gordon <smjg iname.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |smjg iname.com Resolution| |DUPLICATE --- Comment #2 from Stewart Gordon <smjg iname.com> 2012-04-01 15:06:00 PDT --- *** This issue has been marked as a duplicate of issue 4532 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 01 2012