digitalmars.D.bugs - [Issue 950] New: Missing filename and line number: conflict between implicit length in [...] and explicit length declared in the scope
- d-bugmail puremagic.com (25/25) Feb 11 2007 http://d.puremagic.com/issues/show_bug.cgi?id=950
- d-bugmail puremagic.com (5/5) Mar 04 2007 http://d.puremagic.com/issues/show_bug.cgi?id=950
- d-bugmail puremagic.com (9/9) Mar 29 2007 http://d.puremagic.com/issues/show_bug.cgi?id=950
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
----------
--
Feb 11 2007
http://d.puremagic.com/issues/show_bug.cgi?id=950 test case: http://dstress.kuehne.cn/nocompile/l/length_01.d --
Mar 04 2007
http://d.puremagic.com/issues/show_bug.cgi?id=950
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed DMD 1.010
--
Mar 29 2007









d-bugmail puremagic.com 