digitalmars.D.bugs - [Issue 3895] New: Appending a double[] to a float[] no longer works.
- d-bugmail puremagic.com (26/26) Mar 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (11/11) Mar 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (14/14) Mar 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (16/16) Feb 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (9/9) Feb 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (9/9) Feb 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (8/8) Apr 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3895
- d-bugmail puremagic.com (10/10) Apr 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3895
http://d.puremagic.com/issues/show_bug.cgi?id=3895 Summary: Appending a double[] to a float[] no longer works. Product: D Version: 2.041 Platform: Other OS/Version: Windows Status: NEW Keywords: wrong-code Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dsimcha yahoo.com import std.stdio; void main() { double[] stuff = [1.,2.,3.,4.,5.]; float[] otherStuff; otherStuff ~= stuff; writeln(otherStuff); } Output: 0 1.875 0 2 0 2.125 0 2.25 0 2.3125 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3895 Steven Schveighoffer <schveiguy yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schveiguy yahoo.com 06:34:29 PST --- When did this work? I tested back to 2.036 and it still results in the same output (was testing in case it was something I did in my append patch). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3895 David Simcha <dsimcha yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|regression |major You're right. What I can't figure out is how code that depended on this working seemed to work until now. It might have something to do with changes to the Appender struct, since the code that I noticed this in actually used an Appender instead of appending using ~=. Changing status from regression to major. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3895 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid CC| |yebblies gmail.com Platform|Other |All Version|2.041 |D2 AssignedTo|nobody puremagic.com |yebblies gmail.com OS/Version|Windows |All Severity|major |critical Wow this is awful. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3895 Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5aa1b47aedf85f9e67132e5fc7a1586d5f1b293a This only works because of a bug in dmd, and it was probably supposed to... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3895 Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/4610715c33531a9d11613ab78eec6af70f0f4851 This only works because of a bug in dmd, and it was probably supposed to... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3895 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f20d0845f24361463acab77d314170b25b2825c4 fix Issue 3895 - Appending a double[] to a float[] generates wrong code -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 26 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3895 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 26 2012