digitalmars.D.bugs - [Issue 3890] New: Bad writeln of a nested struct
- d-bugmail puremagic.com (34/34) Mar 07 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3890
- d-bugmail puremagic.com (6/6) Sep 02 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3890
- d-bugmail puremagic.com (10/10) Oct 21 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3890
http://d.puremagic.com/issues/show_bug.cgi?id=3890 Summary: Bad writeln of a nested struct Product: D Version: 2.040 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc This small D2 program prints just: Pair Instead of something better like: Pair("hello", Int(5)) import std.stdio: writeln; struct Int { int x; const bool opEquals(ref const Int other) { return this.x == other.x; } } struct Pair { string s; Int i; } void main() { writeln(Pair("hello", Int(5))); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 07 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3890 https://github.com/D-Programming-Language/phobos/pull/126 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 02 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3890 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 21 2012