[Issue 950] New: Missing filename and line number: conflict between implicit length in [...] and explicit length declared in the scope

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 11 18:11:14 PST 2007


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

           Summary: Missing filename and line number: conflict between
                    implicit length in [...] and explicit length declared in
                    the scope
           Product: D
           Version: 1.005
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: smjg at iname.com


----------
void main() {
    int length;
    int[4] data;

    data[length - 1] = 42;
}
----------
Error: array 'length' hides other 'length' name in outer scope
----------


-- 



More information about the Digitalmars-d-bugs mailing list