Thread overview
[Issue 950] New: Missing filename and line number: conflict between implicit length in [...] and explicit length declared in the scope
Feb 12, 2007
d-bugmail
Mar 04, 2007
d-bugmail
Mar 30, 2007
d-bugmail
February 12, 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@digitalmars.com
        ReportedBy: smjg@iname.com


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

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


-- 

March 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=950





------- Comment #1 from thomas-dloop@kuehne.cn  2007-03-04 05:02 -------
test case:
http://dstress.kuehne.cn/nocompile/l/length_01.d


-- 

March 30, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=950


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla@digitalmars.com  2007-03-29 19:05 -------
Fixed DMD 1.010


--