digitalmars.D.bugs - [Issue 7230] New: Crash during printing anonymous union with writeln family functions.
- d-bugmail puremagic.com (20/20) Jan 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
- d-bugmail puremagic.com (7/7) Jan 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
- d-bugmail puremagic.com (22/22) Jan 05 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
- d-bugmail puremagic.com (12/12) Jan 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
- d-bugmail puremagic.com (9/13) Jan 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
- d-bugmail puremagic.com (11/11) Feb 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
- d-bugmail puremagic.com (10/10) Mar 25 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7230
http://d.puremagic.com/issues/show_bug.cgi?id=7230 Summary: Crash during printing anonymous union with writeln family functions. Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: luk.wrzosek gmail.com PST --- writeln is not aware of anonymous unions inside of structs (probably classes too). The attached file crashes when run. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 05 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7230 PST --- Created an attachment (id=1068) bug test case -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 05 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7230 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc Code copied here to increase its visibility: import std.stdio; struct Bug7230 { union { string a; int b; } } void main() { Bug7230 bug; bug.b = 123; writeln(bug); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 05 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7230 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch https://github.com/D-Programming-Language/phobos/pull/383 The format implemented the patch is not yet determined. Please comment your opinion. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 06 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7230https://github.com/D-Programming-Language/phobos/pull/383 The format implemented the patch is not yet determined. Please comment your opinion.Thank you for improving writeln. Maybe the string tag "union" is better than "overlap": -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 06 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7230 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED https://github.com/D-Programming-Language/phobos/commit/1d2962b4a19dbd40ab6269539bb3382ed0b9f6c5 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7230 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com *** Issue 7324 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 25 2012