[Issue 4791] Assigning a static array to itself should be allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 3 04:40:05 PDT 2010


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2010-09-03 04:39:48 PDT ---
The only correct syntax to write that code is this, see bug 3971

void main() {
    int[2] foo;
    foo[] = foo[];
}

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