Thread overview |
---|
October 13, 2007 [Issue 1579] New: write/writeln | ||||
---|---|---|---|---|
| ||||
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 -- |
October 13, 2007 [Issue 1579] write/writeln | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1579 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- |
October 13, 2007 [Issue 1579] write/writeln | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
October 17, 2007 [Issue 1579] write/writeln | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1579 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- |
Copyright © 1999-2021 by the D Language Foundation