[Issue 2931] Initialization struct with array from another struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 5 20:34:56 PDT 2010


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2010-08-05 20:34:54 PDT ---
The problem is that the rest of the array is filled in with the array
initializer, rather than the element initializer. This overflows the array.

http://www.dsource.org/projects/dmd/changeset/602

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