[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:45:03 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6681
--- Comment #11 from yebblies <yebblies at gmail.com> 2012-03-04 16:45:03 EST ---
(In reply to comment #10)
> >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.
I have branch for this that mostly works, but no time to work on it at the
moment.
https://github.com/yebblies/dmd/tree/ctfeunion
-- 
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