[Issue 1097] New: Missing line number: casting array to array of	different element size
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Apr  5 10:45:51 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1097
           Summary: Missing line number: casting array to array of different
                    element size
           Product: D
           Version: 1.009
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com
void main() {
        auto x = cast(int[])"a";
}
Result of compiling above: "Error: cannot cast char[1] to int[] since sizes
don't line up" with no information on which file or line.
Tested in 1.009 and 1.010, same result.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list