[Issue 8201] Conversion from dynamic array to static array fails when static array is immutable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 9 05:05:01 PDT 2012


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
            Version|unspecified                 |D2


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2012-09-09 05:05:38 PDT ---
Reduced test case:

void main()
{
    uint[2] msa;
    immutable uint[2] isa = msa;
}

This is a problem only in variable initializing.

-- 
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