http://d.puremagic.com/issues/show_bug.cgi?id=6681
--- Comment #5 from yebblies <[email protected]> 2012-02-02 00:02:06 EST --- (In reply to comment #4) > 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. One of the D1 cases seems to have the same problem with struct static initializers. Can't this be done by just nulling out the untouched fields in the Expressions array and ensuring at least one field gets initialized? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
