https://issues.dlang.org/show_bug.cgi?id=14682
--- Comment #10 from Vladimir Panteleev <[email protected]> --- (In reply to Steven Schveighoffer from comment #9) > (In reply to Vladimir Panteleev from comment #8) > > (In reply to Steven Schveighoffer from comment #6) > > > Could you do: > > > > > > (config.noDateTime ? ["NODATETIME=nodatetime.ddoc"] : string[].init) > > > > That's not where the problem lies - this was just an example. > > I was responding to this: Yes. This is not where the problem lies. The problem is not with the ternary statement, but with the ~[] after it. And yes, this is one possible but inconvenient syntax to replace []. --
