April 02, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4045

           Summary: [CTFE] increasing array length
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bearophile_hugs@eml.cc


--- Comment #0 from bearophile_hugs@eml.cc 2010-04-02 14:21:48 PDT ---
(Not tested with the latest bug fixes, so this can be already fixed)


int foo() {
    int[] a;
    a.length = 1;
    return 0;
}
enum int _ = foo();
void main() {}


dmd 2.042 gives:

test.d(3): Error: (a.length) = 1u cannot be evaluated at compile time

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 31, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4045


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |FIXED


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-05-31 00:36:21 PDT ---
http://www.dsource.org/projects/dmd/changeset/507

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