[Issue 6681] struct constructor call is converted to struct literal that breaks union initialization

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 3 21:30:56 PST 2012


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



--- Comment #10 from Walter Bright <bugzilla at digitalmars.com> 2012-03-03 21:30:50 PST ---
>It's a compiler structural problem: there's no way to specify a
struct literal with missing fields.

I don't know about in CTFE, but in the rest of the compiler the code is in
place to just have elements[i] be NULL for missing fields.

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