[Issue 6489] New: Should be able to copy double[] to float[]
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Aug 13 06:41:30 PDT 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6489
           Summary: Should be able to copy double[] to float[]
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-08-13 06:41:27 PDT ---
void main() {
    float[] f;
    double[] d;
    f[] = d[];
}
test9.d(4): Error: cannot implicitly convert expression (d[]) of type double[]
to const(float[])
-- 
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