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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
           Keywords|                            |accepts-invalid, spec




------- Comment #11 from [EMAIL PROTECTED]  2008-11-22 13:34 -------
So the problem is that it _always_ leaves the decision to resize in place or
reallocate to the runtime.  The only way in which this can coexist with the
principle of invariant is that it is illegal to increase the length of a
const/invariant array.  Therefore, going by the current spec, the bug is that
DMD accepts the code.


-- 

Reply via email to