[Bug 59] New: implicit conversion from integer to cfloat not caught	by the compiler
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Mar 20 15:56:09 PST 2006
    
    
  
http://d.puremagic.com/bugzilla/show_bug.cgi?id=59
           Summary: implicit conversion from integer to cfloat not caught by
                    the compiler
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn
cfloat c;
c = 0.0; // should fail to compile
test cases:
http://dstress.kuehne.cn/nocompile/c/cfloat_10_A.d
http://dstress.kuehne.cn/nocompile/c/cfloat_10_B.d
http://dstress.kuehne.cn/nocompile/c/cdouble_10_A.d
http://dstress.kuehne.cn/nocompile/c/cdouble_10_B.d
http://dstress.kuehne.cn/nocompile/c/creal_35_A.d
http://dstress.kuehne.cn/nocompile/c/creal_35_B.d
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list