digitalmars.D.bugs - [Issue 5065] New: writefln("%f" of a Tuple prints a result
- d-bugmail puremagic.com (28/28) Oct 16 2010 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (10/10) Jan 09 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (13/13) Jan 18 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (8/9) Jan 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (12/12) Jan 20 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (9/9) Feb 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (11/11) Feb 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (11/11) Feb 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
- d-bugmail puremagic.com (6/6) Feb 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=5065
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Summary: writefln("%f" of a Tuple prints a result Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc import std.stdio: writefln; import std.typecons: Tuple; void main() { writefln("%f", (Tuple!(int)).init); } Compiled with DMD 2.049 prints at runtime: Prints: Tuple!(int)(0) But I expect a compile-time error for the mismatch of the format string (and if that's not possible because the D compiler doesn't perform this basic test at compile-time, at run-time). writefln() probably needs more unittests. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 16 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei metalanguage.com AssignedTo|nobody puremagic.com |andrei metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com Platform|x86 |All AssignedTo|andrei erdani.com |andrej.mitrovich gmail.com OS/Version|Windows |All 18:03:24 PST --- https://github.com/D-Programming-Languahttps://github.com/D-Programming-Language/phobos/pull/1079ge/phobos/pull/1079 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 18 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5065https://github.com/D-Programming-Languahttps://github.com/D-Programming-Language/phobos/pull/1079ge/phobos/pull/1079The correct link: https://github.com/D-Programming-Language/phobos/pull/1079 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/d6d12ffdc8044937fb206b9c2b2e8965792e2fef Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier. https://github.com/D-Programming-Language/phobos/commit/e9cb971002888fba4e9ca051f9e8ff999dd6923d Issue 5065 - Format specifier must be '%s' for some types -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 20 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 05 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Commits pushed to staging at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/d6d12ffdc8044937fb206b9c2b2e8965792e2fef Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier. https://github.com/D-Programming-Language/phobos/commit/e9cb971002888fba4e9ca051f9e8ff999dd6923d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5065 Commits pushed to https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/d6d12ffdc8044937fb206b9c2b2e8965792e2fef Fixes Issue 5065 - Format specifier must be %s for types which don't implement toString with a format specifier. https://github.com/D-Programming-Language/phobos/commit/e9cb971002888fba4e9ca051f9e8ff999dd6923d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5065 11:08:52 PST --- How many notifications are we going to receive for every fixed bug? .. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 12 2013