[Issue 953] New: Multiple C style declarations of same type cannot be in one statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 12 05:05:57 PST 2007


http://d.puremagic.com/issues/show_bug.cgi?id=953

           Summary: Multiple C style declarations of same type cannot be in
                    one statement
           Product: D
           Version: 1.005
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com


int foo[2], bar[2];

The above fails with the error message "multiple declarations must have the
same type, not int[2] and int[2]" which makes no sense. int[2] is the same type
as int[2].


-- 



More information about the Digitalmars-d-bugs mailing list