Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
October 16, 2010 [Issue 5065] New: writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from bearophile_hugs@eml.cc 2010-10-16 16:55:11 PDT --- 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: ------- |
January 09, 2011 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | 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: ------- |
January 19, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | 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 --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-18 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: ------- |
January 19, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5065 --- Comment #2 from bearophile_hugs@eml.cc 2013-01-19 01:00:31 PST --- (In reply to comment #1) > https://github.com/D-Programming-Languahttps://github.com/D-Programming-Language/phobos/pull/1079ge/phobos/pull/1079 The 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: ------- |
January 20, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5065 --- Comment #3 from github-bugzilla@puremagic.com 2013-01-20 04:50:34 PST --- 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 Merge pull request #1079 from AndrejMitrovic/Fix5065 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: ------- |
February 05, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | 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: ------- |
February 11, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5065 --- Comment #4 from github-bugzilla@puremagic.com 2013-02-11 12:20:24 PST --- 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 Merge pull request #1079 from AndrejMitrovic/Fix5065 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 12, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5065 --- Comment #5 from github-bugzilla@puremagic.com 2013-02-11 23:13:23 PST --- 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 Merge pull request #1079 from AndrejMitrovic/Fix5065 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 12, 2013 [Issue 5065] writefln("%f" of a Tuple prints a result | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5065 --- Comment #6 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-12 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: ------- |
Copyright © 1999-2021 by the D Language Foundation