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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au


--- Comment #4 from Don <clugd...@yahoo.com.au> 2012-02-01 04:18:34 PST ---
(In reply to comment #3)
>
> As you can see, it make a struct literal with every field accounted for.
> 
> So this is a bug in the constfolding/ctfe code.

Not exactly. It's a compiler structural problem: there's no way to specify a
struct literal with missing fields. Struct static initializers can do it, but
struct literals cannot.

I think the solution is to merge struct literals with struct static
initializers, as it says in a TODO in the code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to