[Issue 3895] New: Appending a double[] to a float[] no longer works.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 8 06:22:07 PST 2010
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 at puremagic.com
ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2010-03-08 06:22:04 PST ---
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: -------
More information about the Digitalmars-d-bugs
mailing list