[Issue 1171] Cannot create a static array with the length of a const static array in function scope, D1 only

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 1 00:01:55 PST 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |
                 CC|                            |clugdbug at yahoo.com.au
            Summary|Cannot create a static      |Cannot create a static
                   |array with the length of a  |array with the length of a
                   |const static array in       |const static array in
                   |function scope              |function scope, D1 only


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2010-02-01 00:01:54 PST ---
The line number bug was fixed between 1.030 and 1.036.
Removing 'diagnostic' from the warning. Works on D2.
(Actually, I think the bug is that D1 allows you create a const array with no
initializer).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list