digitalmars.D.bugs - [Issue 1579] New: write/writeln
- d-bugmail puremagic.com (38/38) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1579
- d-bugmail puremagic.com (6/6) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1579
- d-bugmail puremagic.com (7/7) Oct 13 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1579
- d-bugmail puremagic.com (7/7) Oct 16 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1579
http://d.puremagic.com/issues/show_bug.cgi?id=1579 Summary: write/writeln Product: D Version: 2.005 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: PetSerAl gmail.com "write" and "writeln" functions from std.stdio do not write class variable like "writef" and "writefln". import std.stdio; void main() { a v=null; writeln(v); } class a { override string toString() { return "class a"; } } \dmd\bin\..\src\phobos\std\conv.d(247): function std.string.toString (bool) does not match parameter types (a) \dmd\bin\..\src\phobos\std\conv.d(247): Error: cannot implicitly convert expression (s) of type main.a to const char* \dmd\bin\..\src\phobos\std\conv.d(260): template instance std.conv.toSomeString!(a,const(char)[]) error instantiating \dmd\bin\..\src\phobos\std\conv.d(192): template instance std.conv.toImpl!(a,const(char)[]) error instantiating \dmd\bin\..\src\phobos\std\conv.d(587): template instance std.conv.to!(const(char)[]).to!(a) error instantiating --
Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1579 andrei metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --
Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1579 andrei metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bugzilla digitalmars.com |andrei metalanguage.com Status|ASSIGNED |NEW --
Oct 13 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1579 andrei metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --
Oct 16 2007